-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Can not use update functionality in docker container. #484
Comments
For me it is working fine but i am using a QNAP NAS, check the logs if there is any error when pressing the update button. |
For me its working on the Synology NAS, press the update button once for checking for updates and the second time for updating. |
For me its working on the Synology NAS too (DS415+). I've pressed the button to search for an update and one was found. @abubaman please check your logs and post the output here, otherwise it's not possible to detect why it's not working in your docker container. |
could you let me know the location of log file? and in my case, when I click once update button, it finds new version. and I click once again, it seems perform update(it showed downloading, replacing the files). but when I reload that page, it showed me old version again. and if I try to update again, it perform same procedure again and again and again. |
I have the same issue on a Synology NAS as abubaman. Says it updates but a page refresh just shows the old commit date and then restarting the docker causes a 502 bad gateway error. |
This 502 bad gateway error appears only while the docker container restarts, so please be patient and wait a little bit - afterwards when it is up & running again and you refresh the site again you'll see that the commit date is the actual one :) |
Is there an upper bound on this? It's been up 21 minutes since restart and still nothing but 502. |
21 minutes is of course too long ... it takes here less than a minute ... for me it's sounds that your container wasn't started/created with the option --restart=always |
I thought restart=always was a setting external to the container and just meant if the whole thing got shut down, it started it up again, not related to an internal process not starting? I see another issue detailed in here that relates to the update files not being writable by the update process. As the docker is delivered as an older version, could that issue still be present, and the web server doesn't have access to the site files? It's issue #488 |
correct, when the container stops than the docker daemon starts the related container again
the internal process gets stopped through the update and therefore the container stops too
okay I've never used the Synology Docker GUI to create a new container, I've done this always over SSH at the terminal - I'll do some tests with the GUI too
The container downloads via git the latest version of Calibre-Web while startup of the container, also stopping and starting the container will update inside the Calibre-Web version (but not the Docker Image itself) , but maybe your Docker Image is not the latest and you've to upgrade to the latest version (actual version is 2018-04-14 - v1.1.11). At the logs of the container you get detailed information which version you've in use at the moment. The best in such a case would be always that a related log output whould be provided. At terminal via |
I feel we are discussing different things. Here are the only logs I can get for the upgrade itself when setting the calibre-web logs to DEBUG in the web interface: useless logs |
From the readme of the docker you are using:
|
Damn. Right at the top and everything. I completely missed it. The multiple workarounds needed to run the others and the lack of HTTPS support do make it painful to move to the others, but I guess I don't have a choice. |
Ok, I take it back. Everything worked in the Technosoft2000/calibre-web docker this time but obviously with no HTTPS. |
Ok I'll check what is needed to directly support HTTPS at the container and will enhance it if possible. For info only: |
Well I am just getting called out on the gaps in my knowledge. Being able to use a legitimate certificate this easily means I would rather this set up than the calibre-web server using a self signed one, or needing to maintain a certificate separately. |
Is the problem now solved? |
All of my issues are now fully resolved. |
No feedback for long time |
I use Docker in Synology NAS. and it works well.
But when I try to update in administrator page, I didn't work.
is there any problem of update functionality in docker edition?
The text was updated successfully, but these errors were encountered: