You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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
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 :)
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
Activity
gsanchietti commentedon May 10, 2021
Preliminary work:
Documents from upstream:
Merge pull request #1 from stephdl/nc21
nethbot commentedon Jun 3, 2021
in
7.9.2009/testing:Merge pull request #111 from NethServer/nc21
nethbot commentedon Jun 4, 2021
in
7.9.2009/testing:gsanchietti commentedon Jun 4, 2021
Test case 1
Test case 2
Test case 3
Test case 4
Test case 5
/usr/share/nextcloud/config/config.phpand add the ooption 'loglevel' => 0 (this step should simulate an installation coming from an old NC release)jgelauff commentedon Jun 6, 2021
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
gsanchietti commentedon Jun 7, 2021
Could you please post the extract from messages and nextcloud logs?
Maybe on next update: one step at time to minimize the errors :)
jgelauff commentedon Jun 7, 2021
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
jgelauff commentedon Jun 7, 2021
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
27 remaining items
stephdl commentedon Jun 12, 2021
just for information on the instance I have migrated
gsanchietti commentedon Jun 16, 2021
Proposed fix for #6506 (comment), doesn't completely solve the issue.
To reproduce a failing upgrade:
'loglevel' => 0to/usr/share/nextcloud/config/config.phpThe 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:
occby applying this workaround: [NC 21] OCC Update error: allowed memory size exhausted nextcloud/server#25742 (comment)Merge pull request #116 from NethServer/fix_occ
nethbot commentedon Jun 16, 2021
in
7.9.2009/testing:gsanchietti commentedon Jun 16, 2021
Back again to testing, added test case 5.
nrauso commentedon Jun 17, 2021
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! 👌
nethbot commentedon Jun 21, 2021
in
7.9.2009/updates:nethbot commentedon Jun 21, 2021
in
7.9.2009/updates: