Read the statement by Michael Teeuw here.
Update from 2.15 to 2.16
-
@andyyy black screen is probably because of the removed request and other libs in 2.16
look at the messages where start mm
if npm start, that window
if pm2, the pm2 logs --lines=100u should see a module not found message
-
@andyyy my script won’t help if u do it manually.
but it does give u the chance to save the files so you can continue ( using git stash ) -
I did revert to the last working backup and tried your update script. And here it failed updating with same error message in the log file.
Should I delete all the files in the error file as I did?
-
@andyyy I’ll check out my script
untracked may be the cause.
wonder how u got the files, but not in git…
but the black screen isn’t because of those
-
@andyyy just do git stash
or delete them if u don’t know what they are.then try again
-
@andyyy can u send me the ~/MagiMirror/installers/upgrade.log
| doah, not install , upgrade log… yeesh
my email is the same user ID at gmail
-
I can recreate the problem in my script
I bet u tried the develop branch. and switched back to master, and these files aren’t in master on 2.15, but the final versions are different than the develop versions.
-
Solved for now :)
I did:
sudo git fetch --all sudo git reset --hard origin/master sudo git pull origin master
My system is still very fragile. When do npm install after that, the screen turn black after reboot.
-
@andyyy said in Update from 2.15 to 2.16:
the screen turn black after reboot.
again, this si because libraries in 2.15 were removed in 2.16 and some modules didn’t document their requirements properly…
find the MM startup messages (npm start or pm2 logs)
and look for ‘module not found’I REALLY hate reset --hard…
-
@andyyy I uploaded fixes to the upgrade script to handle this…