Forums

Resolved
0 votes
Nextcloud 17 is now in the testing repo. For anyone that would like to help with testing here are the commands to upgrade.

I believe you will need SDN 1.4. It would be best if you could test using app-nextcloud or app-nextcloud-business.

Then you can run the following commands.
sed -i -e 's/^jws_version.*/jws_version = 1.4/' /etc/product


If you are using Nextcloud for Home
ENABLE_BETA=True yum --enablerepo=clearos-contribs-testing --disablerepo=clearos-centos-verified-testing,clearos-epel-verified-testing install app-nextcloud nextcloud


If you are using Nextcloud for Business
ENABLE_BETA=True yum --enablerepo=clearos-contribs-testing --disablerepo=clearos-centos-verified-testing,clearos-epel-verified-testing install app-nextcloud-business nextcloud


The sed command changes the jws version to 1.4 so that the repos work. If you have updates to ClearOS 7.7 you will already be on 1.4.

The ENABLE_BETA turns on the testing repos.
Thursday, October 31 2019, 10:38 PM
Share this post:
Responses (2)
  • Accepted Answer

    Friday, November 01 2019, 04:02 PM - #Permalink
    Resolved
    0 votes
    I edited your post to add an "=" after --disablerepo.

    I have upgraded but not used it yet. Upgrading I get:
    Is this ok [y/d/N]: y
    Downloading packages:
    Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
    (1/3): app-nextcloud-business-3.1.0-1.v7.noarch.rpm | 9.4 kB 00:00
    (2/3): app-nextcloud-business-core-3.1.0-1.v7.noarch.rpm | 20 kB 00:00
    nextcloud-17.0.0-1.v7.noarch.rpm | 59 MB 00:15
    --------------------------------------------------------------------------------
    Total 3.7 MB/s | 59 MB 00:15
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
    Installing : nextcloud-17.0.0-1.v7.noarch 1/6
    Updating : 1:app-nextcloud-business-core-3.1.0-1.v7.noarch 2/6
    chown: cannot access ‘/var/clearos/nextcloud/.htaccess’: No such file or directory
    chmod: cannot access ‘/var/clearos/nextcloud/.htaccess’: No such file or directory
    Updated trusted_domains in nextCloud's config.php file.
    Updating : 1:app-nextcloud-business-3.1.0-1.v7.noarch 3/6
    Cleanup : 1:app-nextcloud-business-3.0.9-1.v7.noarch 4/6
    Cleanup : 1:app-nextcloud-business-core-3.0.9-1.v7.noarch 5/6
    Cleanup : nextcloud-16.0.4-2.v7.noarch 6/6
    Performing 16.0.4 to 17.0.0 upgrade script
    Nextcloud or one of the apps require upgrade - only a limited number of commands are available
    You may use your browser or the occ upgrade command to do the upgrade
    user_ldap disabled
    Nextcloud or one of the apps require upgrade - only a limited number of commands are available
    You may use your browser or the occ upgrade command to do the upgrade
    Set log level to debug
    Turned on maintenance mode
    Updating database schema
    Updated database
    Disabled incompatible app: files_texteditor
    Updating <accessibility> ...
    Updated <accessibility> to 1.3.0
    Updating <federatedfilesharing> ...
    Updated <federatedfilesharing> to 1.7.0
    Updating <files_pdfviewer> ...
    Updated <files_pdfviewer> to 1.6.0
    Updating <files_rightclick> ...
    Updated <files_rightclick> to 0.14.2
    Updating <files_videoplayer> ...
    Updated <files_videoplayer> to 1.6.0
    Updating <gallery> ...
    Updated <gallery> to 18.4.0
    Updating <logreader> ...
    Updated <logreader> to 2.2.0
    Updating <password_policy> ...
    Updated <password_policy> to 1.7.0
    Updating <privacy> ...
    Updated <privacy> to 1.1.0
    Updating <provisioning_api> ...
    Updated <provisioning_api> to 1.7.0
    Updating <recommendations> ...
    Updated <recommendations> to 0.5.0
    Updating <serverinfo> ...
    Updated <serverinfo> to 1.7.0
    Updating <support> ...
    Updated <support> to 1.0.1
    Updating <survey_client> ...
    Updated <survey_client> to 1.5.0
    Updating <twofactor_backupcodes> ...
    Updated <twofactor_backupcodes> to 1.6.0
    Updating <updatenotification> ...
    Updated <updatenotification> to 1.7.0
    Updating <federation> ...
    Updated <federation> to 1.7.0
    Updating <lookup_server_connector> ...
    Updated <lookup_server_connector> to 1.5.0
    Updating <oauth2> ...
    Updated <oauth2> to 1.5.0
    Updating <files> ...
    Updated <files> to 1.12.0
    Updating <activity> ...
    Updated <activity> to 2.10.1
    Updating <cloud_federation_api> ...
    Updated <cloud_federation_api> to 1.0.0
    Updating <dav> ...
    Fix broken values of calendar objects

    Starting ...
    0/0 [>---------------------------] 0%
    Updated <dav> to 1.13.0
    Updating <files_external> ...
    Updated <files_external> to 1.8.0
    Updating <files_sharing> ...
    Updated <files_sharing> to 1.9.0
    Updating <files_trashbin> ...
    Updated <files_trashbin> to 1.7.0
    Updating <files_versions> ...
    Updated <files_versions> to 1.10.0
    Updating <sharebymail> ...
    Updated <sharebymail> to 1.7.0
    Updating <workflowengine> ...
    Updated <workflowengine> to 1.7.0
    Updating <comments> ...
    Updated <comments> to 1.7.0
    Updating <firstrunwizard> ...
    Updated <firstrunwizard> to 2.6.0
    Updating <nextcloud_announcements> ...
    Updated <nextcloud_announcements> to 1.6.0
    Updating <notifications> ...
    Updated <notifications> to 2.5.0
    Updating <systemtags> ...
    Updated <systemtags> to 1.7.0
    Updating <theming> ...
    Updated <theming> to 1.8.0
    Checking for update of app accessibility in appstore
    Checked for update of app "accessibility" in appstore
    Checking for update of app activity in appstore
    Checked for update of app "activity" in appstore
    Checking for update of app cloud_federation_api in appstore
    Checked for update of app "cloud_federation_api" in appstore
    Checking for update of app comments in appstore
    Checked for update of app "comments" in appstore
    Checking for update of app dav in appstore
    Checked for update of app "dav" in appstore
    Checking for update of app federatedfilesharing in appstore
    Checked for update of app "federatedfilesharing" in appstore
    Checking for update of app federation in appstore
    Checked for update of app "federation" in appstore
    Checking for update of app files in appstore
    Checked for update of app "files" in appstore
    Checking for update of app files_external in appstore
    Checked for update of app "files_external" in appstore
    Checking for update of app files_pdfviewer in appstore
    Checked for update of app "files_pdfviewer" in appstore
    Checking for update of app files_rightclick in appstore
    Checked for update of app "files_rightclick" in appstore
    Checking for update of app files_sharing in appstore
    Checked for update of app "files_sharing" in appstore
    Checking for update of app files_trashbin in appstore
    Checked for update of app "files_trashbin" in appstore
    Checking for update of app files_versions in appstore
    Checked for update of app "files_versions" in appstore
    Checking for update of app files_videoplayer in appstore
    Checked for update of app "files_videoplayer" in appstore
    Checking for update of app firstrunwizard in appstore
    Checked for update of app "firstrunwizard" in appstore
    Checking for update of app gallery in appstore
    Checked for update of app "gallery" in appstore
    Checking for update of app logreader in appstore
    Checked for update of app "logreader" in appstore
    Checking for update of app lookup_server_connector in appstore
    Checked for update of app "lookup_server_connector" in appstore
    Checking for update of app nextcloud_announcements in appstore
    Checked for update of app "nextcloud_announcements" in appstore
    Checking for update of app notifications in appstore
    Checked for update of app "notifications" in appstore
    Checking for update of app oauth2 in appstore
    Checked for update of app "oauth2" in appstore
    Checking for update of app password_policy in appstore
    Checked for update of app "password_policy" in appstore
    Checking for update of app privacy in appstore
    Checked for update of app "privacy" in appstore
    Checking for update of app provisioning_api in appstore
    Checked for update of app "provisioning_api" in appstore
    Checking for update of app recommendations in appstore
    Checked for update of app "recommendations" in appstore
    Checking for update of app serverinfo in appstore
    Checked for update of app "serverinfo" in appstore
    Checking for update of app sharebymail in appstore
    Checked for update of app "sharebymail" in appstore
    Checking for update of app support in appstore
    Checked for update of app "support" in appstore
    Checking for update of app survey_client in appstore
    Checked for update of app "survey_client" in appstore
    Checking for update of app systemtags in appstore
    Checked for update of app "systemtags" in appstore
    Checking for update of app theming in appstore
    Checked for update of app "theming" in appstore
    Checking for update of app twofactor_backupcodes in appstore
    Checked for update of app "twofactor_backupcodes" in appstore
    Checking for update of app updatenotification in appstore
    Checked for update of app "updatenotification" in appstore
    Checking for update of app viewer in appstore
    Checked for update of app "viewer" in appstore
    Checking for update of app workflowengine in appstore
    Checked for update of app "workflowengine" in appstore
    Checking for update of app files_texteditor in appstore
    Checked for update of app "files_texteditor" in appstore
    Starting code integrity check...
    Finished code integrity check
    Update successful
    Turned off maintenance mode
    Reset log level
    user_ldap enabled
    Nextcloud is already latest version
    Verifying : nextcloud-17.0.0-1.v7.noarch 1/6
    Verifying : 1:app-nextcloud-business-core-3.1.0-1.v7.noarch 2/6
    Verifying : 1:app-nextcloud-business-3.1.0-1.v7.noarch 3/6
    Verifying : 1:app-nextcloud-business-core-3.0.9-1.v7.noarch 4/6
    Verifying : 1:app-nextcloud-business-3.0.9-1.v7.noarch 5/6
    Verifying : nextcloud-16.0.4-2.v7.noarch 6/6
    Verifying : nextcloud-16.0.4-2.v7.noarch 7/6

    Installed:
    nextcloud.noarch 0:17.0.0-1.v7

    Updated:
    app-nextcloud-business.noarch 1:3.1.0-1.v7

    Dependency Updated:
    app-nextcloud-business-core.noarch 1:3.1.0-1.v7

    Replaced:
    nextcloud.noarch 0:16.0.4-2.v7


    I am not sure about:
    Nextcloud or one of the apps require upgrade - only a limited number of commands are available
    You may use your browser or the occ upgrade command to do the upgrade
    user_ldap disabled
    Nextcloud or one of the apps require upgrade - only a limited number of commands are available
    You may use your browser or the occ upgrade command to do the upgrade
    Or:
    chown: cannot access ‘/var/clearos/nextcloud/.htaccess’: No such file or directory
    chmod: cannot access ‘/var/clearos/nextcloud/.htaccess’: No such file or directory


    Logging into the Nextcloud webconfig took me straight in without having to perform the upgrade script so I assume that worked OK in your upgrade script.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, January 04 2020, 01:16 PM - #Permalink
    Resolved
    0 votes
    I've installed Nextcloud 16.4 and update it to 17.0.0 without any problems.
    Only on both versions i've in the webconfig no user licenses visable

    https://i.ibb.co/0JKqZfY/User-Manager.png
    After install there Nextcloud license line is visable, but after adding users the compete line is disappeared
    The reply is currently minimized Show
Your Reply