Beiträge von pug_ster

    So this is the contents of my /etc/fstab file. I am using a raspberry pi 4 with OMV 5 but the commands to disable using my sd card as swap file here:


    • Add noatime and nodiratime to root options. See before and after example lines:
      BEFORE:UUID=ccd327d4-a1ed-4fd2-b356-3b492c6f6c34 / ext4 errors=remount-ro 0 1AFTER:UUID=ccd327d4-a1ed-4fd2-b356-3b492c6f6c34 / ext4 noatime,nodiratime,errors=remount-ro 0 1
    • Comment out the swap partition. See before and after example lines (only need to add a # to beginning of the line):
      BEFORE:UUID=a3c989d8-e12b-41d3-b021-098155d6b21b none swap sw 0 0AFTER:#UUID=a3c989d8-e12b-41d3-b021-098155d6b21b none swap sw 0 0

    But I don't see what to comment out or edit in my fstab file. Thanks.


    pi@raspberrypi:/etc $ more fstab
    proc /proc proc defaults 0 0
    PARTUUID=6c586e13-01 /boot vfat defaults 0 2
    PARTUUID=6c586e13-02 / ext4 noatime,nodiratime,defaults
    0 1
    # a swapfile is not a swap partition, no line here
    # use dphys-swapfile swap[on|off] for that
    # >>> [openmediavault]
    /dev/disk/by-label/HDA /srv/dev-disk-by-label-HDA ext4 defaults
    ,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfs
    v0,acl 0 2
    # <<< [openmediavault]
    pi@raspberrypi:/etc $

    Okay, I think I am getting the hang of this. I have 2 questions. Let's say that I have my mysubdomain.duckdns.org and domains radarr.mysubdomain.duckdns.org registered. I can see in let's encrypt's cert saying that subject alternative name in my letsencrypt cert has this subdomain exist. I just simply have to rename the file radarr.subdomain.conf.sample to radarr.subdomain.conf and restart the letsencrypt docker and it should work, right?


    2nd question, is going back to the first question. I would like to secure my domain https://radarr.mysubdomain.duckdns.org site with a username and password. I read everywhere about creating an account with the .htpasswd file, but I don't know the command to create an account and the location of where this .htpasswd file to put in. How do I do that? Thanks.

    Letsencrypt allows you to create a ssl cert but it does not update your dynamic dns ip address. My asus router updates ddns via dnsomatic.com updating and in turn dnsomatic updates duckdns.org. You might want to check what's updating to your duckdns account.

    Running Raspberry Pi 4 with OMV5. Tried to go to the web interface http://<server>:9090 but it won't start. Under portainer, this docker is not listed, nor does it listed under docker container stats. How do you restart it? Thanks.

    Thanks. I made those subdomains for radarr and sonarr but I don't think I ever used it. After poking around, maybe I should be using <mysubdomain>.duckdns.org/emby as a way to go so I don't have to fuss around with other certificates. What kind of docker do I use so I can use inverse proxy to go to the subdomains? Also, I realized that radarr, sonarr don't require you to login, so I would like some kind of authenication methods to those subportals when using inverse proxy. Thanks.

    I am using Rpi 4, OMV5, docker and portainer.


    So the other day I managed to isntall a cert via letsencrypt's duckdns so I can go to https://<mydomain>.duckdns.org with no problems. Now I want to use emby to use https://<mydomain>.duckdns.org:8920 but somehow I could not get the emby app to utilize letsencrypt's certifcate. I also created subdomains like https://sonarr.<mydomain>.duckdns.org https://radarr.<mydomain>.duckdns.org and https://jackett.<mydomain>.duckdns.org but not sure how I can take advantage of the letsencrypt certificate. Any advice would be helpful. TIA.

    I figured it out. I used a command line and did it by doing this. It is under OPENVPN_OPTS. Note that I am using vpnunlimited. I also got the .ovpn file from my provider and created the ca.crt, client.crt and client.key file.


    I am still trying to fix the error due to "AEAD Decrypt error: bad packet ID (may be a replay): [ #2052376 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings" Not sure what is the correct setting for mssfix issue.


    sudo docker run -d \
    --name Openvpn \
    --cap-add=NET_ADMIN \
    --network=mynet \
    --dns 8.8.8.8 \
    --dns 8.8.4.4 \
    --restart=unless-stopped \
    -v /srv/dev-disk-by-label-HDA/AppData/Openvpn:/config \
    -v /etc/openvpn/vpnunlimited/default.ovpn:/etc/openvpn/vpnunlimited/default.ovpn \
    -v /srv/dev-disk-by-label-HDA/Downloads:/data \
    -v /etc/localtime:/etc/localtime:ro \
    -e CREATE_TUN_DEVICE=true \
    -e PUID=1000 \
    -e PGID=100 \
    -e OPENVPN_PROVIDER=VPNUNLIMITED \
    -e OPENVPN_CONFIG=(your config) \
    -e OPENVPN_USERNAME=(your email) \
    -e OPENVPN_PASSWORD=(your password) \
    -e OPENVPN_OPTS="--inactive 3600 --ping 10 --ping-exit 60" \
    -e WEBPROXY_ENABLED=true \
    -e TUN_MTU=1500 \
    -e MSSFIX=1300 \
    -e LOCAL_NETWORK=192.168.0.0/24 \
    -p 9091:9091 \
    haugene/transmission-openvpn:latest-armhf

    System | Network | Interfaces | select interface, press Edit, scroll down to Advanced settings | Enter DNS Servers separated with commas.

    Thanks. Didn't realize that this is all the way in the bottom.

    Are you talking about a portainer OMV plugin or a Debian package? If this issue is caused by a plugin, then the plugin should take care about the systemd-resolved service, please.

    Hi,


    I went thru the process to install OMV5 using raspbian lite and I a minor issue. So I installed raspbian lite, OMV 5, changed the ip address, and then installed docker without issues. Then I went to install portainer and it says that there is an dns error. Sure enough, I checked the /etc/resolv.conf and there is no name servers there. So I manually added google's dns server and sure enough I was able to install portainer. However, in that process, it blanked out the resolv.conf again. Is there somewhere in OMV5 where I can put in the dns servers because the setup doesn't have this. Thanks.