An official image would be the preferable way of course. Didn’t know when this could be expected so I suggested linuxserver.io 'cause their images have been added as rock-ons several times.
Looking forward to finally get my hands on Nextcloud. Thanks for the response =)
I’ve also used this source and installed Nextcloud without any problems so far.
The current version is 11.0.3 and the latested stable is 12.0.0 which is also promted by the GUI of Next cloud.
Trying the Update App the following error appears.
Have you experienced similar problems? Any ideas how to solve?
No you have to ssh to your Rockstor system. Then type “docker exec -it nextcloud bash” and try it with “rm -r /nextcloud/apps2”.
After that open the updater and try it again.
Good luck!
Hey.
Please show us the output from “ls -l /nextcloud” in your nextcloud container
Edit:
Because I got a message in my admin account, that there is a new update to 12.0.2 I tried it myself again:
[root@rkstrnas ~]# docker exec -it nextcloud bash
bash-4.3# ls -l /nextcloud
total 108
drwxr-xr-x 1 1000 1000 614 Aug 10 21:19 3rdparty
-rw-r--r-- 1 1000 1000 8868 Aug 10 21:19 AUTHORS
drwxr-xr-x 1 1000 1000 860 Aug 10 21:19 apps
lrwxrwxrwx 1 1000 1000 6 Aug 12 19:06 apps2 -> /apps2
drwxr-xr-x 1 1000 1000 72 Aug 12 19:06 config
-rw-r--r-- 1 1000 1000 4050 Aug 10 21:19 console.php
drwxr-xr-x 1 1000 1000 324 Aug 10 21:19 core
-rw-r--r-- 1 1000 1000 5057 Aug 10 21:19 cron.php
-rw-r--r-- 1 1000 1000 41077 Aug 10 21:19 db_structure.xml
-rw-r--r-- 1 1000 1000 179 Aug 10 21:19 index.html
-rw-r--r-- 1 1000 1000 2804 Aug 10 21:19 index.php
drwxr-xr-x 1 1000 1000 58 Aug 10 21:19 l10n
drwxr-xr-x 1 1000 1000 94 Aug 10 21:19 lib
-rw-r--r-- 1 1000 1000 283 Aug 10 21:19 occ
drwxr-xr-x 1 1000 1000 70 Aug 10 21:19 ocs
drwxr-xr-x 1 1000 1000 18 Aug 10 21:19 ocs-provider
-rw-r--r-- 1 1000 1000 3152 Aug 10 21:19 public.php
-rw-r--r-- 1 1000 1000 5323 Aug 10 21:19 remote.php
drwxr-xr-x 1 1000 1000 34 Aug 10 21:19 resources
-rw-r--r-- 1 1000 1000 26 Aug 10 21:19 robots.txt
drwxr-xr-x 1 1000 1000 282 Aug 10 21:19 settings
-rw-r--r-- 1 1000 1000 2110 Aug 10 21:19 status.php
drwxr-xr-x 1 1000 1000 26 Aug 10 21:19 themes
drwxr-xr-x 1 1000 1000 42 Apr 22 06:27 updater
-rw-r--r-- 1 1000 1000 435 Aug 10 21:19 version.php
bash-4.3# rm /nextcloud/apps2
bash-4.3# ls -l /nextcloud
total 104
drwxr-xr-x 1 1000 1000 614 Aug 10 21:19 3rdparty
-rw-r--r-- 1 1000 1000 8868 Aug 10 21:19 AUTHORS
drwxr-xr-x 1 1000 1000 860 Aug 10 21:19 apps
drwxr-xr-x 1 1000 1000 72 Aug 12 19:06 config
-rw-r--r-- 1 1000 1000 4050 Aug 10 21:19 console.php
drwxr-xr-x 1 1000 1000 324 Aug 10 21:19 core
-rw-r--r-- 1 1000 1000 5057 Aug 10 21:19 cron.php
-rw-r--r-- 1 1000 1000 41077 Aug 10 21:19 db_structure.xml
-rw-r--r-- 1 1000 1000 179 Aug 10 21:19 index.html
-rw-r--r-- 1 1000 1000 2804 Aug 10 21:19 index.php
drwxr-xr-x 1 1000 1000 58 Aug 10 21:19 l10n
drwxr-xr-x 1 1000 1000 94 Aug 10 21:19 lib
-rw-r--r-- 1 1000 1000 283 Aug 10 21:19 occ
drwxr-xr-x 1 1000 1000 70 Aug 10 21:19 ocs
drwxr-xr-x 1 1000 1000 18 Aug 10 21:19 ocs-provider
-rw-r--r-- 1 1000 1000 3152 Aug 10 21:19 public.php
-rw-r--r-- 1 1000 1000 5323 Aug 10 21:19 remote.php
drwxr-xr-x 1 1000 1000 34 Aug 10 21:19 resources
-rw-r--r-- 1 1000 1000 26 Aug 10 21:19 robots.txt
drwxr-xr-x 1 1000 1000 282 Aug 10 21:19 settings
-rw-r--r-- 1 1000 1000 2110 Aug 10 21:19 status.php
drwxr-xr-x 1 1000 1000 26 Aug 10 21:19 themes
drwxr-xr-x 1 1000 1000 42 Apr 22 06:27 updater
-rw-r--r-- 1 1000 1000 435 Aug 10 21:19 version.php
After that the update was successful.
Edit Edit:
If it works for you too, please restart the container after the update was completed. The symlink to apps2 is generated again and you can use your apps again.
One remark…on https://nextcloud.com/changelog/ the latest STABLE is already 12.0.2 while the WebUI of Nextcloud itself still say 11.0.4 is the latest stable. I’m not sure if Nextcloud themself is behind in updating their channels or if the Rockstor RockOns Nextcloud version needs any change/update…
12.0.2 is pretty fresh 14th of August so it may take some time
And since that issue was opened an official nextcloud docker image has emerged, as posted by @dilli in that issue but I think there was some issue with using it. Also @Flox is a good bet on this one as he was last to contribute to that issue and from the looks of it had some success with a non official docker image proposed by @martmaiste. Note sure if it was derived from official or not though.
All forum members so maybe they can chip in with more info as I’ve not looked at this much myself unfortunately.
Yes, Nextcloud was a big interest of mine at the time–it still is but time is more limited for me right now so I haven’t had the chance to further lokk at that. I used to run the container by @martmaiste, which was running perfectly fine for me until the recent update to Nextcloud 12. Nothing related to this container itself, but more to the Nextcloud version and SSL certificates.
Note that I was preferring @martmaiste’s image over Linuxserver.io’s as it includes Letsencrypt as well. I also started writing my own rock-on definition for something that would include Nextcloud, let’sencrypt, and ngnix for an all-included Rock-on, but ran into some obstacles that I haven’t had time to tackle yet (see this topic: Order of Environment variables)
With regards to Official Nextcloud, at the time most images were using wonderfall/nextcloud as it was based on Alpine and thus lighter (to the best of my understanding), whereas the official nextcloud image wasn’t. Not sure whether it still is the case, though. I’ll have to find time to look at all that again.