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.

[SOLVED] Your data will persist after a reboot, but it didn't: Cache issue?

Featured Replies

I am using several plugins (SABnzbd, SickBeard and SimpleFeatures) which work fine when they are running and ordinarily on reboot too. I have SABnzbd and SickBeard installed to the cache drive.

 

This morning however when I tried to look at the SAB interface I received the following error:

 

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "/mnt/cache/appdata/sabnzbd/install/cherrypy/_cprequest.py", line 618, in respond
  File "/mnt/cache/appdata/sabnzbd/install/cherrypy/_cpdispatch.py", line 25, in __call__
  File "/mnt/cache/appdata/sabnzbd/install/sabnzbd/interface.py", line 298, in index
  File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 1259, in __init__
    self._compile(source, file, compilerSettings=compilerSettings)
  File "/usr/lib/python2.6/site-packages/Cheetah/Template.py", line 1546, in _compile
    self._fileMtime = os.path.getmtime(file)
  File "/usr/lib/python2.6/genericpath.py", line 54, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: '/mnt/cache/appdata/sabnzbd/install/interfaces/Plush/templates/main.tmpl'

 

Coming from a Windows background the first thing I tried without thinking was to stop the array and restart the server, so I don't have the Unraid logs. After the reboot all the plugins except SimpleFeatures had lost their settings.

 

Digging through the log for Sickbeard everything looks normal until the last entry below, after which it looks like the download directory disappears.

 

Jan-14 06:20:22 ERROR    SEARCHQUEUE-RSS-SEARCH :: DB error: no such table: tv_episodes
Jan-14 06:20:22 INFO     SEARCHQUEUE-RSS-SEARCH :: Changing all old missing episodes to status WANTED
Jan-14 06:11:41 ERROR    POSTPROCESSER :: Automatic post-processing attempted but dir /mnt/cache/appdata/sabnzbd/data/Downloads/complete/tv doesn't exist
Jan-14 06:01:40 ERROR    POSTPROCESSER :: Automatic post-processing attempted but dir /mnt/cache/appdata/sabnzbd/data/Downloads/complete/tv doesn't exist
Jan-14 05:51:39 ERROR    POSTPROCESSER :: Automatic post-processing attempted but dir /mnt/cache/appdata/sabnzbd/data/Downloads/complete/tv doesn't exist
Jan-14 05:41:38 ERROR    POSTPROCESSER :: Automatic post-processing attempted but dir /mnt/cache/appdata/sabnzbd/data/Downloads/complete/tv doesn't exist
Jan-14 05:31:38 ERROR    POSTPROCESSER :: Automatic post-processing attempted but dir /mnt/cache/appdata/sabnzbd/data/Downloads/complete/tv doesn't exist
Jan-14 05:21:37 ERROR    POSTPROCESSER :: Automatic post-processing attempted but dir /mnt/cache/appdata/sabnzbd/data/Downloads/complete/tv doesn't exist
Jan-14 05:20:20 ERROR    SEARCHQUEUE-RSS-SEARCH :: DB error: no such table: tv_episodes
Jan-14 05:20:20 INFO     SEARCHQUEUE-RSS-SEARCH :: Changing all old missing episodes to status WANTED
Jan-14 05:11:36 ERROR    POSTPROCESSER :: Automatic post-processing attempted but dir /mnt/cache/appdata/sabnzbd/data/Downloads/complete/tv doesn't exist
Jan-14 05:01:35 ERROR    POSTPROCESSER :: Automatic post-processing attempted but dir /mnt/cache/appdata/sabnzbd/data/Downloads/complete/tv doesn't exist
Jan-14 04:51:34 ERROR    POSTPROCESSER :: Automatic post-processing attempted but dir /mnt/cache/appdata/sabnzbd/data/Downloads/complete/tv doesn't exist
Jan-14 04:34:14 INFO     POSTPROCESSER :: Processing succeeded for /mnt/cache/appdata/sabnzbd/data/Downloads/complete/tv/*******

 

In SAB after rebooting I was asked run the Wizard again, after doing this all the history for my previous downloads was present.

 

I appreciate that any assistance will be limited by the lack of Unraid logs, but does anyone have any ideas what could be happening?

 

 

 

please post a syslog (found in /var/log)

 

it's always my recommendation to install the apps to the default location (/usr/local/.....) and just keep the datadirectory on the cache drive.

that way, the app will be redownloaded and installed after every boot.

 

did you set the appdata share as cache only? i'd guess, that the data has been transfered to the array.

  • Author

I do not have the logs from when the issue occurred as I rebooted, are the current logs of any use?

 

It looks like you are right re: the share not being set cache only. I guess this could cause the behaviour seen when the move script runs?

 

I changed the plugin install directory to the cache drive so that the plugins would not be downloaded on each boot, to give a faster boot; not sure if that is actually how it works though.

I do not have the logs from when the issue occurred as I rebooted, are the current logs of any use?

 

It looks like you are right re: the share not being set cache only. I guess this could cause the behaviour seen when the move script runs?

 

I changed the plugin install directory to the cache drive so that the plugins would not be downloaded on each boot, to give a faster boot; not sure if that is actually how it works though.

 

the current log would have shown me, what the plugin installation had done on boot...

but since we found the error, it's not needed anymore. just set the share to cache only and you are good. (best to delete the files first, so you don't have any appdata on the array left.)

 

 

sure, you can install the app to the cache drive, the boot up will be about 30-60 seconds faster, i guess... (depending on your internet speed and how many plugins you use.)

 

  • Author

Thank you for your help

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.