J’ai suivi les instructions de migration :
- Copié app.yml dans import.yml
- Ajouté le modèle phpbb3.
- Arrêté l’application
- Lancé la reconstruction de l’application d’importation
J’ai reçu le message d’erreur suivant.
FAILED
--------------------
Errno::ENOENT: No such file or directory @ rb_sysopen - /etc/service/unicorn/run
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/replace_command.rb:11:in `read'
replace failed with the params {"tag"=>"precompile", "filename"=>"/etc/service/unicorn/run", "from"=>"# before precompile", "to"=>"PRECOMPILE_ON_BOOT=0"}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
c36434159c67d984490ca9d63ea1162a4a8124f39e8f6cf63328676622
J’ai suivi les instructions comme d’autres l’ont indiqué en :
nano templates/import/phpbb3.template.yml
Commenté la ligne suivante :
hooks:
after_web_config:
- exec:
cd: /etc/service
cmd:
#- rm -R unicorn
- rm -R nginx
- rm -R cron
La reconstruction s’est terminée proprement. Je place cela avec la solution dans un seul message pour les autres.