Skip to content

Nextcloud 21.0.2 #6506

Closed
Closed

Description

@nethbot

Update Nextcloud release to 21.0.2

Changelog:
https://nextcloud.com/changelog/

Activity

  1. self-assigned this
    on May 10, 2021
  2. added a commit that references this issue on Jun 3, 2021
  3. nethbot commented on Jun 3, 2021

    @nethbot
    MemberAuthor

    in 7.9.2009/testing:

  4. added a commit that references this issue on Jun 4, 2021
  5. nethbot commented on Jun 4, 2021

    @nethbot
    MemberAuthor

    in 7.9.2009/testing:

  6. gsanchietti commented on Jun 4, 2021

    @gsanchietti
    Member

    Test case 1

    • Install on a clean machine with OpenLDAP or AD
    • Check everything works as expected

    Test case 2

    • Update an existing machine with OpenLDAP or AD
    • Check everything works as expected
    • Verify the database on MariaDB 55 has been deleted

    Test case 3

    • Update an existing machine where there is at least another application that uses MariaDB
    • Verify that the other application is still working after the update
    • Verify the database on MariaDB 55 has been deleted

    Test case 4

    • Install a clean machine with OpenLDAP
    • Configure nextcloud at least with one user
    • Backup the configuration and the data
    • Execute a disaster recovery
    • Verify everything has been restore on a new machine

    Test case 5

    • Install nethserver-nextcloud from updates
    • Open /usr/share/nextcloud/config/config.php and add the ooption 'loglevel' => 0 (this step should simulate an installation coming from an old NC release)
    • Update from testing
    • Verify the migration doesn't fail
  7. added
    testingPackages are available from testing repositories
    on Jun 4, 2021
  8. jgelauff commented on Jun 6, 2021

    @jgelauff

    test case 3 openldap failed.

    internal server error after update.
    nextcloud database in mariadb55 is delete, but where is the new database?
    other applications using mariadb55 are still working

    is it possibable to upgrade php also? some nextcloud apps are asking for min php version of 7,4

  9. gsanchietti commented on Jun 7, 2021

    @gsanchietti
    Member

    internal server error after update.

    Could you please post the extract from messages and nextcloud logs?

    nextcloud database in mariadb55 is delete, but where is the new database?

    scl enable rh-mariadb105
    mysql --socket /run/rh-mariadb105-mariadb/nextcloud-mysql.sock
    

    is it possibable to upgrade php also? some nextcloud apps are asking for min php version of 7,4

    Maybe on next update: one step at time to minimize the errors :)

  10. jgelauff commented on Jun 7, 2021

    @jgelauff

    examing the log files show my that the databse was not found bij nextcloud
    i have fixed it by modifing the /usr/share/nexcloud/config/config.php setting dbhost

    from 'dbhost' => 'localhost',
    to
    'dbhost' =>'localhost:/run/rh-mariadb105-mariadb/nextcloud-mysql.sock',

    the first time the upgrade wizard run there was a php fatal error that the allowed memory size exhausted.
    after that nextcloud is in maintaince mode, after a modify to disabled the maintaince mode,
    the second upgrade attemp was succesfull

    internal server error after update.

    Could you please post the extract from messages and nextcloud logs?

    nextcloud database in mariadb55 is delete, but where is the new database?

    scl enable rh-mariadb105
    mysql --socket /run/rh-mariadb105-mariadb/nextcloud-mysql.sock
    

    is it possibable to upgrade php also? some nextcloud apps are asking for min php version of 7,4

    Maybe on next update: one step at time to minimize the errors :)

  11. jgelauff commented on Jun 7, 2021

    @jgelauff

    there is after the update still a problem with the php memory

    system settings was indicating that some indexes are missing
    so i tried to run occ db:add-missing-indices
    with the error
    PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /usr/share/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php on line 133

    the same error orrured with the cron jobs

  12. 27 remaining items

  13. stephdl commented on Jun 12, 2021

    @stephdl

    just for information on the instance I have migrated

    [root@prometheus ~]# du -h /var/lib/nethserver/nextcloud/
    29G	/var/lib/nethserver/nextcloud/
    
  14. gsanchietti commented on Jun 16, 2021

    @gsanchietti
    Member

    Proposed fix for #6506 (comment), doesn't completely solve the issue.
    To reproduce a failing upgrade:

    • install nethserver-nextcloud from updates
    • add the option 'loglevel' => 0 to /usr/share/nextcloud/config/config.php
    • update from testing

    The migration will fail because occ can't allocate memory. Also, at the end of the procedure, the system will remain on a non consistent state.

    Proposal:

  15. removed
    testingPackages are available from testing repositories
    on Jun 16, 2021
  16. added a commit that references this issue on Jun 16, 2021
  17. nethbot commented on Jun 16, 2021

    @nethbot
    MemberAuthor

    in 7.9.2009/testing:

  18. gsanchietti commented on Jun 16, 2021

    @gsanchietti
    Member

    Back again to testing, added test case 5.

  19. added
    testingPackages are available from testing repositories
    on Jun 16, 2021
  20. self-assigned this
    on Jun 17, 2021
  21. nrauso commented on Jun 17, 2021

    @nrauso

    All test cases - even the number 5 - have been verified on testing machines.
    I'm upgrading some machine in production: I'll keep you posted.

    Update: all upgrades on production systems worked as expected! 👌

  22. added
    verifiedAll test cases were verified successfully
    and removed
    testingPackages are available from testing repositories
    on Jun 18, 2021
  23. nethbot commented on Jun 21, 2021

    @nethbot
    MemberAuthor

    in 7.9.2009/updates:

  24. nethbot commented on Jun 21, 2021

    @nethbot
    MemberAuthor

    in 7.9.2009/updates:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedAll test cases were verified successfully

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions