-
[Support] Linuxserver.io - Nextcloud
Yes I'm seeing it. Everything seems to be working for now. I've no idea how to fix this warning. I'm hoping that a subsequent update will fix it ... :)
-
[Support] Linuxserver.io - Nextcloud
Thanks. I've set them in both the Nextcloud config ssl.conf and in the Swag ssl.conf but I continue to get the same warnings. Is there another location perhaps?
-
[Support] Linuxserver.io - Nextcloud
I am trying to address the hardening recommendations for my Nextcloud instance. I get these warnings on the Administration Setting Overview tab. I've updated every config file I can locate that has the headers mentioned below, but all to no avail. I still get these warning. Can anyone tell me exactly what config file I should be updating and where to find it? Thanks in advance for any help you can provide.
-
[Support] Linuxserver.io - Nextcloud
I hope this is okay to post a new question here. I've been running my NextCloud instance on my Unraid server for about 5 or so years now. I use duckdns.org for my domain service. A few weeks ago, suddenly I was unable to access my NextCloud service. I tried to access it using the IP address locally, as well as using the domain URL. Nothing. So I tried to access DuckDNS.org. to see if something had happened to my account there. I can't even get access to that service anymore. I've tried accessing from outside my own internet and I get the same results. I've reached out to my ISP, but they claim nothing is wrong at this point, however they are still investigating. I'm really curious if there is more troubleshooting that I can perform to help diagnose the problem. I've been using Unraid for quite a dew years, but I am by no means an expert. I can follow directions very well though. Any suggestions for how I might proceed would be greatly appreciated. Thanks. /Don
-
[Support] Linuxserver.io - Nextcloud
This is what started me trying to figure out what was wrong. I got some valuable help from a few folks on this forum. Here are my notes: Upgrading Nextcloud is best done through the command line. The Docker doesn't upgrade it. In my case, I had to first downgrade my Nextcloud docker image until I found one that worked. To do this, edit the Nextcloud Docker container template. Change the repository line. I changed mine to linuxserver/nextcloud:23.0.0 after a bit of digging. I actually did this incrementally by trying an earlier version of Nextcloud until I found one that worked. You can find the different versions (tags) here: https://hub.docker.com/r/linuxserver/nextcloud at the bottom of the page. Use the following command line to upgrade: sudo -u abc php /config/www/nextcloud/updater/updater.phar This will run the updater and when finished it will ask if you want to run occ, answer yes. When the occ is done it will ask if you want to stay in Maintenance mode. Answer no. If the updater gets stuck anywhere, it will tell you what is wrong, whereas if you use the Web UI, it just hangs. If you need to restart the updater, be sure to rename the updater updater-xxxxxx folder found in the /data folder. If you don't the update will not restart. I just used this command: mv /data/updater-(fill in the rest of the file name here) /data-DELETEMEn-updater where n is a number for each time I had to do this - I think I ended up around 8 or 9. If any files are missing, you may be able to pull them from the download folder in the updater-xxxxxx folder. I was able to get a version of the version.php file from the Git repo here: https://github.com/nextcloud/server I clicked on the file name, and then selected the text and copied it. I then went to the folder /config/www/nextcloud Using nano, I created a version.php file (because mine was missing). I then pasted the content into the file, saved and exited from nano. I was able to determine that my actual Nextcloud version was 23.0.0 when I first started the updater using the command line. It was trying to update to version 23.0.12, so that told me I was on an earlier version so I downgraded to 23.0.0 (I knew that was a valid tag by checking the tags available (noted above). Then I had to change the owner of the file with the following command: chown abc:abc /config/www/nextcloud/version.php This same command is used to change ownership of any files or folders you have to pull from the downloaded upgrade version if they are missing from your current installation. If you get any errors saying it couldn't find a file, try looking in the downloaded section (/data/updater-xxxxxxxx/download When you copy them, make sure the folder they need to go to exisit. In my case the whole folder was missing due to the upgrader already having deleted it (I think). Anyway, I decided to create the missing folder and copy the entire content over, then I had to change the ownership on the folder and all of the files underneath - you can do this recursively with the chown command: chown -r abc:abc /config/www/nextcloud/whatever folder name here/ This info may also help: https://techoverflow.net/2022/06/17/how-to-fix-nextcloud-step-is-currently-in-process-please-call-this-command-later/ To get the correct version of version.php, in the git repo, you can select the tag that matches the version you need. The version.php file is at the top level of the repo, so it should be copied to /config/www/nextcloud. I had to re-run the updater multiple times, fixing my mistakes - once it ran successfully, I just kept running it until it said there were no more updated. Then I went into the Nextcloud template again, and changed the repo line to linuxserver/nextcloud:latest. I hope this helps get you back up and running. Please let me know if you run into anything that these instructions don't help with. I will try help in any way I can. I'm not the expert by any means, but I will try.
-
[Support] Linuxserver.io - Nextcloud
So I was finally able to fix this. First, I pulled the correct version.php file from the git repo and put it in the www/nextcloud/ directory. I had to set the ownership on it too. Next I had to copy the /core directory from the download into the nextcloud directory and set the ownership on all of those files too. With all permissions and ownerships set, the upgrade went though without a hitch. Thanks to all for your invaluable help. With a bit of digging and imagination, I was finally able to get Nextcloud up to the most current version and everything is running. Thanks a ton!!
-
[Support] Linuxserver.io - Nextcloud
I tried to use the CLI method, but I get this error: [ ] Extracting ...PHP Warning: require(/config/www/nextcloud/updater/../version.php): Failed to open stream: No such file or directory in phar:///config/www/nextcloud/updater/updater.phar/lib/Updater.php on line 658 PHP Fatal error: Uncaught Error: Failed opening required '/config/www/nextcloud/updater/../version.php' (include_path='.:/usr/share/php8') in phar:///config/www/nextcloud/updater/updater.phar/lib/Updater.php:658 Stack trace: #0 phar:///config/www/nextcloud/updater/updater.phar/lib/Updater.php(695): NC\Updater\Updater->getVersionByVersionFile() #1 phar:///config/www/nextcloud/updater/updater.phar/lib/UpdateCommand.php(372): NC\Updater\Updater->extractDownload() #2 phar:///config/www/nextcloud/updater/updater.phar/lib/UpdateCommand.php(233): NC\Updater\UpdateCommand->executeStep() #3 phar:///config/www/nextcloud/updater/updater.phar/vendor/symfony/console/Command/Command.php(256): NC\Updater\UpdateCommand->execute() #4 phar:///config/www/nextcloud/updater/updater.phar/vendor/symfony/console/Application.php(820): Symfony\Component\Console\Command\Command->run() #5 phar:///config/www/nextcloud/updater/updater.phar/vendor/symfony/console/Application.php(187): Symfony\Component\Console\Application->doRunCommand() #6 phar:///config/www/nextcloud/updater/updater.phar/vendor/symfony/console/Application.php(118): Symfony\Component\Console\Application->doRun() #7 phar:///config/www/nextcloud/updater/updater.phar/updater.php(10): Symfony\Component\Console\Application->run() #8 /config/www/nextcloud/updater/updater.phar(10): require('...') #9 {main} thrown in phar:///config/www/nextcloud/updater/updater.phar/lib/Updater.php on line 658 How do I fix this? I'm sure there's a quick and easy way. I'll see if I can locate any instructions in the resource material you suggested. Thanks for your help.
-
[Support] Linuxserver.io - Nextcloud
Thanks @cat2devnull for your advice and information. I had updated Nextcloud a couple of times a year or so ago as I recall, but every time I did it ran into problems - just like now :). I was able to down grade my docker to 23.0.0, then I tried to update Nextcloud to 23.0.12, but it kept timing out. Now it's stuck on step 6, and I can't go any further. I can't get into the UI either. It just keeps telling me an update is in progress and to reload the page later. This was why I stopped updating Nextcloud and thought that updating the docker image was the same thing. Any suggestions on how I fix this newest problem? I am able to get to the console, if that helps.
-
[Support] Linuxserver.io - Nextcloud
Unraid 6.11.5. To be honest, I'm not sure how to find out what version of Nextcloud I'm running. I've always tried to keep up with all of the latest updates so I would assume I was up to date. Is there a file I can open to find that out? The upgrade went find with no errors. Only now it doesn't work.
-
[Support] Linuxserver.io - Nextcloud
I think I'm going to have to stop updating my Nextcloud docker image. I just updated it today (Feb 22, '23) and now when I try to access the gui, I get this error message: There are no errors or warnings in the log file. I have no idea where to look to fix this. Any pointers would be greatly appreciated. Thanks.
-
[Support] Linuxserver.io - Nextcloud
Wow! I was only having problems accessing Nextcloud, so it never occurred to me to look at Swag. I followed these instructions, and also update my customized Nextcloud conf files and now everything is working. Thank you @sonofdbn for pointing this out to me. I'll try to remember to update the appropriate config files going forward.
-
[Support] Linuxserver.io - Nextcloud
I wish I knew more about how this worked. I am seriously thinking about just deleting Nextcloud from my UnRaid server and starting over, but I'm not sure if that will solve anything. I'd like to get some other opinions first before I take such a drastic step.
-
[Support] Linuxserver.io - Nextcloud
@sonofdbn I don't think those lines are significant. I have seen them from the very first time I started using Nextcloud. There definite differences in the config files, but that is due to your local setting etc. I don't know enough about the config options to know if there are any significant changes. I tried using the new sample config files, but it didn't make any difference. It looks like there may be an incompatible certificate now, but I have no idea how to figure that out.
-
[Support] Linuxserver.io - Nextcloud
Since there doesn't seem to be any way to fix what has broken on my Nextcloud installation, I was wondering if I could simply remove it, then add it again. Would that solve my problem? For the benefit of anyone reading this, my Nextcloud service was working fine. I always accessed it using a domain. Just a couple of days ago, I was notified that there was an update to my Nextcloud docker so I went ahead and updated it. Nextcloud starts just fine. There are no errors in the log, however I can no longer access it. It doesn't matter if I use the domain or the IP address. The result is the same. It appears that there may be some kind of certificate issue but I have no idea how to debug it it and fix it. My thinking is that I may just remove it entirely from my Unraid server, then download and install a new one. I may lose all of my configurations, and may have to figure out how to get Collabora working again, but that may get me back up and running. Any other recommendations? Any help would be greatly appreciated.
-
[Support] Linuxserver.io - Nextcloud
Thanks @Archonw for your help. In answer to your question, I always use a domain. If I click on Advanced and try to go to the site I get this error and can't go any further.
dius
Members
-
Joined
-
Last visited