Beiträge von ajaja

    Made a lot of progress. I have Portainer up and running. When I went through this initially, all of my previous installed containers showed up. Not the case this time. How do I import all of my previous containers?

    I forgot how to read. thanks. Too early in the morning. I'm still baffled that all it took was a reboot. #Noob



    Still not getting to a running portainer web interface:


    2024/03/05 06:48AM INF github.com/portainer/portainer/api/cmd/portainer/main.go:369 > encryption key file not present | filename=portainer

    2024/03/05 06:48AM INF github.com/portainer/portainer/api/cmd/portainer/main.go:392 > proceeding without encryption key |

    2024/03/05 06:48AM INF github.com/portainer/portainer/api/database/boltdb/db.go:125 > loading PortainerDB | filename=portainer.db

    2024/03/05 06:48AM INF github.com/portainer/portainer/api/internal/ssl/ssl.go:80 > no cert files found, generating self signed SSL certificates |

    2024/03/05 06:48AM INF github.com/portainer/portainer/api/chisel/service.go:193 > Generated a new Chisel private key file | private-key=/data/chisel/private-key.pem

    2024/03/05 06:48:59 server: Reverse tunnelling enabled

    2024/03/05 06:48:59 server: Fingerprint zgM0B06jjOKu5Sbq6g+kE3Ew60s4b5o7PVou5KNo6kY=

    2024/03/05 06:48:59 server: Listening on http://0.0.0.0:8000

    2024/03/05 06:48AM INF github.com/portainer/portainer/api/cmd/portainer/main.go:649 > starting Portainer | build_number=35428 go_version=1.20.5 image_tag=linux-amd64-2.19.4 nodejs_version=18.19.0 version=2.19.4 webpack_version=5.88.1 yarn_version=1.22.21

    2024/03/05 06:48AM INF github.com/portainer/portainer/api/http/server.go:357 > starting HTTPS server | bind_address=:9443

    2024/03/05 06:48AM INF github.com/portainer/portainer/api/http/server.go:341 > starting HTTP server | bind_address=:9000

    2024/03/05 06:56AM INF github.com/portainer/portainer/api/cmd/portainer/main.go:369 > encryption key file not present | filename=portainer

    2024/03/05 06:56AM INF github.com/portainer/portainer/api/cmd/portainer/main.go:392 > proceeding without encryption key |

    2024/03/05 06:56AM INF github.com/portainer/portainer/api/database/boltdb/db.go:125 > loading PortainerDB | filename=portainer.db

    2024/03/05 06:56AM INF github.com/portainer/portainer/api/chisel/service.go:198 > Found Chisel private key file on disk | private-key=/data/chisel/private-key.pem

    2024/03/05 06:56:08 server: Reverse tunnelling enabled

    2024/03/05 06:56:08 server: Fingerprint zgM0B06jjOKu5Sbq6g+kE3Ew60s4b5o7PVou5KNo6kY=

    2024/03/05 06:56:08 server: Listening on http://0.0.0.0:8000

    2024/03/05 06:56AM INF github.com/portainer/portainer/api/cmd/portainer/main.go:649 > starting Portainer | build_number=35428 go_version=1.20.5 image_tag=linux-amd64-2.19.4 nodejs_version=18.19.0 version=2.19.4 webpack_version=5.88.1 yarn_version=1.22.21

    2024/03/05 06:56AM INF github.com/portainer/portainer/api/http/server.go:357 > starting HTTPS server | bind_address=:9443

    2024/03/05 06:56AM INF github.com/portainer/portainer/api/http/server.go:341 > starting HTTP server | bind_address=:9000

    After a reboot I made progress, but am stopped when saving portaner file.



    Please set shared folder for file storage.


    OMV\Exception: Please set shared folder for file storage. in /usr/share/openmediavault/engined/rpc/compose.inc:117

    Stack trace:

    #0 /usr/share/openmediavault/engined/rpc/compose.inc(783): OMVRpcServiceCompose->getComposePath()

    #1 [internal function]: OMVRpcServiceCompose->setExample()

    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(122): call_user_func_array()

    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()

    #4 /usr/sbin/omv-engined(535): OMV\Rpc\Rpc::call()

    #5 {main}

    OMV\Rpc\Exception: Failed to read from socket: Connection reset by peer in /usr/share/php/openmediavault/rpc/rpc.inc:172

    Stack trace:

    #0 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call()

    #1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()

    #2 {main}


    What is output of: dpkg -l | grep openme

    root@omv:~# dpkg -l | grep openme

    ii openmediavault 7.0-32 all openmediavault - The open network attached storage solution

    ii openmediavault-compose 7.0.9 all OpenMediaVault compose plugin

    ii openmediavault-diskstats 7.0-2 all openmediavault disk monitoring plugin

    ii openmediavault-flashmemory 7.0 all folder2ram plugin for openmediavault

    ii openmediavault-ftp 7.0-4 all openmediavault FTP-Server plugin

    ii openmediavault-kernel 7.0.3 all kernel package

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

    ii openmediavault-md 7.0-6 all openmediavault Linux MD (Multiple Device) plugin

    ii openmediavault-mergerfs 7.0.3 all mergerfs plugin for openmediavault.

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

    ii openmediavault-photoprism 7.0-4 all openmediavault PhotoPrism plugin

    ii openmediavault-resetperms 7.1 all Reset Permissions

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

    ii openmediavault-snapraid 7.0.5 all snapraid plugin for OpenMediaVault.

    ii openmediavault-wetty 7.0-2 all openmediavault WeTTY (Web + TTY) plugin

    ii openmediavault-zfs 7.0.5 amd64 OpenMediaVault plugin for ZFS

    I had to rebuild the RAID10 drive that houses many of my docker container configurations.
    The mount point of my ZFS pool(Zenith) is /srv/Wharf

    rsync -azq /srv/Wharf /srv/mergerfs/Cargo/BackUpArchives/Zenith/


    After re-creating Zenith, I put all the data back:

    rsync -azq /srv/mergerfs/Cargo/BackUpArchives/Zenith/Wharf/* /srv/Wharf &


    Trying to fix this I am certain I've made it worse. I am suspecting it is actually a permission issue, but what do I know.


    What can I do?


    By the way

    _________________________


    When I try to install Compose Plug-in:

    Code
    Failed to read from socket: Connection reset by peer
    
    OMV\Rpc\Exception: Failed to read from socket: Connection reset by peer in /usr/share/php/openmediavault/rpc/rpc.inc:172
    Stack trace:
    #0 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call()
    #1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
    
    #2 {main}



    Miscellaneous information:

    root@omv:~# sudo service docker restart

    Job for docker.service failed because the control process exited with error code.

    See "systemctl status docker.service" and "journalctl -xeu docker.service" for details.



    root@omv:~# systemctl status docker.service

    × docker.service - Docker Application Container Engine

    Loaded: loaded (/lib/systemd/system/docker.service; enabled; preset: enabled)

        Drop-In: /etc/systemd/system/docker.service.d

                 └─waitAllMounts.conf

    Active: failed (Result: exit-code) since Mon 2024-03-04 16:48:46 CST; 12min ago

       Duration: 12h 19min 45.716s

    TriggeredBy: × docker.socket

           Docs: https://docs.docker.com

    Process: 780970 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, s>

       Main PID: 780970 (code=exited, status=1/FAILURE)

    CPU: 246ms


    root@omv:~# journalctl -xeu docker.service

    ~

    ~

    -- No entries --



    Google is your friend. Bob is your...

    https://docs.nginx.com/nginx/a…/installing-nginx-docker/


    https://docs.linuxserver.io/images/docker-baseimage-alpine-nginx/


    How to Deploy an NGINX Image with Docker | NGINX
    Use the NGINX image from the Docker Hub repository or create your own NGINX Plus image to easily deploy NGINX in Docker containers.
    www.nginx.com


    How to Use the NGINX Docker Official Image | Docker
    Learn how to harness the NGINX Docker Official Image from running a basic server to shipping the image.
    www.docker.com

    If you're backing up everything.. just kill the docker service..

    Thanks I believe that should do it.


    root@omv:~# systemctl stop docker

    Warning: Stopping docker.service, but it can still be activated by:

      docker.socket

    I'm assuming you mean the down button here. The only composed file I have is portainer (misspelled as ortainer). Portainer is managing all of my Docker containers and is clearly running even though there is a big red dot that says down.
    I have very little experience with Compose, so this is not looking intuitive to me.


    zsh: command not found: docker
    I need to back-up all of my Docker configuration files and data(including databases). I would like to make sure none of that is being written to while I back it up. I will also be replacing/rebuilding the RAID10 drives that these files reside on so I will not want Docker to be running while I am copying the data back to it.

    Thank you

    sudo omv-showkey snapraid


    sudo omv-salt deploy run snapraid


    I've been traveling quite a bit this past year and have been rather hands off with my server.
    Today I moved a bunch of data around, so I thought I would push snapraid a bit with:
    snapraid touch and snapraid sync -h
    Ugh, I got the dreaded: No configuration file found at '/etc/snapraid.conf'


    How do I resolve this?