Posts by Raymond C.

    I would like to use a 'git clone https://...' command from an SSH terminal to download files to a Nextcloud app folder. I'm leery of installing GIT directly on my OMV OS drive. I'm guessing running GIT under a docker container might be safer. If someone could confirm this and provide further links/guides for me to investigate that would be much appreciated. I already have docker installed running several apps, such as Nextcloud and Navidrome, and have no issues, and would like to keep it that way (!).

    ```

    Client: Docker Engine - Community

    Version: 24.0.5

    API version: 1.43

    Go version: go1.20.6

    Git commit: ced0996

    Built: Fri Jul 21 20:35:38 2023

    OS/Arch: linux/arm64

    Context: default


    Server: Docker Engine - Community

    Engine:

    Version: 24.0.5

    API version: 1.43 (minimum version 1.12)

    Go version: go1.20.6

    Git commit: a61e2b4

    Built: Fri Jul 21 20:35:38 2023

    OS/Arch: linux/arm64

    Experimental: false

    containerd:

    Version: 1.6.22

    GitCommit: 8165feabfdfe38c65b599c4993d227328c231fca

    runc:

    Version: 1.1.8

    GitCommit: v1.1.8-0-g82f18fe

    docker-init:

    Version: 0.19.0

    GitCommit: de40ad0

    ```

    ```

    root@raspberrypi:/# dpkg -l | grep openmediavault

    ii openmediavault 6.5.6-1 all openmediavault - The open network attached storage solution

    ii openmediavault-compose 6.9.9 all OpenMediaVault compose plugin

    ii openmediavault-cputemp 6.1.3 all cpu temperature plugin for openmediavault

    ii openmediavault-flashmemory 6.2 all folder2ram plugin for openmediavault

    ii openmediavault-ftp 6.0.5-1 all openmediavault FTP-Server plugin

    ii openmediavault-keyring 1.0.2-2 all GnuPG archive keys of the openmediavault archive

    ii openmediavault-omvextrasorg 6.3.1 all OMV-Extras.org Package Repositories for OpenMediaVault

    ii openmediavault-sharerootfs 6.0.3-1 all openmediavault share root filesystem plugin

    ii openmediavault-symlinks 6.0.4 all OpenMediaVault symlinks plugin

    ```

    I'm running OMV6 on a Pi4. I installed docker with these instructions a while back and it works just fine:

    omv6:docker_in_omv [omv-extras.org]


    The above instructions specifiy the creation of 3 folders:


    /SSD/appdata

    /SSD/docker

    /SSD/compose


    which I have done.




    https://nginxproxymanager.com/…hosting-your-home-network provides the following YML template (I use Docker-Compose, and not Portainer):


    version: '3.8'

    services:

    app:

    image: 'jc21/nginx-proxy-manager:latest'

    restart: unless-stopped

    ports:

    - '8080:80'

    - '8181:81'

    - '4433:443'

    volumes:

    - ./data:/data

    - ./letsencrypt:/etc/letsencrypt


    I changed the ports for now to avoid some conflicts, and I'm guessing I need to set the volumes to:


    volumes:

    - /SSD/appdata/nginx-proxy-manager:/data

    - ./letsencrypt:/etc/letsencrypt <-- not sure what to set this to.


    My main question is how to map the letsencrypt volume. Would:


    /SSD/appdata/letsencrypt:/etc/letsencrypt


    be OK??

    I'm trying to run NextCloud (Docker container) on a Raspberry Pi 4B, 64-bot, 8GB RAM) running Open Media Vault 6, over an encrypted https connection. I'm getting that above error (B504 - Bad gateway nginx when typing https://my.domain.name.com/nextcloud/ (not my actual domain name) on a browser (both Windows PC and iPhone).


    I'm using DynuDNS as my DDNS provider, have for some time, no issues there. NextCloud was working fine with http access before I converted the setup to run https. For http access (internal network only) I was using port 8080 off my internal Raspberry Pi IP address (192.168.1.25:8080) at the time with no issues.


    After adding swag, no such luck; am getting a locked icon on my https://domain.name/nextcloud (, a bit reluctant to provide it here) so I assume swag is working.


    I have to admit that I'm getting somewhat confused with port mappings and what absolutely needs what port to work on. OMV itself I have running on port 82 (192.168.1.25:82).


    Any help/comments appreciated.

    Ray



    Docker-compose yml file (some fields redacted with xxx's, and my actual domain name replaced with my.domain.com)


    NextCloud configuration file </SSD/appdata/nextcloud/config/config.php>

    NextCloud subfolderconfiguration </SSD/appdata/swag/nginx/proxy-confs/nextcloud.subfolder.conf>


    Have this on my router as well to complete the picture.

    I had a similar issue, no DNS after installing Docker from the OMV-6-extras GUI. Googled this and someone commented that the aforementioned Docker installation removed the Network entry and disabled access to the access to DNS. I decided to re-image my SD card and start over. Needless to say this fixed my problem. Did not do anything with my Firewalls (router/Pi/Windows 11).