Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

UpStatsBoard - Usenet/Plex/Web Stats GUI - install.sh - Unraid 5.*/6.*

Featured Replies

  • Author

.0.7 release

 

.0.7 - changed install directories to variables.

 

  • 2 weeks later...
  • Replies 67
  • Views 14.2k
  • Created
  • Last Reply
  • Author

added 2nd installx64.sh script for Unraid 6.0

sorry...i am very new to linux and packages...i got a good handle generally but can't quite pin down the error here...any thoughts?

 

2014-02-03 22:17:43 (16.5 MB/s) - `/boot/config/plugins/UpStatsBoard/run.sh' saved [613/613]

./install.sh: line 98: /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/UpStatsBoard/stop.sh: No such file or directory
Cron restarted
/boot/config/plugins/UpStatsBoard/run.sh: line 12: cd: /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/UpStatsBoard: No such file or directory
curl: error while loading shared libraries: libssl.so.1: cannot open shared object file: No such file or directory
npm http GET https://registry.npmjs.org/n

npm ERR! Error: SSL Error: CERT_UNTRUSTED
npm ERR!     at ClientRequest.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/main.js:483:26)
npm ERR!     at ClientRequest.g (events.js:156:14)
npm ERR!     at ClientRequest.emit (events.js:67:17)
npm ERR!     at HTTPParser.onIncoming (http.js:1294:11)
npm ERR!     at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:91:29)
npm ERR!     at CleartextStream.ondata (http.js:1176:24)
npm ERR!     at CleartextStream._push (tls.js:375:27)
npm ERR!     at SecurePair.cycle (tls.js:734:20)
npm ERR!     at EncryptedStream.write (tls.js:130:13)
npm ERR!     at Socket.ondata (stream.js:38:26)
npm ERR! You may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>
npm ERR!
npm ERR! System Linux 3.9.11p-unRAID
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "n"
npm ERR! cwd /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata
npm ERR! node -v v0.6.17
npm ERR! npm -v 1.1.21
npm ERR! message SSL Error: CERT_UNTRUSTED
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/npm-debug.log
npm not ok
sudo: n: command not found
npm ERR! Couldn't read dependencies.

npm ERR! Error: ENOENT, open '/mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/package.json'
npm ERR! You may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>
npm ERR!
npm ERR! System Linux 3.9.11p-unRAID
npm ERR! command "node" "/usr/bin/npm" "instal"
npm ERR! cwd /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata
npm ERR! node -v v0.6.17
npm ERR! npm -v 1.1.21
npm ERR! path /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/package.json
npm ERR! code ENOENT
npm ERR! message ENOENT, open '/mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/package.json'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/npm-debug.log
npm not ok
Cron restarted

Assuming I was to get this installed what would the address be to view this stats page? I'm assuming its a web page

  • Author

sorry...i am very new to linux and packages...i got a good handle generally but can't quite pin down the error here...any thoughts?

 

2014-02-03 22:17:43 (16.5 MB/s) - `/boot/config/plugins/UpStatsBoard/run.sh' saved [613/613]

./install.sh: line 98: /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/UpStatsBoard/stop.sh: No such file or directory
Cron restarted
/boot/config/plugins/UpStatsBoard/run.sh: line 12: cd: /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/UpStatsBoard: No such file or directory
curl: error while loading shared libraries: libssl.so.1: cannot open shared object file: No such file or directory
npm http GET https://registry.npmjs.org/n

npm ERR! Error: SSL Error: CERT_UNTRUSTED
npm ERR!     at ClientRequest.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/main.js:483:26)
npm ERR!     at ClientRequest.g (events.js:156:14)
npm ERR!     at ClientRequest.emit (events.js:67:17)
npm ERR!     at HTTPParser.onIncoming (http.js:1294:11)
npm ERR!     at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:91:29)
npm ERR!     at CleartextStream.ondata (http.js:1176:24)
npm ERR!     at CleartextStream._push (tls.js:375:27)
npm ERR!     at SecurePair.cycle (tls.js:734:20)
npm ERR!     at EncryptedStream.write (tls.js:130:13)
npm ERR!     at Socket.ondata (stream.js:38:26)
npm ERR! You may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>
npm ERR!
npm ERR! System Linux 3.9.11p-unRAID
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "n"
npm ERR! cwd /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata
npm ERR! node -v v0.6.17
npm ERR! npm -v 1.1.21
npm ERR! message SSL Error: CERT_UNTRUSTED
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/npm-debug.log
npm not ok
sudo: n: command not found
npm ERR! Couldn't read dependencies.

npm ERR! Error: ENOENT, open '/mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/package.json'
npm ERR! You may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <[email protected]>
npm ERR!
npm ERR! System Linux 3.9.11p-unRAID
npm ERR! command "node" "/usr/bin/npm" "instal"
npm ERR! cwd /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata
npm ERR! node -v v0.6.17
npm ERR! npm -v 1.1.21
npm ERR! path /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/package.json
npm ERR! code ENOENT
npm ERR! message ENOENT, open '/mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/package.json'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /mnt/disk3/_server.Tower.apps/upStatsBoard/appdata/npm-debug.log
npm not ok
Cron restarted

 

Do you have a Cache drive in your setup?  This looks like its installing on Disk3 and my install script is set for the cache drive?

  • Author

Assuming I was to get this installed what would the address be to view this stats page? I'm assuming its a web page

 

Its just the IP address of your unRAID box and the port as defined in the config.js.

Assuming I was to get this installed what would the address be to view this stats page? I'm assuming its a web page

 

Its just the IP address of your unRAID box and the port as defined in the config.js.

 

You've done so much why not put it all in an plg for the noobs here.  :)

I don't have a cache drive...i changed the variables to my install directory....will that not work for the rest of the install?

  • Author

Assuming I was to get this installed what would the address be to view this stats page? I'm assuming its a web page

 

Its just the IP address of your unRAID box and the port as defined in the config.js.

 

You've done so much why not put it all in an plg for the noobs here.  :)

 

I'm still a noob myself and I'm trying to make one, but failing miserably :)

Assuming I was to get this installed what would the address be to view this stats page? I'm assuming its a web page

 

Its just the IP address of your unRAID box and the port as defined in the config.js.

 

In that case hats off to you. i will follow the directions, also does this interfere with Dynamix WebGUI?

You've done so much why not put it all in an plg for the noobs here.  :)

 

I'm still a noob myself and I'm trying to make one, but failing miserably :)

 

awesome

  • Author

I don't have a cache drive...i changed the variables to my install directory....will that not work for the rest of the install?

 

hmmm, it should.  I've updated my run.sh script.  Can you try re-installing :)

I just have to ask, from your demo page, what's up with all the BEARS?

  • Author

I just have to ask, from your demo page, what's up with all the BEARS?

 

I'm not the creator of this wonderful webpage,  I only found a way to install it on unRAID and I link'd to his demo...

 

Assuming I was to get this installed what would the address be to view this stats page? I'm assuming its a web page

 

Its just the IP address of your unRAID box and the port as defined in the config.js.

 

You've done so much why not put it all in an plg for the noobs here.  :)

 

I'm still a noob myself and I'm trying to make one, but failing miserably :)

 

Forget a plg and use Boiler: http://getboiler.com

 

It even has a great step-by-step guide: http://getboiler.com/guides/make-your-own-package/

  • Author

 

Assuming I was to get this installed what would the address be to view this stats page? I'm assuming its a web page

 

Its just the IP address of your unRAID box and the port as defined in the config.js.

 

You've done so much why not put it all in an plg for the noobs here.  :)

 

I'm still a noob myself and I'm trying to make one, but failing miserably :)

 

Forget a plg and use Boiler: http://getboiler.com

 

It even has a great step-by-step guide: http://getboiler.com/guides/make-your-own-package/

 

hmmmmmmmm.  I will play with this tonight.  Thanks

I don't have a cache drive...i changed the variables to my install directory....will that not work for the rest of the install?

 

hmmm, it should.  I've updated my run.sh script.  Can you try re-installing :)

 

I will remove everything and try re-installing....if i remember correctly...can't remember if it was upstats or plexwebwatch...but one of them was looking for a package.json when the run.sh file was executed and it was not there...i found a package.json and moved it over and it appears to have helped but was still not working...once i have a chance to uninstall, i will re-do everything and give you a breakdown...

 

thanks for all the help and this great install....i really wanted to install plexwebwatch...and also found this by you...both are awesome...all the dependencies really scared me off so i was happy to see your automated process of at the very least installing all dependencies so thank you! great job!

  • Author

I don't have a cache drive...i changed the variables to my install directory....will that not work for the rest of the install?

 

hmmm, it should.  I've updated my run.sh script.  Can you try re-installing :)

 

I will remove everything and try re-installing....if i remember correctly...can't remember if it was upstats or plexwebwatch...but one of them was looking for a package.json when the run.sh file was executed and it was not there...i found a package.json and moved it over and it appears to have helped but was still not working...once i have a chance to uninstall, i will re-do everything and give you a breakdown...

 

thanks for all the help and this great install....i really wanted to install plexwebwatch...and also found this by you...both are awesome...all the dependencies really scared me off so i was happy to see your automated process of at the very least installing all dependencies so thank you! great job!

 

Thanks for testing it for me.  I know I missed some dependencies and so forth.  PlexWatchWeb was a pain, it needs to build perl stuff from source. Lots of hours in logs ;)

 

package.json is going to be UpStatsBoard....  let me know what it does :)

so i removed everything and re-ran the install.sh

 

everything works fine until it gets to npm...this is what i am seeing after run.sh has been saved

 

Cron restarted
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6707  100  6707    0     0  11656      0 --:--:-- --:--:-- --:--:-- 31195
npm cannot be installed without nodejs.
Install node first, and then try again.

Maybe node is installed, but not in the PATH?
Note that running as sudo can change envs.

PATH=.:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/kerberos/bin:/usr/kerberos/sbin
sudo: npm: command not found
sudo: n: command not found
sudo: npm: command not found
Error: Unable to read database "/mnt/disk3/_server.Tower.apps/vnstat/eth0".
Info: -> A new database has been created.
Cron restarted

 

any thoughts?

  • Author

so i removed everything and re-ran the install.sh

 

everything works fine until it gets to npm...this is what i am seeing after run.sh has been saved

 

Cron restarted
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6707  100  6707    0     0  11656      0 --:--:-- --:--:-- --:--:-- 31195
npm cannot be installed without nodejs.
Install node first, and then try again.

Maybe node is installed, but not in the PATH?
Note that running as sudo can change envs.

PATH=.:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/kerberos/bin:/usr/kerberos/sbin
sudo: npm: command not found
sudo: n: command not found
sudo: npm: command not found
Error: Unable to read database "/mnt/disk3/_server.Tower.apps/vnstat/eth0".
Info: -> A new database has been created.
Cron restarted

 

any thoughts?

 

answered via PM

Yep...smdion is the man....gave me help and got me running....for anyone interested my nodejs file when pulled from git didn't complete and therefore never installed correctly but since it was present in boot/extras it was never downloaded again....manually pulling the package and reinstalling fixed the problem...

 

Thanks for the guidance smdion....

 

Now its onto installing plexwatchweb and fixing vnstats that doesn't seem to be working right

 

Sent from my SCH-I545 using Tapatalk

 

 

I would love a plugin or package myself... cant really figure it out.... I don't use /mnt/cache/appdata... I use /mnt/cache/.custom

 

Anyone please? This looks really cool.

 

:(

 

Thanks,

 

H.

hernandito...

 

it's really easy...just download the raw install.sh file from smdion's git and modify the paths accordingly...he set up to use variables so if you have a different path, you just put it in and run as usual....

 

i did it and had few problems (my problems were something unrelated to smdion's script)....

 

if you need help let us know... :D

  • Author

I would love a plugin or package myself... cant really figure it out.... I don't use /mnt/cache/appdata... I use /mnt/cache/.custom

 

Anyone please? This looks really cool.

 

:(

 

Thanks,

 

H.

 

I've been trying to make a plugin but I can't.  If you download the install.sh file, you can change the location variable to whatever you want.  Make the changes in VI or whatever editor you like.

 

wget install.sh --no-check-certificate "https://raw.github.com/smdion/upsb/master/install.sh"
vi install.sh 
sudo sh install.sh
rm install.sh

Thank you guys... I got it all installed, it seemed like it it was successful... but then at the end I went to my unraid server 192.168.0.200:8024 and I got a page not found.

 

I looked in logs folder, and I saw somethin that said Fatal about needing a host for "PolarBear".

 

I panicked and removed everything per the first post... I am guessing I am missing something small... I did not touch the config.js file.

 

Thanks again guys!

 

H.

 

 

 

 

  • Author

Thank you guys... I got it all installed, it seemed like it it was successful... but then at the end I went to my unraid server 192.168.0.200:8024 and I got a page not found.

 

I looked in logs folder, and I saw somethin that said Fatal about needing a host for "PolarBear".

 

I panicked and removed everything per the first post... I am guessing I am missing something small... I did not touch the config.js file.

 

Thanks again guys!

 

H.

 

It will fail on the first run and you need to fix the config.js to your setup ;)  Check out my install instructions in the first post. Polarbear is a server that the developer has, you'll change that to your own stuff.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.