• 0 Posts
  • 118 Comments
Joined 3 years ago
cake
Cake day: June 16th, 2023

help-circle



  • Your said you were going to use the cloud services, so even if you self-host, using a cloud service api carries the same risk as using their apps. This is an app to unify all the remote storage things.

    However, after looking at the code, I retract my comment and caution you not to use Drivebase:

    [crypto]
    # Generate: openssl rand -base64 32
    masterKeyBase64 = "<base64-encoded-32-byte-key>"
    

    If this is a salt or a seed, the documentation is wrong. But it looks like they’re using this base64 value as the actual key for whatever encryption Claude has vibe-coded into it.

    base64 values can be reversed very trivially.

    Don’t use this.




  • Ipv4 TLD exhaustion happened in 2011, but it was functionally impossible to get a public IP directly from IANA closer to 2005.

    And the routing would be a nightmare because if you have multiple gateways between non-overlapping CIDR ranges, you need to tell routing equipment how the packet should return to its source.

    So ignoring there being no reason to expose sonarr or radarr to the public at large in the first place, you would be working with two potential scenarios with multiple IPS: either you have two distinct subnets blocks behind your gateways, or you you have two gateways to a single subnet.

    In the first case, you would have to route traffic between the two subnets, which makes the scenario not make sense, because why would you need packets between two local hosts to pass through their gateways through public space when they could just be in the same subnet. In the second case, you would have to specify to all your internal hosts two gateways so traffic know which public IP to return to.

    Neither of these scenarios make sense when NAT is a much simpler (and cheaper)solution.










  • No worries, and I’m glad it helped!

    I’ll add that I was also mystified by the remote path option for a long time, I think the wiki should show more clearly what this does and maybe an example.

    Also, I used to run into issues of running into permissions errors because the download client wrote the files with the wrong permissions. Many nzb and torrent clients have a POSIX masking option that allows you to set the permissions at the time of writing.


  • 1st thing to check is permissions, I have seen radarr/sonarr complain about the path “not existing”, but actually the download client process had no write permission to the destination.

    From the radarr wiki:

    Generally, a remote path map is only required if your download client is on Linux when *Arr is on Windows or vice versa. A remote path map is also possibly needed if mixing Docker and Native clients or if using a remote server.

    Since radarr >4.x, there hasn’t been a need for remote path between Linux machines, not sure about sonarr, but they are similar.

    Now for your case, your qbittorrent host does not know about /srv/ in its path, it only knows about /data and everything under it:

    qbittorrent:  
        volumes:  
          - /home/marighost/docker/seedbox/gluetunconfig:/gluetun  
          - /home/marighost/docker/seedbox/qbittorrentconfig:/config  
          - /srv/data/torrents:/data/torrents
    

    So when radarr tells

    Host: qbittorrent  
    Remote Path: /srv/data/torrents/  
    Local Path: /data/ 
    

    qbittorrent, which lives inside its docker world, has no idea what /srv means.