Follow these steps to move over your Couchpotato install that was done with the plugin.
NOTE - You will need to change Storo to suite your volume name in the commands.
NOTE - You will need to change "Couchpotato" part of the commands to whatever you names your dataset for the couch potato data.
ssh into your freenas server
Code: Select all
ls -ldn /mnt/Storo/jails/couchpotato_1/var/db/couchpotato
Note the user ID and group ID are 816 on my install, take not of yours as you will need this later
Code: Select all
drwxr-xr-x 7 816 816 8 May 1 2016 /mnt/Storo/jails/couchpotato_1/var/db/couchpotato/
In the Web UI, create a new dataset to store the Couchpotato data. I created mine at Storo/Couchpotato but you can use any name you like.
In the web UI, go to Storage -> Volumes -> Storo (yours may be diff) -> Datasets -> Click the "+" -> Name it Couchpotato (or whatever you like, but you will have to change the name in the commands) -> Leave the rest and click save.
In the next step we will create a new folder in our new dataset and move data into it.
Code: Select all
mkdir /mnt/Storo/Couchpotato/data
Code: Select all
rsync -aP /mnt/Storo/jails/couchpotato_1/var/db/couchpotato/ /mnt/Storo/Couchpotato/data
Now we are going to move and rename a file because the structure is different in the new Couchpotato container
Code: Select all
mv /mnt/Storo/Couchpotato/data/settings.conf /mnt/Storo/Couchpotato/config.ini
Now we are going to set the permissions, The 816:816 is the user id and group id obtained earlier.
Code: Select all
chmod 0644 /mnt/Storo/Couchpotato/config.ini
Code: Select all
chmod -R 0755 /mnt/Storo/Couchpotato/data
Code: Select all
chown 816:816 /mnt/Storo/Couchpotato/config.ini
Code: Select all
chown -R 816:816 /mnt/Storo/Couchpotato/data
In the web UI, go to Docker -> Containers and create a container.
Select Couchpotato
Make sure the ports are the same as you were using before.
In Volumes, browse to the dataset you created above for /config
Again in volumes, add your previous configurstion of storage. IE. Mine were Path - /mnt/Storo/Media/Movies Container Path - /mnt/Storo/Media/Movies AND Path - /mnt/Storo/Media/Downloads/Complete/Movies Container Path - /media/downloads/Complete/Movies
Set the timezone for TZ (List - https://en.wikipedia.org/wiki/List_of_t ... time_zones)
Set PUID and PGID to the user id and group id above.
Expand Network Settings
Change the network mode to Bridged, you then setup the IP Address to whatever you were using before.
Save.
The Container should startup just fine. All your movies and list should be intact.