BigC55 Posted July 21, 2023 Share Posted July 21, 2023 Good morning. I had to reinstall Nextcloud. I'm trying to access via the local web interface. I've changed the port to 444. When I try to go that the WebUI from within docker it has my server ip followed by 444 (xxx.xxx.x.xx:444). But I then get a message that the site can't be reached and ERR_CONNECTION_REFUSED. Any thought or suggestions on how to get around this or what's causing the issue? Thank you. Quote Link to comment
Jaycedk Posted July 21, 2023 Share Posted July 21, 2023 (edited) Did you edit you config.php to match you new docker. It can be many things. You need to be more specific. Maybe add docker logs ? Edited July 21, 2023 by Jaycedk Quote Link to comment
BigC55 Posted July 22, 2023 Author Share Posted July 22, 2023 Here's what's in the log: Can't start Nextcloud because the version of the data (24.0.12.1) is more than one major version behind the docker image version (27.0.1.2) and upgrading more than one major version is not supported. Please run an image tagged for the major version 25 first. I'm pretty new to all this so any guidance would be appreciated. Thanks Quote Link to comment
Jaycedk Posted July 23, 2023 Share Posted July 23, 2023 Have a look at this. It look like you need first install 25 then 26 then 27. https://www.reddit.com/r/NextCloud/comments/156jmoh/updating_with_docker_stacks_25011_to_current/ Quote Link to comment
BigC55 Posted July 23, 2023 Author Share Posted July 23, 2023 The link just brings me back to this page Quote Link to comment
LeoRX Posted July 24, 2023 Share Posted July 24, 2023 Manually specify the nextcloud version by docker tags. upgrade it to 25, then 26 then 27. which nextcloud image are you using? Quote Link to comment
Jaycedk Posted July 24, 2023 Share Posted July 24, 2023 (edited) Im using the official image. But I do keep my image up to date. So tbh never had the issue. Sorry about the link https://www.reddit.com/r/NextCloud/comments/156jmoh/updating_with_docker_stacks_25011_to_current/ Edited July 24, 2023 by Jaycedk Quote Link to comment
dswede43 Posted August 10, 2023 Share Posted August 10, 2023 (edited) Hello, I'm having the same issue. I just installed the nextcloud image with the image tag ":25.0.0". But now I can't access my nextcloud GUI because of a "404 not found nginx" error. Here are my docker container logs. using keys found in /config/keys **** The following active confs have different version dates than the samples that are shipped. **** **** This may be due to user customization or an update to the samples. **** **** You should compare the following files to the samples in the same folder and update them. **** **** Use the link at the top of the file to view the changelog. **** /config/nginx/nginx.conf /config/nginx/site-confs/default.conf **** The following site-confs have extensions other than .conf **** **** This may be due to user customization. **** **** You should review the files and rename them to use the .conf extension or remove them. **** **** nginx.conf will only include site-confs with the .conf extension. **** /config/nginx/site-confs/default [custom-init] No custom files found, skipping... [ls.io-init] done. Could not open input file: /app/www/public/cron.php Could not open input file: /app/www/public/cron.php I don't really understand what my logs mean? Could someone please provide me some guidance. Thanks Edited August 10, 2023 by dswede43 Found solution Quote Link to comment
dswede43 Posted August 10, 2023 Share Posted August 10, 2023 Nevermind I fixed the issue. I updated by nextcloud instance from version 24 to 27 by following these steps: 1. In Unraid Docker, click the nextcloud icon -> click edit -> update the nextcloud docker image tag to version 25 (nextcloud:25.0.0) -> click apply 2. In Unraid Docker, click the nextcloud icon then Console (this opens a terminal window within the Docker nextcloud instance) 3. Run the command "sudo -u abc php /config/www/nextcloud/updater/updater.phar" (this starts the nextcloud update to version 25) 4. Wait for the update to complete 5. Type "Y" for the "occ upgrade" command 6. Type "N" for maintenance mode -> then its done 7. Repeat steps 1-6 to update nextcloud from version 25 to 26 -> and again for version 26 to 27 (use "nextcloud:latest" for docker image tag here) This fixed my issue. My nextcloud instance runs fine now and is up to date Quote Link to comment
Civic1201 Posted August 10, 2023 Share Posted August 10, 2023 I am running the linuxserver.io image and can proceed at: 3. Run the command "sudo -u abc php /config/www/nextcloud/updater/updater.phar" (this starts the nextcloud update to version 25) Quote sudo: unknown user abc sudo: error initializing audit plugin sudoers_audit Any help? Quote Link to comment
JonathanM Posted August 10, 2023 Share Posted August 10, 2023 25 minutes ago, Civic1201 said: I am running the linuxserver.io image Best bet would be to post in the support thread for that container. 1 Quote Link to comment
geefle Posted January 3 Share Posted January 3 i have the same problem, I tried to follow @dswede43 guide but I either got an error saying I run a newer version then I am upgrading to or I got a php warning. at one point trying to go back to the start and installing version 24.0.0 the docker container disappeared from unraid. I reinstalled it from the previous apps and now when I try to run the updater command I get the error "could not open input file: /config/www/nextcloud/updater/updater.phar" I am really not sure what I am doing wrong. What can I do to fix this? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.