Upgrading to NextCloud 10.0.1

Seeing as I have a interest in collaborative communication platforms (reference to my last comment within the [Any opinions about Pydio?] (Any opinions about Pydio?) thread) and am fairly familiar with the NextCloud / OwnCloud project, I would like to help out testing Nextcloud integration with NS.

I have some free time tomorrow (and over the next 3 - 4 days) and will create a new VM containing a new NS installation solely for Nextcloud testing / development purposes.


@medworthy, @lucian what’s going on with the testing package? Can we release it as official update?

Good to know! As @davidep’s suggestion please update with the testing package and let us know how it goes

Ok, I tested 10.0.1 with NS but used the zip (non RPM) provided by Nextcloud. Installation was straightfoward (uncompressed into a new directory within the default www directory, created a new mysql database and user, then installed Nextcloud).

LDAP integration was falirly simple (duplicate the configuration from the previous NS based installation.)

Now that there is an RPM availble, Tomorrow I will remove the existing versions and install the RPM version.

I am intending to test both Webdavs (caldav, cardav) and file management features, I am not intending to test the client software (prefer to use dav to connect the server shares)

As far as I am concerned, The new version of Nextcloud should be fairly straightforward to integrate with NS (as stated above I will install the RPM version and see if I can use the existing NS NextCloud configuration files)

Also I remember reading somewhere within this forum that some people have mentioned that they have been using Samba with NextCloud / OwnCloud file management tools, I would suggest that this maybe a bad idea due to Nextcloud need to synchronize file information (ie. file tags and description information) to the mysql database and if using Samba to the file server then this information will not be updated with the database, therefore the files may not be displayed in the Nextcloud interface or when using webdav / desktop client software).

I did an upgrade test with the current version from testing:

--> Running transaction check
---> Package nethserver-nextcloud.noarch 0:1.0.3-1.ns7 will be updated
---> Package nethserver-nextcloud.noarch 0:1.0.3-1.1.g103d8ab.ns7 will be an update
---> Package nextcloud.noarch 0:10.0.0-1.ns7 will be updated
---> Package nextcloud.noarch 0:10.0.1-1.ns7 will be an update
--> Finished Dependency Resolution

Then I go to the NextCloud homepage and I see this message:

“Update needed
Please use the command line updater because you have a big instance.
For help, see the documentation.”

Could it be that happens because you also have nethserver-sssd package from the testing repo? ldapTLS and the certificate check…

Nope, the only packages installed from testing were nextcloud and nethserver-nextcloud.

But it could be because I used yum install instead of update. This is the command I used:
yum --enablerepo=nethserver-testing install nextcloud nethserver-nextcloud

I will try from scratch today with proper update.

No, it should be ok. Maybe some of my assumptions are incorrect.

I did this test:

  • clean install of NethServer v7rc2
  • update all packages from software center
  • reboot
  • no account provider configured
  • install NextCloud from software center
  • checked that NextCloud web interface is accessible and working as expected
  • updated NextCloud from testing:
    yum --enablerepo=nethserver-testing update nextcloud nethserver-nextcloud
  • checked that NextCloud web interface is accessible and working as expected
  • new version is Nextcloud 10.0.1 (stable)

It seems to be fine with this workflow.


Can you verify the bug? Logging on github and changing the label?

I can confirm @lucian results. Nextcloud 1.0.1-1 (including nethserver-nextcloud-1.0.3-1.1.g103d8ab) installs on a fresh NS7 setup.

This version can also be use to upgrade the previous version (which will overwrite any / all existing files whilst keeping the config.php intact). NC 1.0.1 also works with existing mysql and ldap setting. Webdav sync / shares working well.

As far as I can tell, NC 1.0.1 is working as expected and can be included into the existing repository.

1 Like

I have a few thoughts about future upgrades of NC, whilst examining the directory structure, I noticed that NC still include the occ PHP script (owncloud console toolkit), this script allows NC to be upgraded using the source directly from NC repositories.

I am now wondering if there is any advantage of using crontabs with the above mentioned script instead of using the RPM method.

Whilst I am on the subject of automated (time based) updates, is there any chance of adding a ‘auto-update’ function into NS?


Regarding the original issue about setting quotas within NC, neither NC or Owncloud have ever had any options to control limits on storage quota.

Hmm… not sure what you mean. I was referring to the Quota column in the Users page in NextCloud. The quota can be changed per user from there, and also the default quota can be changed from the “gear” button in the lower-left corner of the same view.

Thanks a lot for your tests @lucian & @medworthy :thumbsup:
Now, it could be useful if you want to update the issue https://github.com/NethServer/dev/issues/5155 with your tests description and you can also set the label to “verified”.
Then we can proceed with the final release :wink:

Just add an entry to the Github record (couldn’t find any way of changing the label).

just click on on Labels,
then deselect Testing and click on verified

I don’t have access to the gear icon (and therefore no option to to change the label).

1 Like

ah ok, i think @davidep should add you to IssuesTeam to have access