Read the statement by Michael Teeuw here.
Black Screen after Booting Up
-
@nickymac12 type
pm2 logs mm
-
@nickymac12 Also, at this point, you can start disabling modules one by one until MM starts. That should help you figure out the culprit.
-
@j.e.f.f all it responded with was
“Spawning PM2 daemon with pm2_home=/home/pi/.pm2” -
@nickymac12 ok. Try installing the sample config file.
Type:cd ~/MagicMirror/config
mv config.js config.js.bak
(this will back up your existing config)cp config.js.sample config.js
pm2 restart mm
If magic mirror starts, then you either have a problem with your config or with a module.
-
So, unfortunately, I only had an 8gb sd card so I used that in my Pi and it is full so it will not write config.js.sample because there is not enough room…
-
@nickymac12 Aha! I’d say that might be your problem. See if you can free up some space, then restore your config file, and restart MM
-
Oh! How can I clear up space remotely?
-
@nickymac12 you can delete files with the
rm
command. Be careful with this, because it can’t be undone.Say you wanted to delete some pictures you have in a folder in you home directory. Navigate to that directory like so:
cd ~/photo-directory-name
(whatever the folder name might be)rm file-name.jpg
(this will permanently delete the file)You can remove entire directories with the
-r
switch. Example:rm -r directory-name
And be sure to double-check your typing before you hit enter. deleting things this way is not recoverable.
-
Is there a way to see what directories or files I have so I know what I can delete?
-
@nickymac12 yes.
Use the
ls
command to see a list of files in the current directoryuse the
cd
command to enter a directory e.g.:cd directory-name
use the the command
cd ..
to go back up to the parent directorythe
pwd
command will tell show the path to the current directorycd ~
will take you your home directory