Setup Becoming Messy! Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Tasshu
Posts: 10
Joined: Thu Nov 19, 2020 3:30 pm

Setup Becoming Messy!

Post by Tasshu »

Hello All,

I hope you are all staying safe,

I've made a complete pickle of my Plex setup. I have a Plex Server (Optiplex) that speaks to my Synology and I also have a Raspberry PI with DietPi installed.

The issue I have is, I've just started to dive into the realms of usenet, and I've come across an issue in SABNzb:

'Error Cannot Change Permissions of /mnt/Barry/Downloads'

Barry (Baz The Nas) is my synology drive, now. I don't know if this means the permissions from Synology or from the mount drive within DietPi? I don't really understand the issue or what I need to do, I have very limited Linux knowledge but I'm really eager to learn.

Could someone point me in the right direction? I appreciate all your help,

Thank you.
User avatar
Joulinar
Posts: 2572
Joined: Sat Nov 16, 2019 12:49 am

Re: Setup Becoming Messy!

Post by Joulinar »

Hi,

I guess SABNzb did not have sufficient right to access /mnt/Barry/. Can you have a look to the permissions

Code: Select all

ls -la /mnt/Barry/
ls -la /mnt/Barry/Downloads
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Tasshu
Posts: 10
Joined: Thu Nov 19, 2020 3:30 pm

Re: Setup Becoming Messy!

Post by Tasshu »

Hello Joulinar.

Can I just say, thank you so much for replying. I know this may be a daunting question that's asked a lot. I've spent a lot of my day not working and actually researching!! eek!

/mnt/Barry permissions:

drwxrwx--- 2 dietpi dietpi 0 Nov 8 16:04 .
drwxr-xr-x 7 root root 4096 Nov 8 09:54 ..
-rwxrwx--- 1 dietpi dietpi 0 Sep 19 2019 1
drwxrwx--- 2 dietpi dietpi 0 Nov 19 15:23 Barry
-rwxrwx--- 1 dietpi dietpi 7912 Oct 3 2019 .bash_history
-rwxrwx--- 1 dietpi dietpi 113876 Sep 22 2019 basic-install.sh
drwxrwx--- 2 dietpi dietpi 0 Sep 19 2019 Config
drwxrwx--- 2 dietpi dietpi 0 Nov 19 09:11 downloads
drwxrwx--- 2 dietpi dietpi 0 Nov 6 16:49 meh
drwxrwx--- 2 dietpi dietpi 0 Nov 18 09:01 Movie-Downloads
drwxrwx--- 2 dietpi dietpi 0 Sep 18 2019 .nano
drwxrwx--- 2 dietpi dietpi 0 Nov 5 19:00 Plex
drwxrwx--- 2 dietpi dietpi 0 Sep 18 2019 plexupdate
drwxrwx--- 2 dietpi dietpi 0 Nov 1 09:10 preroll
drwxrwx--- 2 dietpi dietpi 0 Nov 19 08:47 Processed
drwxrwx--- 2 dietpi dietpi 0 Nov 8 17:24 '#recycle'
-rwxrwx--- 1 dietpi dietpi 0 Sep 18 2019 .wget-hsts

At the moment I'm trying to set it to go from movie-Downloads (inside is a processed folder that has 'Incomplete' and 'Completed')
User avatar
Joulinar
Posts: 2572
Joined: Sat Nov 16, 2019 12:49 am

Re: Setup Becoming Messy!

Post by Joulinar »

ok everything belongs to user dietpi. That's fine as you mounted the drive via samba. Let's check how user sabnzbd looks like

Code: Select all

groups sabnzbd
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Tasshu
Posts: 10
Joined: Thu Nov 19, 2020 3:30 pm

Re: Setup Becoming Messy!

Post by Tasshu »

Thank you so much Joulinar.


root@DietPi:~# groups sabnzbd
sabnzbd : sabnzbd dietpi

In sabnzbd I'm trying to use

incomplete: /mnt/Barry/Movie-Downloads/New folder/New folder
Complete: /mnt/Barry/Movie-Downloads/New folder

I have however moved these about.

Thanks Again
Tasshu
Posts: 10
Joined: Thu Nov 19, 2020 3:30 pm

Re: Setup Becoming Messy!

Post by Tasshu »

Not sure if this helps at all. It shows the size of my drive, I think the permission issue is writing from one folder to the next?

Image
User avatar
Joulinar
Posts: 2572
Joined: Sat Nov 16, 2019 12:49 am

Re: Setup Becoming Messy!

Post by Joulinar »

hmm that's looks pretty fine. Usually sabnzbd user should be able to write to the samba mount. Let's try

Code: Select all

sudo -u sabnzbd touch /mnt/Barry/Movie-Downloads/demo.file
If all goes well the demo.file should be created now

Code: Select all

ls -la /mnt/Barry/Movie-Downloads/
Btw you are telling something about /mnt/Barry/Movie-Downloads/ now. While the original issue below was pointing to /mnt/Barry/Downloads. How does this fit together?

Code: Select all

'Error Cannot Change Permissions of /mnt/Barry/Downloads'
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Tasshu
Posts: 10
Joined: Thu Nov 19, 2020 3:30 pm

Re: Setup Becoming Messy!

Post by Tasshu »

Hello,

Sorry to confuse you, that's just me trying to move folders to see if its some sort of folder issue.

You wouldn't believe I work in I.T...
Tasshu
Posts: 10
Joined: Thu Nov 19, 2020 3:30 pm

Re: Setup Becoming Messy!

Post by Tasshu »

Okay, so I was able to create a demo.file, do you need this?

I also have the following:

drwxrwx--- 2 dietpi dietpi 0 Nov 19 19:34 .
drwxrwx--- 2 dietpi dietpi 0 Nov 8 16:04 ..
-rwxrwx--- 1 dietpi dietpi 0 Nov 19 19:34 demo.file
drwxrwx--- 2 dietpi dietpi 0 Nov 19 19:28 'New folder'
Tasshu
Posts: 10
Joined: Thu Nov 19, 2020 3:30 pm

Re: Setup Becoming Messy!

Post by Tasshu »

The weird thing is:

It's going to /mnt/Barry/Downloads which is correct, then post processing to mnt/Barry/Tv Shows. Yet it's still throwing up the error?
Post Reply