Read the statement by Michael Teeuw here.
Black Screen after Booting Up
-
@nickymac12 you can delete files with the
rmcommand. 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
-rswitch. Example:rm -r directory-nameAnd 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
lscommand to see a list of files in the current directoryuse the
cdcommand to enter a directory e.g.:cd directory-nameuse the the command
cd ..to go back up to the parent directorythe
pwdcommand will tell show the path to the current directorycd ~will take you your home directory -
how would I restore my config file? Sorry I am new to using terminal and don’t really know all the commands.
-
@nickymac12 type:
cd ~/MagicMirror/config(Takes you to the MM config directory)mv config.js.bak config.js(Restores your config file)pm2 restart mm(restarts MagicMirror) -
@j.e.f.f said in Black Screen after Booting Up:
@nickymac12 ok. Try installing the sample config file.
Type:cd ~/MagicMirror/configmv config.js config.js.bak(this will back up your existing config)cp config.js.sample config.jspm2 restart mmIf magic mirror starts, then you either have a problem with your config or with a module.
I checked the sample config. No other modules installed only the original. But i still have a blank screen…
What would you propose? -
@fox I’d suggest backing up your MagicMirror folder (i.e. rename it) and try a fresh install. By renaming it you won’t lose anything.
-
@j.e.f.f said in Black Screen after Booting Up:
@fox I’d suggest backing up your MagicMirror folder (i.e. rename it) and try a fresh install. By renaming it you won’t lose anything.
I Think so
I just punched thebash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"in the terminal…
@j.e.f.f do you know how i can solve the two pm2 sessions after a fresh install?
With pm2 status i get always two MagicMirror/mm instances.
If i kill one, it comes back after a few seconds -
@fox said in Black Screen after Booting Up:
With pm2 status i get always two MagicMirror/mm instances.
If i kill one, it comes back after a few secondstype
pm2 stop mmorpm2 stop mm.shin a terminal
