!gvRsI7cG1o9SVr56:pijean.ovh

YunoHost support room (on Matrix)

1026 Members
Self-hosting made easy. Read the support guidelines: https://yunohost.org/help-me Support room bridged with XMPP and IRC.167 Servers

Load older messages


SenderMessageTime
16 Oct 2024
@Salamandar:matrix.orgSalamandar another way to trick yunohost into restoring it is:
  • extract your backup

  • patch the restore script (split into ynh_install_deps or something)

  • re-zip the backup

  • restore and enjoy

09:38:43
@Salamandar:matrix.orgSalamandar yeah so in the restore script, find the add fpm config line, it should be :
# Recreate a dedicated php-fpm config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --package="$extra_php_dependencies"

, and split it into :
ynh_install_app_dependencies "$extra_php_dependencies"

# Recreate a dedicated php-fpm config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
09:41:48
@Salamandar:matrix.orgSalamandarYour backup file should be in /home/yunohost.backups/archive09:42:28
@isaaac:matrix.krashboyz.orgisAAAc
In reply to @Salamandar:matrix.org
Your backup file should be in /home/yunohost.backups/archive

yes it is ,

root@krashboyz:/home/yunohost.backup/archives# ls -al |grep wordpress__4
-rw-r--r-- 1 root root           315 Oct 16 09:44 wordpress__4-pre-upgrade2.info.json
lrwxrwxrwx 1 root root            63 Oct 16 09:44 wordpress__4-pre-upgrade2.tar -> /home/yunohost.backup/archives/wordpress__4-pre-upgrade2.tar.gz
-rw-r--r-- 1 root root     108679204 Oct 16 09:44 wordpress__4-pre-upgrade2.tar.gz
09:43:58
@isaaac:matrix.krashboyz.orgisAAAcok , so this script wich is in the tgz ? apps/wordpress__4/settings/scripts/restore09:52:18
@isaaac:matrix.krashboyz.orgisAAAcok i see the lines09:54:48
@isaaac:matrix.krashboyz.orgisAAAc i'll try this,
thx Salamandar
09:54:57
@isaaac:matrix.krashboyz.orgisAAAc Salamandar: wp back online \o/ 11:03:02
@Salamandar:matrix.orgSalamandarSorry i was not available ><'11:15:13
@Salamandar:matrix.orgSalamandarBut yeah o/11:15:15
@isaaac:matrix.krashboyz.orgisAAAccurrent wordpress_ynh is so 5.8~ynh1 , but inside wordpress , wp version is 6.6.2. i did a dump of wordpress__4.sql & a /var/www/wordpress__4 backup in a wordpress__4.tar.gz (tar -cvzpf)11:42:52
@isaaac:matrix.krashboyz.orgisAAAc creating a new subdomain, and deploying a fresh wordpress_ynh on it,
i'll try to inject the dump and the data tgz,
i'll probably need to chown -R <new_wordpess_user_name>:
and mysql <new_bdd_name> < wordpress__4.sql
11:46:49
@isaaac:matrix.krashboyz.orgisAAAc Salamandar: ^ do you think it should work ? 11:47:14
@Salamandar:matrix.orgSalamandari don't know much about wordpress11:52:43
@Salamandar:matrix.orgSalamandarso idk11:52:51
@Salamandar:matrix.orgSalamandari think there should be some migration to apply to the db11:53:02
@Salamandar:matrix.orgSalamandarwhy not just uprade the app ?11:53:07
@Salamandar:matrix.orgSalamandarhttps://github.com/wp-cli/wp-cli/issues/158611:54:14
@Salamandar:matrix.orgSalamandarlooks like your issue11:54:18
@isaaac:matrix.krashboyz.orgisAAAc
In reply to @Salamandar:matrix.org
why not just uprade the app ?
i wish ^^
12:25:32
@isaaac:matrix.krashboyz.orgisAAAc
In reply to @Salamandar:matrix.org
looks like your issue
i'll have a look further yes
12:25:45
@Salamandar:matrix.orgSalamandarHmmm12:28:55
@Salamandar:matrix.orgSalamandarDoes yunohost backup data_ldap, and restore overwrite the existing users ?12:29:13
@tag:lostpod.meTagI don't know, but if you're talking about restoring saperlipopette to apicius, that would be fine since there's no conflicts12:31:29
@Salamandar:matrix.orgSalamandaryeah that's what I'm talking about12:31:48
@Salamandar:matrix.orgSalamandar yeah but it just restores the awful ldap fileā€¦ meh 12:32:03
@tag:lostpod.meTagit does a slapcat/slapadd too12:34:21
@Salamandar:matrix.orgSalamandarok12:43:27
@Salamandar:matrix.orgSalamandarwell12:43:29
@Salamandar:matrix.orgSalamandar let's do it gloups 12:43:35

Show newer messages


Back to Room ListRoom Version: 10