-
-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't upload some files - Server returned an unknown response. #1299
Comments
Realistically, you will need to reproduce this problem on the latest release (which is 4.4.0), or, even better, on the current git master, for the development team to pay attention. It's simply that the Lychee code base has gone through a large refactoring since 4.3.0, so error reports against such old versions aren't considered very relevant anymore. BTW, your pastebin link doesn't work. Since, as you say, this only happens with some particular input files, it would help tremendously if you could at least make one of these files available for us to download so that we can try it against the current development version. Sorry if this is not the sort of answer you were hoping for... |
I am having the exact same issue on 4.4.0...
Stock installation. I am using cloudflare, but I have already tried turning the proxy off. Filesize does not appear to be a factor, and any uploads are failing, but I am seeing that the picture files themselves are being placed in their respective folders, and the application is able to access/change the MySQL database. In the logs area, I get:
|
Are these the only messages? They originate from a migration, but are only notices. Aren't there any real errors on the log? |
If you can please update to the head of the master branch. This probably won't solve the actual problem, but provide you and us with a much better error message. |
I tried to email reply to this last week.. Sorry.. This is a fresh install. Where else should I look for errors? |
A fresh installation of which version exactly? If you have installed version 4.4 again, it neither will help you nor us to find the issue even if it is fresh install. Please ensure that you have installed version 4.5 or preferably the head of master. |
Sorry, I must be missing something. The releases page shows 4.4.0 as the latest version. I installed this, went through setup, and the errors above were as far as I got. |
Version 4.4.0 is the latest, officially released version on Dec 3rd 2021. But the head of master has received 48 new commits since then. That is what @kamil4 wanted to tell you #1299 (comment). Can you install the current master? Here is the documentation: https://lycheeorg.github.io/docs/#from-the-master-branch As you have encoutnered the same error on two older versions of Lychee, the chances are high that it is not an undiscovered bug in Lychee itself but a configuration error of your server. I don't expect that the error will be gone with the newest version, but the newest version has significantly improved on the error reporting capabilities. So I hope that we will see a more specific error than "unknown response" which may tell us what is wrong. |
I do not have the ability to use a command line on my hosted server. I had uploaded the files via FTP. I tried installing via composer, but your scripts are written in bash. Thanks for the help so far, I guess I cannot use this software if I cannot get composer running on my server. |
I assume we will release a new version soon. The big re-factoring was finished a week ago and we are currently only observing whether we see any bug reports from our users who are tracking the master branch closely. If the frequency of new bug reports is not significantly higher than usual, we will issue a new release soon. I would be happy to have you as a user on board and hope that this little inconvenience won't push you away. If you can wait for two or three weeks that would be great. |
I figured out how to install from master. Please see below!
We've definitely got some errors now. |
So did you create a Regarding messages from 15:06:30, please set the config variable |
I did - those earlier messages look like what I was experiencing before coping and doing the .env, I dont remember having to do this the first install. Must have something to do with the release I used.
|
I assume the issue can be closed? |
Dunno-I was just piggybacking OP. Thanks again. |
If you are planing a new release, I will test it again on the new release. I hope that you guys will prepare docker image for that. You can close that ticket for now, thanks. |
The same fix may work for you. The Docker image for 4.4.0 has been available since January, or the That said, a new release will probably be coming soon. |
Unfortunatelly, changing use_32bit_ids to 1 didn't work in my case. |
@s-kaczmarek Please open a new issue. If i understand you correctly, you are now using a different version than the one which the initial post of this thread is about. However, the detailed diagnostic and log output are required to properly investigate the problem. Hence, it leads to nowhere if you "re-use" old issues. Moreover, closed issued won't get much attention. |
@megvadulthangya You replied to a 2 year old issue, the last post of which was "please don't just post on an old, closed issue". I'm replying because just deleting your post will not tell you anything, but I will also be locking this issue. |
Detailed description of the problem [REQUIRED]
While uplading, for random files lychee returns error saying:
filename failed
Server returned an unknown response. Please take a look at the console of your browser for further details.
Looking at the browser console, error looks like this - link
Steps to reproduce the issue
Steps to reproduce the behavior:
Screenshots
screenshot
Output of the diagnostics [REQUIRED]
Browser and system
Lychee is hosted on docker container. Client is Firefox on Manjaro 21.2.3
The text was updated successfully, but these errors were encountered: