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.

Starting on boot

Featured Replies

Unmenu as well as SAB/sickbeard/couchpotato do not start up on boot. For unmenu I have it set to reinstall on reboot in pkg manager as well as I ran the boot/config/go command in the wiki. For SAB etc I did this as well Then edit /boot/config/go, add the following section to the end

 

# determine if cache drive online, retry upto 7 times

for i in 0 1 2 3 4 5 6 7

do

   if [ ! -d /mnt/disk1 ]

   then

     sleep 15

   fi

done

 

# If Cache drive is online, start SABnzbd, Sickbeard, and CouchPotato

if [ -d /mnt/disk1 ]; then

 cd /mnt/disk1/custom

 installpkg /boot/packages/SABnzbdDependencies-2.1-i486-unRAID.tgz

 python /mnt/disk1/custom/sabnzbd/SABnzbd.py -d

 python /mnt/disk1/custom/sickbeard/SickBeard.py --daemon

 python /mnt/disk1/custom/couchpotato/CouchPotato.py -d

fi

 

 

Is there something else I have to do to get this working?

do you have a cache drive?  If I remember from the other threads you installed the apps on disk one.  If that is the case then it is obvious why your install of sab, etc are not starting on boot.

 

Your start instructions are specifically looking for the package installed on the cache drive.

  • Author

do you have a cache drive?  If I remember from the other threads you installed the apps on disk one.  If that is the case then it is obvious why your install of sab, etc are not starting on boot.

 

Your start instructions are specifically looking for the package installed on the cache drive.

 

I just copied that from the wiki...

I actually did change all the directories to the right ones. Yes, I do have them on disk1.

  • Author

also just checked... /boot/unmenu/uu is in the config/go file.

 

Is it maybe they are not in the right spots? shoud /boot/unmenu/uu  be below the the script for SAB etc? Not sure if that matters.

  • Author

any ideas at all on this?

Break it down and test it part by part. If you type each of these lines one at a time do they work?

 

cd /mnt/disk1/custom
installpkg /boot/packages/SABnzbdDependencies-2.1-i486-unRAID.tgz
python /mnt/disk1/custom/sabnzbd/SABnzbd.py -d
python /mnt/disk1/custom/sickbeard/SickBeard.py --daemon
python /mnt/disk1/custom/couchpotato/CouchPotato.py -d

 

Then, if that works try putting this in your go script;

 

#!/bin/bash
# Start the management Utiity
/usr/local/sbin/emhttp &
#
#run unmenu
/boot/unmenu/uu
#
sleep 60
cd /mnt/disk1/custom
installpkg /boot/packages/SABnzbdDependencies-2.1-i486-unRAID.tgz
python /mnt/disk1/custom/sabnzbd/SABnzbd.py -d
python /mnt/disk1/custom/sickbeard/SickBeard.py --daemon
python /mnt/disk1/custom/couchpotato/CouchPotato.py -d

 

If that works then add-in the other lines that check for the disk to be online.

 

I believe the go script is run through fromdos to remove any dos formatting but maybe it's not. Are you editing it in Windows or using unMENU or Midnight Commander (type mc at the command prompt). I typically just stick with mc to edit these files but I also use unMENU since I can cut from Windows and paste it into the editing window. Keeps you from making mistakes by typing.

 

Peter

 

  • Author

Break it down and test it part by part. If you type each of these lines one at a time do they work?

 

cd /mnt/disk1/custom
installpkg /boot/packages/SABnzbdDependencies-2.1-i486-unRAID.tgz
python /mnt/disk1/custom/sabnzbd/SABnzbd.py -d
python /mnt/disk1/custom/sickbeard/SickBeard.py --daemon
python /mnt/disk1/custom/couchpotato/CouchPotato.py -d

 

Then, if that works try putting this in your go script;

 

#!/bin/bash
# Start the management Utiity
/usr/local/sbin/emhttp &
#
#run unmenu
/boot/unmenu/uu
#
sleep 60
cd /mnt/disk1/custom
installpkg /boot/packages/SABnzbdDependencies-2.1-i486-unRAID.tgz
python /mnt/disk1/custom/sabnzbd/SABnzbd.py -d
python /mnt/disk1/custom/sickbeard/SickBeard.py --daemon
python /mnt/disk1/custom/couchpotato/CouchPotato.py -d

 

If that works then add-in the other lines that check for the disk to be online.

 

I believe the go script is run through fromdos to remove any dos formatting but maybe it's not. Are you editing it in Windows or using unMENU or Midnight Commander (type mc at the command prompt). I typically just stick with mc to edit these files but I also use unMENU since I can cut from Windows and paste it into the editing window. Keeps you from making mistakes by typing.

 

Peter

 

 

ha didn't know you can edit in unmenu that makes it a lot easier.

I will try all this

Go to the Config View/Edit page.

 

Peter

  • Author

Go to the Config View/Edit page.

 

Peter

 

yeah I found it :) Quick question...is there a command to see what is running and/or to tell everything to stop? I keep trying to stop my array and it just says unmounting. Usually it is because sickbeard/sab/couchpotatoe are open but I shut them down and it is still doing it.

 

guess my telnet session was open... still would like to know if there is a command

  • Author

Ok so everything is booting up now :) this is my script:

 

#!/bin/bash

# Start the management Utiity

/usr/local/sbin/emhttp &

 

cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c

#

#run unmenu

/boot/unmenu/uu

#

sleep 60

cd /mnt/disk1/custom

installpkg /boot/packages/SABnzbdDependencies-2.1-i486-unRAID.tgz

python /mnt/disk1/custom/sabnzbd/SABnzbd.py -d

python /mnt/disk1/custom/sickbeard/SickBeard.py --daemon

python /mnt/disk1/custom/couchpotato/CouchPotato.py -d

 

where would I put the rest of the script?

 

 

I'd just leave it. The sleep 60 needs to be long enough your array will be up before starting. You could have a problem if you have a power fail or hard reboot but otherwise it should be OK.

 

But you could add those check commands instead of the sleep command.

 

# determine if disk1 is online, retry upto 11 times
for i in 0 1 2 3 4 5 6 7 8 9 10
do
    if [ ! -d /mnt/disk1 ]
    then
      sleep 15
    fi
done

 

This will wait up to 2.75 minutes before starting the programs. Add more numbers if you ever have a problem due to the array taking too long to start.

 

Peter

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.