-
-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Daily updates to Nextcloud 28.0.9 reported on NCP 1.55.1 #1979
Comments
Same problem here. |
Thank you, I suspect that this is only an issue with the notifications (because your logs would be much larger if the update was actually performed daily). @new-on-github Do you experience the same issue with the auto backups by any chance? |
I recognized last week that a was on a old Nextcloud version, despite ncp-autoupdate-nc was turned on. While trying to manually update the Nextcloud version, the backup process also failed because the connection to the mysql database failed. The workaround was to change something in the config of the mysql-database. If I remember it correct, it was something like this:
Afterwards the backup worked and therefore the update to. But now I manually updated to 29.0.7 and cannot know, if the auto update is working, because this is the most recent Nextcloud version. @theCalcaholic Thanks for your work! |
Can you tell me which config file this was and under which path? Maybe I could try this as well. |
I added this to the mysql config file in
|
I have the same issue and I can not update it any further as when I try to I get an error message ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ Looks like something with mariadb access |
Thanks so much! I tried this (and didnt even need to reboot). With the config change the manual backup worked again:
Since I am a low IT skill user I do not know what the config really did, but it solved this part of the issue. |
Just one more information: my Raspi still uses PHP 8.1.29 (not on PHP 8.3) What I did not read from the releasenotes is that |
@theCalcaholic do u have any idea about this? Nectcloud is running normally and i can do backups in ncp. I am however a bit worried, that my backups may be dysfunctional due to this db access problem, althou they look correct. |
That actually sounds like a separate issue. The original issue is related to timeouts when performing the database dump but doesn't have general issues with accessing the db. Do I understand correctly that this only affects automatic backups during updates, but manual backups from ncp-config still work? |
you are right, only the update process is affected. However, i am not yet sure it is related to the backup. any way to skip the backup in the update process for testing? |
|
That is the full output of the update attempt
|
Probably the (using password: NO) part is key here?
|
As an FYI: I faced mysql issues during nc-restore (as described in forum |
Thinking about doing so in a few days when I find time... |
Both the mysqldump configuration as well as a fix for the repeated autoupdate notifications are part of v1.55.2 |
Seems the mysql issue is present on another place in this was well...
Is there a manual way to update to 1.55.2? |
@FadeFx Yes, you can just run However, I doubt that your issue specifically will be fixed because it is a separate problem (and I honestly don't really know where to start looking for the cause atm) |
so your suggestion would also be to run nc-limits to reset DB config and then restore a backup? |
i have 'fixed' my issue now by resetting the root password of the database to empty using this manual: https://www.digitalocean.com/community/tutorials/how-to-reset-your-mysql-or-mariadb-root-password , changing this also in .my.cnf and in nextcloud config, now i am able to update. however, i think it is not good practice to have a open mysql database. is it somewhere possible to configure ncp to use a password for the root user? i thought it actually uses the password in .my.cnf |
That's correct, NCP uses the password in /root/.my.cnf |
Strange, that one had been correct as well... |
does it have to be
or
? |
System information
After NCP has autoupdated to v1.55.1 my NCP instance reports "Nextcloud was updated to 28.0.9" every single morning.
I do not know if actually a daily update somehow happens or if just the messaging is nuts.
Other than that the instance seems to be running normally.
NextCloudPi logs show the following entry:
Later the message turned into:
All this started on August 29th 2024.
At exactly this same time my auto backups stopped working.
The text was updated successfully, but these errors were encountered: