@chief said in Magic Mirror Blanks Several Hours:
@madscientist It was always black - if I don’t run with sudo it quits almost immediately. I’m not sure exactly what the issue was, but I went ahead and restored a backup from 2.4.1 and it’s working fine now (removed the update alert on the top bar).
If you need to run this as sudo then your installation probably has root as the owner of the files. A simple way to check this is log in as pi and type cd ~ and then ls -al you should see the list of files and directories and a column of pi pi (shows owner and group membership of the file or directory). If you see a lot of root root then you ran something which changed ownership of these files and directories…
ls -al
total 221604
drwxr-xr-x 17 pi pi 4096 Oct 10 16:00 .
drwxr-xr-x 27 pi pi 4096 Oct 10 10:33 ..
-rw-r--r-- 1 pi pi 24164 Oct 8 18:56 CHANGELOG.md
drwxr-xr-x 2 pi pi 4096 Oct 8 18:56 clientonly
drwxr-xr-x 2 pi pi 4096 Oct 8 19:00 config
-rw------- 1 pi pi 498610176 Oct 10 16:00 core
drwxr-xr-x 3 pi pi 4096 Oct 8 19:16 css
-rw-r--r-- 1 pi pi 856 Oct 8 18:56 dangerfile.js
-rw-r--r-- 1 pi pi 132 Oct 8 18:56 .eslintignore
-rw-r--r-- 1 pi pi 448 Oct 8 18:56 .eslintrc.json
drwxr-xr-x 3 pi pi 4096 Oct 8 19:00 fonts
drwxr-xr-x 8 pi pi 4096 Oct 10 10:33 .git
drwxr-xr-x 2 pi pi 4096 Oct 8 18:56 .github
-rw-r--r-- 1 pi pi 1074 Oct 8 18:56 .gitignore
-rw-r--r-- 1 pi pi 2385 Oct 8 18:56 Gruntfile.js
-rw-r--r-- 1 pi pi 2675 Oct 8 18:56 index.html
drwxr-xr-x 3 pi pi 4096 Oct 8 18:56 installers
drwxr-xr-x 2 pi pi 4096 Oct 8 18:56 js
-rw-r--r-- 1 pi pi 271 Oct 8 18:56 jsconfig.json
-rw-r--r-- 1 pi pi 1118 Oct 8 18:56 LICENSE.md
drwxr-xr-x 4 pi pi 4096 Oct 8 18:56 modules
-rw-r--r-- 1 pi pi 1040 Oct 8 18:56 module-types.ts
drwxr-xr-x 642 pi pi 20480 Oct 8 19:00 node_modules
-rw-r--r-- 1 pi pi 2195 Oct 8 18:56 package.json
-rw-r--r-- 1 pi pi 271341 Oct 8 19:00 package-lock.json
-rw-r--r-- 1 pi pi 14450 Oct 8 18:56 README.md
-rw-r--r-- 1 pi pi 142 Oct 8 18:56 run-start.sh
drwxr-xr-x 2 pi pi 4096 Oct 8 18:56 serveronly
-rw-r--r-- 1 pi pi 478 Oct 8 18:56 .snyk
drwxr-xr-x 2 pi pi 4096 Oct 8 18:56 splashscreen
-rw-r--r-- 1 pi pi 126 Oct 8 18:56 .stylelintrc
drwxr-xr-x 6 pi pi 4096 Oct 8 18:56 tests
drwxr-xr-x 2 pi pi 4096 Oct 8 18:56 translations
-rw-r--r-- 1 pi pi 285 Oct 8 18:56 .travis.yml
drwxr-xr-x 3 pi pi 4096 Oct 8 19:00 vendor
If you have a permissions issue, you can fix it easily by typing:
sudo chown -R pi:pi /home/pi
This will change owner and group membership to pi