Linuxserver.io's Nextcloud

One month ago the linuxserver team released their docker image for nextcloud. Will this be added to the registry soon?
https://hub.docker.com/r/linuxserver/nextcloud/

3 Likes

@OpenSourceUser Hello again and I hope we get a nextcloud Rockon :slight_smile:.

Yes it was noted recently by forum use @dilli over at the GitHub issue we have open for this very thing:
that an official project docker image had appeared.

We are now awaiting a contribution of the Rock-on spec file itself.

A previous hold up was our version of docker but that too has now been updated so definitely overdue, and previously to that the hold up was of course the lack of an official image in the first place.

Fancy having a go?
Instructions for constructing a Rock-on definition file are contained in the rockon-registry README.md:

My personal preference would be to use the official image over any other image. Can you make a case for using this one over the official one?

I have linked back to this forum post from the above linked issue to help show the interest in this Rock-on.

2 Likes

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 =)

[edit] I will look into the following:


Sounds promising, doesn’t it? [/edit]

Hi,

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?

THX,
Roland

Anyone facing the same problem as stated above in my previous post?

Hey.
Sorry for the late answer… It was easier than I expected!
You just have to delete the symlink /nextcloud/apps2 before running the update

@mark93 thanks for your reply, good to hear there is an easy solution :grinning:
I guess you are referring to the following entry
image
How have you deleted this link? thx again

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!

@Mark93 thx, I’ve followed your steps but still the same error while executing the updater… :roll_eyes:

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: :smiley:
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.

Hi,
it seems I do have 2 app folders…I’ve removed apps2 and restarted Nextlcoud but the error stays…hm :roll_eyes:

bash-4.3# ls -l /nextcloud
total 104
drwxr-xr-x    1 1000     1000           584 Apr 22 06:29 3rdparty
-rw-r--r--    1 1000     1000          8868 Apr 22 06:27 AUTHORS
drwxr-xr-x    1 1000     1000          1022 Apr 22 06:27 apps
lrwxrwxrwx    1 1000     1000             6 Aug 14 08:02 apps2 -> /apps2
drwxr-xr-x    1 1000     1000            72 Aug 14 08:02 config
-rw-r--r--    1 1000     1000          3638 Apr 22 06:27 console.php
drwxr-xr-x    1 1000     1000           324 Apr 22 06:29 coreexit
-rw-r--r--    1 1000     1000          5353 Apr 22 06:27 cron.php
-rw-r--r--    1 1000     1000         40622 Apr 22 06:27 db_structure.xml
-rw-r--r--    1 1000     1000           179 Apr 22 06:27 index.html
-rw-r--r--    1 1000     1000          2471 Apr 22 06:27 index.php
drwxr-xr-x    1 1000     1000            58 Apr 22 06:27 l10n
drwxr-xr-x    1 1000     1000            94 Apr 22 06:27 lib
-rw-r--r--    1 1000     1000           283 Apr 22 06:27 occ
drwxr-xr-x    1 1000     1000            70 Apr 22 06:27 ocs
drwxr-xr-x    1 1000     1000            18 Apr 22 06:27 ocs-provider
-rw-r--r--    1 1000     1000          3184 Apr 22 06:27 public.php
-rw-r--r--    1 1000     1000          5431 Apr 22 06:27 remote.php
drwxr-xr-x    1 1000     1000            34 Apr 22 06:27 resources
-rw-r--r--    1 1000     1000            26 Apr 22 06:27 robots.txt
drwxr-xr-x    1 1000     1000           208 Apr 22 06:27 settings
-rw-r--r--    1 1000     1000          2110 Apr 22 06:27 status.php
drwxr-xr-x    1 1000     1000            26 Apr 22 06:27 themes
drwxr-xr-x    1 1000     1000            42 Apr 22 06:27 updater
-rw-r--r--    1 1000     1000           380 Apr 22 06:29 version.php

First you have to remove nextcloud/apps2 and after that start the update. When the update is finished restart the nextcloud container/rockon

1 Like

@Mark93 OK, this was my mistake…now it worked, but my system shows only an update to 11.0.4 and not 12.0.2 like yours

Change your update channel from “stable” to “beta”. Reload the page and now you should see V.12.0.1 /12.0.2 :wink:

1 Like

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 :wink:

Is there hope for a official Nextcloud Rock-On in the next few weeks?

@kyritrill Hello again.

We still have open the previously referenced:

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.

Hi there!

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.

1 Like

I’m using the official image since about a year without any issue so far.

FYI

I have done a pull request to get the official docker image as a Rock On.

https://github.com/rockstor/rockon-registry/pull/145