this post was submitted on 18 Jul 2024
11 points (82.4% liked)

Selfhosted

40347 readers
328 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hello fellow self-hosters,

I'm fairly new to hosting my own services and have been learning as I go, but have run into an issue and am not sure where to look for answers. Hoping you all can help a confused soul out.

Up until now, I've been running the .arr services (Sonarr, Radarr, Overseerr, etc.) on my Windows machine with minimal issue, but I've been working on setting up a separate Debian machine to get it off my main PC.

I'm following this guide to get everything setup, and at this point I have all my services setup and running, but I can't seem to get Radarr and Sonarr to work correctly. My indexers work, Radarr will grab the wanted file and Deluge will download it, but when the download finishes it just stays in limbo; Radarr is unable to import it into the library due to invalid permissions (It doesn't have Write permissions).

I've done sudo chown -R $USER:$USER /path/to/ROOT/directory and sudo chown -R $USER:$USER /path/to/HDDSTORAGE/directory as the guide instructs under 'Folder Structure' (of course replacing the paths with my actual paths), but to no avail.

Where I think the problem is is my actual Media Library. All the services are running on their own laptop, but my 10TB HDD is still in my main Windows PC. Until I build a new rig specifically for the server, I can't put the HDD into the laptop. In Windows, the TV and Movie folders are network shared and I have them mounted on my server in the respective locations where Radarr and Sonarr should be looking. At this point, the .arr services can definitely read the mounted directories, but can't make new ones for new shows and movies.

you are viewing a single comment's thread
view the rest of the comments
[–] just_another_person@lemmy.world 4 points 4 months ago (6 children)

Just make sure you're actually authenticating to the network share and not browsing an open/anonymous share. The user perms on the host of the volume need to match for read/write, or need to be publicly writable.

[–] MrQuallzin@lemmy.world 1 points 4 months ago (5 children)

Yup, the mount is authenticated and the Share Permissions on Windows have it set to Full Control for Everyone, plus 'Password protected sharing' is turned off under Advanced Network Settings.

[–] just_another_person@lemmy.world 2 points 4 months ago* (last edited 4 months ago) (4 children)

Okay, so on the device which is connecting to the share, from a cli, can you create files on the share mount? Don't use your GUI if using one. Go to a prompt, and touch or copy a file in the mount location.

[–] MrQuallzin@lemmy.world 1 points 4 months ago (1 children)

No GUI on my end (It's been fun learning to use a headless server). I have to sudo to be able to do anything in the mount locations. Using ls -s, the permissions and owner aren't changing after using chown and chmod.

[–] just_another_person@lemmy.world 2 points 4 months ago* (last edited 4 months ago) (1 children)

Okay, so you need to match the uid/gid of your user on the client machine with whatever is on the host volume machine because it seems like your auth is not set right. You probably want a dedicated user. If you're not sure what that means, just move on to the next bit.

On Windows machine: create new user, make sure ownership is set in permissions, log in with that user on the client machine. Then you won't need sudo. You can Google to find more explanation, but that's the gist.

If you need to sudo to create files, it means your Windows share isn't allowing whatever authenticated user you have doesn't have permissions to actually write on the Windows machine.

[–] MrQuallzin@lemmy.world 1 points 4 months ago (1 children)

I'll look into that, thanks!

We just had a total power outage, and restarting my main machine I remembered I have Linux Mint installed as duel boot. I've been waiting for a final push to get me to migrate away from Windows. Would it be easier to do all this from Linux Mint instead of Windows?

[–] just_another_person@lemmy.world 1 points 4 months ago

It's certainly more cohesive if you're doing a Samba<>Samba setup. Either combo will work though, you just need to make sure of the permissions for the share, and that your connected uid/gid is set properly for read/write.

load more comments (2 replies)
load more comments (2 replies)
load more comments (2 replies)