YunoHost-Apps / friendica_ynh

Friendica package for YunoHost
http://friendi.ca/
Other
11 stars 13 forks source link

Cannot backup Friendica before upgrade. #84

Closed KanenasPL closed 1 year ago

KanenasPL commented 1 year ago

Describe the bug

An attempt to upgrade from previous version unsuccessful with internal error (cannot backup previous version).

Context

Previous version: 2022.06~ynh1

Upgrading to: 2022.10~ynh1

Steps to reproduce

Logs

Logs: https://paste.yunohost.org/raw/uhuhidosid Error message from GUI Screenshot_20221123_184237

Zeitverschreib commented 1 year ago

I'm getting the same error when trying to back up an existing 2022.12 instance:

Info: Backing up the MySQL database... Warnung: mysqldump: Error 1412: Table definition has changed, please retry transaction when dumping tableworkerqueueat row: 0

What can I do?

sekretaerbaer commented 1 year ago

connect to the server via ssh and with sudo su become root then change to the directory /var/www/friendica and execute the command bin/console maintenance 1 . The command puts the Friendica in maintenance mode and stops the database.

then you should be able to make a backup via the web interface as usual.

Is the backup created Friendica again with the command bin/console maintenance 0 from the maintenance mode back.

KanenasPL commented 1 year ago

Thank you. All clear.