Read the statement by Michael Teeuw here.
MMM-next-episode
-
@rambomonkey said in mmm-next-episode:
No /root/
also, NEVER run this stuff as root…
is that the user you used when you installed the module???
-
@sdetweil to be honest I cannot remember if I used root or not:
root@mmnew:~/MagicMirror/MMM-next-episode# ls -laF
total 108
drwxr-xr-x 6 root root 4096 Aug 21 19:22 ./
drwxr-xr-x 15 root root 4096 Aug 19 20:51 …/
drwxr-xr-x 8 root root 4096 Aug 19 18:45 .git/
drwxr-xr-x 3 root root 4096 Aug 19 18:45 .github/
-rwxr-xr-x 1 root root 31 Aug 19 18:45 .gitignore*
-rw-r–r-- 1 root root 35149 Aug 19 18:45 LICENSE
-rw-r–r-- 1 root root 602 Aug 19 18:45 MMM-next-episode.css
-rw-r–r-- 1 root root 5798 Aug 19 18:45 MMM-next-episode.js
-rw-r–r-- 1 root root 4613 Aug 19 18:45 README.md
drwxr-xr-x 2 root root 4096 Aug 19 18:45 img/
-rw-r–r-- 1 root root 2904 Aug 19 18:45 node_helper.js
drwxr-xr-x 33 root root 4096 Aug 19 18:45 node_modules/
-rw-r–r-- 1 root root 13972 Aug 19 18:45 package-lock.json
-rw-r–r-- 1 root root 544 Aug 19 18:45 package.json
root@mmnew:~/MagicMirror/MMM-next-episode# -
@rambomonkey uou can see root owns the files
if you try to run as a normal user, you dont have permission to access them at all
thus the not found
-
@sdetweil Thanks for the info, sorry im new to Linux. Would you happen to know how I could give a specific user the permissions?
-
the permissions are 3 sets of 3 rights
user read/write/execute
group anyone in this group
other anybody not specified abovethe commands
are chmod which can set the individual
permissions using flags or a number
777 means all for all
770 mean user and group users can do anything, everyone else no accessthe there is chgrp to change the group
all commands have help
–helpand most have a page in the manuals
man commandname
man chmod
man chgrpyou
eill need root permission to take root
permissions awaysudo gives root permission for this command
-
@rambomonkey
So this is how you want your Magic mirror setup to look like.
yeah no /root/ that can create a loads of headaches like this.
-
@PierreGode @sdetweil thanks you two, think I will just re-install as a normal user, you live and learn lol.
-
@PierreGode Hi, I have now re-installed it under user petek and I’m still seeing the same issue:
petek@MagicMirror-v2:/home/MagicMirror$ ls -la /home/MagicMirror/modules/MMM-next-episode/MMM-next-episode.js
-rw-r–r-- 1 petek petek 5798 Aug 26 19:34 /home/MagicMirror/modules/MMM-next-episode/MMM-next-episode.js
petek@MagicMirror-v2:/home/MagicMirror$ -
@rambomonkey I just installed the module
git clone cd MMM-next-episode npm install
used the sample config from the readme
(typo missing : after password in the readme){ module: "MMM-next-episode", position: "bottom_right", header: "Next-Episode", config: { id: '', hash_key: '', username: '', password: '', displaySeasonAndEpisode: false, displayShowingOn: false, displayEpisodeName: false, maxdays: 7, ShowThumbnail: true, ThumbnailSize: 'small', updateInterval: 180 } },
and see the qr code on the screen under the header
-
@sdetweil Thank you so much, its now working!