Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[fix] Do not log migration to stretch in /tmp/. Issue #1280 #632
Log file will be erased at reboot. Sometimes the dist-upgrade process goes bad, and the server need a manual (and forced) reboot.
Use the /var/log/yunohost folder, which already exists.
How to test
Take a jessie server, install yunohost 2.x, launch the migration, crash your machine during migration, hard-reboot and see if a log file exists in /var/log/yunohost.