Mastodon - cassé?

arf trop tard, je viens de supp l’appli… :frowning:

Pas grave, la restauration sera juste plus longue.

ça c’est arrêté là, c’est pas encore fini ? Ou c’est encore planté… ? :confused:

Erreur serveur inattendue (0 error)

+ sudo service nginx restart

+ sudo find /home/yunohost.backup/tmp/20180327-153709/conf/nginx/ -mindepth 1 -maxdepth 1 -name '*.d' -or -exec sudo cp -a '{}' /etc/nginx/conf.d/ ';'

+ backup_dir=/home/yunohost.backup/tmp/20180327-153709/conf/nginx

Exécution du script « /usr/share/yunohost/hooks/restore/29-conf_nginx »...

+ sudo service metronome restart

+ sudo cp -a /home/yunohost.backup/tmp/20180327-153709/conf/xmpp/var/. /var/lib/metronome

+ sudo cp -a /home/yunohost.backup/tmp/20180327-153709/conf/xmpp/etc/. /etc/metronome

+ backup_dir=/home/yunohost.backup/tmp/20180327-153709/conf/xmpp

Exécution du script « /usr/share/yunohost/hooks/restore/26-conf_xmpp »...

+ sudo service dovecot restart

+ sudo service postfix restart

+ sudo cp -a /home/yunohost.backup/tmp/20180327-153709/data/mail/. /var/mail/

+ backup_dir=/home/yunohost.backup/tmp/20180327-153709/data/mail

Exécution du script « /usr/share/yunohost/hooks/restore/23-data_mail »...

+ sudo service metronome reload

+ sudo service nginx reload

The SSOwat configuration has been generated

+ sudo yunohost app ssowatconf

+ sudo cp -a /home/yunohost.backup/tmp/20180327-153709/conf/ynh/certs/. /etc/yunohost/certs/

+ sudo mkdir -p /etc/yunohost/certs/

+ backup_dir=/home/yunohost.backup/tmp/20180327-153709/conf/ynh/certs

il s’arrête au début, c’est pas bon ça.

Non c’est le log de la GUI, elle se lis a l’envers.

j’ai tout ça encore avant…

Exécution du script « /usr/share/yunohost/hooks/restore/21-conf_ynh_certs »...

- 9000

- 5353

- 5269

- 5222

- 993

- 587

- 465

- 443

- 80

- 53

- 25

- 22

opened_ports:

The firewall has been reloaded

+ sudo yunohost firewall reload

+ sudo cp -a /home/yunohost.backup/tmp/20180327-153709/conf/ynh/firewall/. /etc/yunohost

+ backup_dir=/home/yunohost.backup/tmp/20180327-153709/conf/ynh/firewall

Exécution du script « /usr/share/yunohost/hooks/restore/20-conf_ynh_firewall »...

+ sudo cp -a /home/yunohost.backup/tmp/20180327-153709/data/home/. /home

+ backup_dir=/home/yunohost.backup/tmp/20180327-153709/data/home

Exécution du script « /usr/share/yunohost/hooks/restore/17-data_home »...

+ sudo cp -a /home/yunohost.backup/tmp/20180327-153709/conf/ssowat/. /etc/ssowat

+ backup_dir=/home/yunohost.backup/tmp/20180327-153709/conf/ssowat

Exécution du script « /usr/share/yunohost/hooks/restore/14-conf_ssowat »...

+ sudo mysqladmin -s -u root -pr5L9BdZQm7 reload

+ sudo chmod 400 /etc/yunohost/mysql

r5L9BdZQm7

+ sudo tee /etc/yunohost/mysql

+ echo r5L9BdZQm7

+ sudo mysqladmin -s -u root -pr5L9BdZQm7 password r5L9BdZQm7

+ '[' -z r5L9BdZQm7 ']'

+ '[' -z r5L9BdZQm7 ']'

+ new_pwd=r5L9BdZQm7

++ sudo cat /home/yunohost.backup/tmp/20180327-153709/conf/ynh/mysql/root_pwd

+ curr_pwd=r5L9BdZQm7

++ sudo cat /etc/yunohost/mysql

+ '[' -f /etc/yunohost/mysql ']'

+ service mysql status

+ backup_dir=/home/yunohost.backup/tmp/20180327-153709/conf/ynh/mysql

Exécution du script « /usr/share/yunohost/hooks/restore/11-conf_ynh_mysql »...

+ sudo service ssh restart

+ sudo cp -a /home/yunohost.backup/tmp/20180327-153709/conf/ssh/. /etc/ssh

+ '[' -d /etc/ssh/ ']'

+ backup_dir=/home/yunohost.backup/tmp/20180327-153709/conf/ssh

Exécution du script « /usr/share/yunohost/hooks/restore/08-conf_ssh »...

+ rm -rf /tmp/1522179360

+ service slapd start

+ chown -R openldap: /var/lib/ldap

+ slapadd -F /etc/ldap/slapd.d -b dc=yunohost,dc=org -l /home/yunohost.backup/tmp/20180327-153709/conf/ldap/dc=yunohost-dc=org.ldif

+ mkdir -p /var/lib/ldap

+ mv /var/lib/ldap /tmp/1522179360

+ chown -R openldap: /etc/ldap/slapd.d

+ slapadd -F /etc/ldap/slapd.d -b cn=config -l /home/yunohost.backup/tmp/20180327-153709/conf/ldap/cn=config.master.ldif

+ cp -a /home/yunohost.backup/tmp/20180327-153709/conf/ldap/slapd.conf /etc/ldap/slapd.conf

+ mkdir -p /etc/ldap/slapd.d

+ mv /etc/ldap/slapd.d /tmp/1522179360

+ mkdir -p /tmp/1522179360

+ TMPDIR=/tmp/1522179360

++ date +%s

+ service slapd stop

+ [[ 0 -ne 0 ]]

+ backup_dir=/home/yunohost.backup/tmp/20180327-153709/conf/ldap

Exécution du script « /usr/share/yunohost/hooks/restore/05-conf_ldap »...

Exécution des scripts de restauration...

Extraction des fichiers nécessaires depuis l’archive…

je me rappelle avoir déjà extrait une archive de sauvegarde et l’avoir re-packagé pour qu’il n’y ai que mastodon dedans mais de mémoire c’est galère.

Mais sinon on peut demander à juste restaurer une app en particulier non ? Je ne sais pas si c’est possible depuis la webadmin, mais en ligne de commande, il “suffit” de faire quelque chose comme yunohost backup restore nom_de_l'archive --ignore-system --apps mastodon

Merci d’avoir essayé :hugs:
heureusement j’étais tout seul sur mon instance

Tant que tu fait pas comme moi qui ai supprimé mon instance en croyant être sur mon serveur de test…

1 Like

Oui c’est normal que la restauration ne fonctionne pas depuis l’interface d’administration parce que le service nginx est redémarré lors de la restauration de la configuration.

Ce soir j’essai de passer la restauration via la cli, pour voir.

Aïe…

sudo yunohost backup restore 20180327-153709.tar.gz
Warning: YunoHost is already installed
Do you really want to restore an already installed system? [y/N]: y
Error: Unknown local backup archive named '20180327-153709.tar.gz'

Du coup j’ai essayé de re installer Mastodon mais… non :cry:

Choose the application language [en_EN | fr_FR] (default: fr_FR): 
Warning: 'yunohost app checkurl' is deprecated and will be removed in the future
Warning: Cloning into '/opt/mastodon/.rbenv'...
Warning: Cloning into '/opt/mastodon/.rbenv/plugins/ruby-build'...
Warning: Cloning into '/opt/mastodon/live'...
Warning: Note: checking out 'v2.3.3'.
Warning: 
Warning: You are in 'detached HEAD' state. You can look around, make experimental
Warning: changes and commit them, and you can discard any commits you make in this
Warning: state without impacting any branches by performing another checkout.
Warning: 
Warning: If you want to create a new branch to retain commits you create, you may
Warning: do so (now or later) by using -b with the checkout command again. Example:
Warning: 
Warning:   git checkout -b new_branch_name
Warning: 
Warning: HEAD is now at 9924ca8... Fix UniqueUsernameValidator comparison
Warning: Downloading ruby-2.5.0.tar.bz2...
Warning: -> https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.0.tar.bz2
Warning: Installing ruby-2.5.0...
Warning: Installed ruby-2.5.0 to /opt/mastodon/.rbenv/versions/2.5.0
Warning: 
Warning: fe_sendauth: no password supplied
Warning: Couldn't create database for {"adapter"=>"postgresql", "pool"=>5, "timeout"=>5000, "encoding"=>"unicode", "database"=>"mastodon_production", "username"=>"mastodon", "password"=>nil, "host"=>"/var/run/postgresql", "port"=>5432, "prepared_statements"=>true}
Warning: rails aborted!
Warning: PG::ConnectionBad: fe_sendauth: no password supplied
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/pg-0.21.0/lib/pg.rb:56:in `initialize'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/pg-0.21.0/lib/pg.rb:56:in `new'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/pg-0.21.0/lib/pg.rb:56:in `connect'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:695:in `connect'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:220:in `initialize'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_handling.rb:116:in `retrieve_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_handling.rb:88:in `connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/tasks/postgresql_database_tasks.rb:10:in `connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/tasks/postgresql_database_tasks.rb:19:in `create'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/tasks/database_tasks.rb:117:in `create'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/tasks/database_tasks.rb:137:in `block in create_current'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/tasks/database_tasks.rb:304:in `block in each_current_configuration'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/tasks/database_tasks.rb:303:in `each'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/tasks/database_tasks.rb:303:in `each_current_configuration'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/tasks/database_tasks.rb:136:in `create_current'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/railties/databases.rake:27:in `block (2 levels) in <top (required)>'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:21:in `block in perform'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:18:in `perform'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/command.rb:46:in `invoke'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
Warning: bin/rails:4:in `<main>'
Warning: Tasks: TOP => db:setup => db:schema:load_if_ruby => db:create
Warning: (See full trace by running task with --trace)
Warning: ** Invoke assets:precompile (first_time)
Warning: ** Invoke assets:environment (first_time)
Warning: ** Execute assets:environment
Warning: ** Invoke environment (first_time)
Warning: ** Execute environment
Warning: ** Invoke yarn:install (first_time)
Warning: ** Execute yarn:install
Warning: ** Execute assets:precompile
Warning: I, [2018-03-28T15:22:58.461714 #20501]  INFO -- : Writing /opt/mastodon/live/public/assets/doorkeeper/admin/application-50d68ad91b15067c63771e4811d971d7a56406c472a878021d1fb95d066efd8d.css
Warning: I, [2018-03-28T15:22:58.462717 #20501]  INFO -- : Writing /opt/mastodon/live/public/assets/doorkeeper/admin/application-50d68ad91b15067c63771e4811d971d7a56406c472a878021d1fb95d066efd8d.css.gz
Warning: I, [2018-03-28T15:22:58.492340 #20501]  INFO -- : Writing /opt/mastodon/live/public/assets/doorkeeper/application-29873392fba1f6a4fd5359214f854d900e24920096164f6e5343dbc0de69df0d.css
Warning: I, [2018-03-28T15:22:58.493038 #20501]  INFO -- : Writing /opt/mastodon/live/public/assets/doorkeeper/application-29873392fba1f6a4fd5359214f854d900e24920096164f6e5343dbc0de69df0d.css.gz
Warning: I, [2018-03-28T15:22:59.032945 #20501]  INFO -- : Writing /opt/mastodon/live/public/assets/pghero/application-3807e140de3bf52364d575c9c1cba1ed730999b53e2781da4bf8bb15b01791bf.js
Warning: I, [2018-03-28T15:22:59.034088 #20501]  INFO -- : Writing /opt/mastodon/live/public/assets/pghero/application-3807e140de3bf52364d575c9c1cba1ed730999b53e2781da4bf8bb15b01791bf.js.gz
Warning: I, [2018-03-28T15:22:59.061608 #20501]  INFO -- : Writing /opt/mastodon/live/public/assets/pghero/application-c2618b70600dfedb0f3ba1f916d97a2f93a3f265aba10356abb763bd663d0cbd.css
Warning: I, [2018-03-28T15:22:59.062842 #20501]  INFO -- : Writing /opt/mastodon/live/public/assets/pghero/application-c2618b70600dfedb0f3ba1f916d97a2f93a3f265aba10356abb763bd663d0cbd.css.gz
Warning: ** Invoke webpacker:compile (first_time)
Warning: ** Invoke webpacker:verify_install (first_time)
Warning: ** Invoke webpacker:check_node (first_time)
Warning: ** Execute webpacker:check_node
Warning: ** Invoke webpacker:check_yarn (first_time)
Warning: ** Execute webpacker:check_yarn
Warning: ** Invoke webpacker:check_binstubs (first_time)
Warning: ** Execute webpacker:check_binstubs
Warning: ** Execute webpacker:verify_install
Warning: ** Invoke environment
Warning: ** Execute webpacker:compile
Warning: ** Invoke assets:generate_static_pages (first_time)
Warning: ** Invoke assets:environment
Warning: ** Execute assets:generate_static_pages
Warning: Created symlink from /etc/systemd/system/multi-user.target.wants/mastodon-sidekiq.service to /etc/systemd/system/mastodon-sidekiq.service.
Warning: Created symlink from /etc/systemd/system/multi-user.target.wants/mastodon-streaming.service to /etc/systemd/system/mastodon-streaming.service.
Warning: Created symlink from /etc/systemd/system/multi-user.target.wants/mastodon-web.service to /etc/systemd/system/mastodon-web.service.
Warning: rails aborted!
Warning: PG::ConnectionBad: fe_sendauth: no password supplied
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/pg-0.21.0/lib/pg.rb:56:in `initialize'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/pg-0.21.0/lib/pg.rb:56:in `new'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/pg-0.21.0/lib/pg.rb:56:in `connect'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:695:in `connect'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:220:in `initialize'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_handling.rb:116:in `retrieve_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_handling.rb:88:in `connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/model_schema.rb:471:in `load_schema!'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/attributes.rb:233:in `load_schema!'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/attribute_decorators.rb:50:in `load_schema!'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/model_schema.rb:464:in `block in load_schema'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/model_schema.rb:461:in `load_schema'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/model_schema.rb:343:in `columns_hash'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/table_metadata.rb:39:in `has_column?'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/relation/predicate_builder.rb:91:in `block in create_binds_for_hash'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/relation/predicate_builder.rb:89:in `each'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/relation/predicate_builder.rb:89:in `create_binds_for_hash'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/relation/predicate_builder.rb:34:in `create_binds'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/relation/where_clause_factory.rb:21:in `build'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/relation/query_methods.rb:612:in `where!'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/relation/query_methods.rb:605:in `where'
Warning: /opt/mastodon/live/lib/tasks/mastodon.rake:403:in `block (2 levels) in <top (required)>'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:21:in `block in perform'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:18:in `perform'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/command.rb:46:in `invoke'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
Warning: bin/rails:4:in `<main>'
Warning: Tasks: TOP => mastodon:make_admin
Warning: (See full trace by running task with --trace)
Warning: rails aborted!
Warning: PG::ConnectionBad: fe_sendauth: no password supplied
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/pg-0.21.0/lib/pg.rb:56:in `initialize'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/pg-0.21.0/lib/pg.rb:56:in `new'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/pg-0.21.0/lib/pg.rb:56:in `connect'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:695:in `connect'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:220:in `initialize'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_handling.rb:116:in `retrieve_connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/connection_handling.rb:88:in `connection'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/model_schema.rb:471:in `load_schema!'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/attributes.rb:233:in `load_schema!'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/attribute_decorators.rb:50:in `load_schema!'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/model_schema.rb:464:in `block in load_schema'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/model_schema.rb:461:in `load_schema'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/model_schema.rb:343:in `columns_hash'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/core.rb:208:in `block in find_by'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/core.rb:208:in `each'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/core.rb:208:in `all?'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.4/lib/active_record/core.rb:208:in `find_by'
Warning: /opt/mastodon/live/lib/tasks/mastodon.rake:442:in `block (2 levels) in <top (required)>'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:21:in `block in perform'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/commands/rake/rake_command.rb:18:in `perform'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/command.rb:46:in `invoke'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in `<top (required)>'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.1.5/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
Warning: /opt/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
Warning: bin/rails:4:in `<main>'
Warning: Tasks: TOP => mastodon:confirm_email
Warning: (See full trace by running task with --trace)
Warning: !!
Warning:   mastodon install's script has encountered an error. Installation was cancelled.
Warning: !!
Warning: /usr/share/yunohost/helpers.d/print: line 4: $1: unbound variable
Warning: Removed symlink /etc/systemd/system/multi-user.target.wants/mastodon-web.service.
Warning: Removed symlink /etc/systemd/system/multi-user.target.wants/mastodon-sidekiq.service.
Warning: Removed symlink /etc/systemd/system/multi-user.target.wants/mastodon-streaming.service.
Warning: dropdb: database removal failed: ERROR:  database "mastodon_production" does not exist
Warning: /etc/cron.d/mastodon wasn't deleted because it doesn't exist.
Warning: /usr/bin/ruby wasn't deleted because it doesn't exist.
Success! The SSOwat configuration has been generated
Error: Installation failed

Bonsoir @vincentux ,

Peut-être aurais-tu dû faire comme le proposait @Aleks avec dans ton cas :

yunohost backup restore 20180327-153709 --ignore-system --apps mastodon

ppr

A oui,
bon j’essai demain… :stuck_out_tongue:

Courage !!!
ça va fonctionner

… pas moyen, quand ça veut pas, ça veut pas… :confused:
Je suis en train d’ouvrir un compte chez Hetzner et refaire une installation de zéro…

AH, désolé la restauration conseillé par ppr ne fonctionne pas ?