Posts by tannaroo

    What do you mean with "a complete fresh install" and "my stacks were there"? Isn't that contradicting eachother?


    THe only Idea is, ypu have your docker root directory shifted to somewhere and this storage is not fully ok.

    Meaning I completely wiped my system drive and reinstalled OMV from the start.


    When I got to installing portainer, I followed post #2 and #36. That is ensuring that my docker and portainer were in the same drive/location.


    Docker = /srv/dev-disk-by-uuid-fc008cb9-1532-4231-a49e-88721f97ba63/AppData2/Docker

    Portainer = /srv/dev-disk-by-uuid-fc008cb9-1532-4231-a49e-88721f97ba63/AppData2/Portainer


    I realised today that yesterday's install - Docker and Portainer were not in the same drive/location. Not sure if this makes the difference. But when I got to Portainer, my original stacks were there. I tried restarting them but got errors.


    But I deleted the old stacks and just tried a new stack and SUCCESS.

    I've done yet another fresh complete install. Went into my portainer - this time all of my stacks were there.

    I tried to deploy a couple of them but still get the same timeout error, wont deploy

    sigh...

    ls -la like before

    Did you check, the ACLs and the SGID bit are unset?


    Never surrender

    Not sure how to do that.


    I've been on this for 3 days solid. As you know (and helped me) my original OMV had a hard drive failure, so had to deal with that.


    I just need a break from this, so maybe I will be back tomorrow.

    You are right, i usually place my docker-compose.yml inside a directory i use for the config data of the container. if you need help, just post.

    Well I have followed the steps carefully and done this twice (i.e. removed portainer, reset permissions/ re-install). But on both occasions when I go into portainer to setup one or two of my stacks....same problem as before.


    i think we have to admit defeat.

    OK, permissions are messed up, start all over, one command at a time.


    ok really appreciate the help!


    step 1 - i presume you meant cd then the directory to stop portainer but when i try to stop portainer (step 2) i get an error it can't find the docker-compose.yml file. This is because in #2, the instructions were to set up a new directory /portainer which maybe where the error has occurred. This directory happened from my root. So think I get the gist of your approach. The mkdir portainer should happen on the external drive

    Well I have not tried creating stacks (other than portainer) from docker-compose.yml but yes I cannot create any stacks from inside portainer, which is what I normally/can do.


    I just started the portainer docker-compose posted earlier in this thread:


    What do you have in the yellow spot?

    I have the same. /var/run/docker.sock


    On the admin password, if referring to when I first open portainer, I did create a password for admin

    I did not see that while posting. Have you configured portainer after installing it with the docker-compose.yml?

    it lloks like portainer is not configured to talk to you local docker daemon and has no admin credentials.


    After my OMV re-installation due to system drive failure, I installed Portainer through the OMV web UI but was told not to do that. So I removed it and followed the instructions on post #2.


    It seems since my first OMV / Portainer installation a couple of years ago, things have changed so it seems there are further steps required?

    To be honest, I can not make sense of the error message. The resilio image is not on the server, but it is starting up ???


    Is portainer talking to the local docker daemon? Let's see

    Did the error message from #25 help to diagnose the problem?

    Though I initially installed Portainer through the web interface but was told to remove it and go through CLI. So my docker compose in in cd portainer


    root@OMV:~/portainer# docker-compose up

    Building with native build. Learn about native build in Compose here: https://docs.docker.com/go/compose-native-build/

    portainer is up-to-date

    Attaching to portainer

    portainer | level=info msg="2022/01/30 18:36:15 [INFO] [internal,ssl] [message: no cert files found, generating self signed ssl certificates]"

    portainer | 2022/01/30 18:36:15 server: Reverse tunnelling enabled

    portainer | 2022/01/30 18:36:15 server: Fingerprint 0a:d0:93:5b:92:8b:e0:2b:37:b3:7c:67:71:47:6a:db

    portainer | 2022/01/30 18:36:15 server: Listening on 0.0.0.0:8000...

    portainer | level=info msg="2022/01/30 18:36:15 [INFO] [cmd,main] Starting Portainer version 2.11.0"

    portainer | level=info msg="2022/01/30 18:36:15 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process]"

    portainer | level=info msg="2022/01/30 18:36:15 [DEBUG] [internal,init] [message: start initialization monitor ]"

    portainer | level=info msg="2022/01/30 18:36:15 [INFO] [http,server] [message: starting HTTPS server on port :9443]"

    portainer | level=info msg="2022/01/30 18:36:15 [INFO] [http,server] [message: starting HTTP server on port :9000]"

    portainer | level=info msg="2022/01/30 18:37:02 http error: A valid authorisation token is missing (err=Unauthorized) (code=401)"

    portainer | level=info msg="2022/01/30 18:37:02 http error: A valid authorisation token is missing (err=Unauthorized) (code=401)"

    portainer | level=info msg="2022/01/30 18:37:02 http error: A valid authorisation token is missing (err=Unauthorized) (code=401)"

    portainer | level=info msg="2022/01/30 18:37:02 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)"

    portainer | level=info msg="2022/01/30 18:37:02 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)"

    portainer | level=info msg="2022/01/30 18:37:02 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404)"

    portainer | level=info msg="2022/01/30 18:37:16 http error: Unable to initiate communications with environment (err=unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined) (code=500)"

    portainer | level=info msg="2022/01/30 18:42:30 http error: failed to deploy a stack: Pulling resilio-sync (lscr.io/linuxserver/resilio-sync:)..."

    portainer | level=info msg="Creating resilio-sync ... "

    portainer | level=info

    portainer | level=info msg="ERROR: for resilio-sync UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"

    portainer | level=info

    portainer | level=info msg="ERROR: for resilio-sync UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"

    portainer | level=info msg="An HTTP request took too long to complete. Retry with --verbose to obtain debug information."

    portainer | level=info msg="If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60)."

    portainer | level=info msg=": exit status 1 (err=failed to deploy a stack: Pulling resilio-sync (lscr.io/linuxserver/resilio-sync:)..."

    portainer | level=info msg="Creating resilio-sync ... "

    portainer | level=info

    portainer | level=info msg="ERROR: for resilio-sync UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"

    portainer | level=info

    portainer | level=info msg="ERROR: for resilio-sync UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"

    portainer | level=info msg="An HTTP request took too long to complete. Retry with --verbose to obtain debug information."

    portainer | level=info msg="If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60)."

    portainer | level=info msg=": exit status 1) (code=500)"

    portainer | level=info msg="2022/01/30 18:46:38 http error: failed to deploy a stack: Pulling resilio-sync (lscr.io/linuxserver/resilio-sync:)..."

    portainer | level=info msg="Recreating resilio-sync ... "

    portainer | level=info

    portainer | level=info msg="ERROR: for resilio-sync UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"

    portainer | level=info

    portainer | level=info msg="ERROR: for resilio-sync UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"

    portainer | level=info msg="An HTTP request took too long to complete. Retry with --verbose to obtain debug information."

    portainer | level=info msg="If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60)."

    portainer | level=info msg=": exit status 1 (err=failed to deploy a stack: Pulling resilio-sync (lscr.io/linuxserver/resilio-sync:)..."

    portainer | level=info msg="Recreating resilio-sync ... "

    portainer | level=info

    portainer | level=info msg="ERROR: for resilio-sync UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"

    portainer | level=info

    portainer | level=info msg="ERROR: for resilio-sync UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"

    portainer | level=info msg="An HTTP request took too long to complete. Retry with --verbose to obtain debug information."

    portainer | level=info msg="If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60)."

    portainer | level=info msg=": exit status 1) (code=500)"

    portainer | level=info msg="2022/01/30 19:36:24 http error: failed to deploy a stack: Pulling lms (dlandon/logitechmediaserver:)..."

    portainer | level=info msg="Creating lms ... "

    portainer | level=info

    portainer | level=info msg="ERROR: for lms UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"

    portainer | level=info

    portainer | level=info msg="ERROR: for lms UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"

    portainer | level=info msg="An HTTP request took too long to complete. Retry with --verbose to obtain debug information."

    portainer | level=info msg="If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60)."

    portainer | level=info msg=": exit status 1 (err=failed to deploy a stack: Pulling lms (dlandon/logitechmediaserver:)..."

    portainer | level=info msg="Creating lms ... "

    portainer | level=info

    portainer | level=info msg="ERROR: for lms UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"

    portainer | level=info

    portainer | level=info msg="ERROR: for lms UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)"

    portainer | level=info msg="An HTTP request took too long to complete. Retry with --verbose to obtain debug information."

    portainer | level=info msg="If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60)."

    portainer | level=info msg=": exit status 1) (code=500)"

    portainer | level=info msg="2022/01/30 20:19:26 http error: failed to deploy a stack: Pulling urbackup (morlan/urbackup_docker:latest)..."

    portainer | level=info msg="The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing."

    portainer | level=info

    portainer | level=info msg="pull access denied for morlan/urbackup_docker, repository does not exist or may require 'docker login': denied: requested access to the resource is denied"

    portainer | level=info msg=": exit status 1 (err=failed to deploy a stack: Pulling urbackup (morlan/urbackup_docker:latest)..."

    portainer | level=info msg="The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing."

    portainer | level=info

    portainer | level=info msg="pull access denied for morlan/urbackup_docker, repository does not exist or may require 'docker login': denied: requested access to the resource is denied"

    portainer | level=info msg=": exit status 1) (code=500)"

    root@OMV:~# docker image ls

    REPOSITORY TAG IMAGE ID CREATED SIZE

    dlandon/logitechmediaserver latest 53a4242e55d1 4 weeks ago 1.38GB

    portainer/portainer-ce latest 0df02179156a 7 weeks ago 273MB

    hello-world latest feb5d9fea6a5 4 months ago 13.3kB


    Looks like this is the problem?

    root@OMV:~# docker-compose up

    ERROR:

    Can't find a suitable configuration file in this directory or any

    parent. Are you in the right directory?

    Supported filenames: docker-compose.yml, docker-compose.yaml

    root@OMV:~# docker ps -a

    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

    75b269ea6a79 dlandon/logitechmediaserver "/sbin/my_init" 28 minutes ago Created lms

    ae6545936d5e portainer/portainer-ce:latest "/portainer" About an hour a go Up About an hour 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp, 9443/tcp, 0.0 .0.0:9200->9000/tcp, :::9200->9000/tcp portainer


    root@OMV:~# docker volume ls

    DRIVER VOLUME NAME

    local 7a5250ccf928a4208e5c34c4f9dd368121e202e6d6510a0084f0dd8317d6ba27

    local 90a98d50365e43420f8b723ca37012ab732c315c8ea547138677321556a8e7b5

    local portainer_data


    root@OMV:~# docker run hello-world

    Unable to find image 'hello-world:latest' locally

    latest: Pulling from library/hello-world

    2db29710123e: Pull complete

    Digest: sha256:507ecde44b8eb741278274653120c2bf793b174c06ff4eaa672b713b3263477b

    Status: Downloaded newer image for hello-world:latest

    Hello from Docker!

    This message shows that your installation appears to be working correctly.

    To generate this message, Docker took the following steps:

    1. The Docker client contacted the Docker daemon.

    2. The Docker daemon pulled the "hello-world" image from the Docker Hub.

    (amd64)

    3. The Docker daemon created a new container from that image which runs the

    executable that produces the output you are currently reading.

    4. The Docker daemon streamed that output to the Docker client, which sent it

    to your terminal.

    To try something more ambitious, you can run an Ubuntu container with:

    $ docker run -it ubuntu bash

    Share images, automate workflows, and more with a free Docker ID:

    https://hub.docker.com/

    For more examples and ideas, visit:

    https://docs.docker.com/get-started/

    Is your server online?


    What is the output of


    Code
    ping -c5 google.com


    It looks like it might be a DNS error.

    Its online and receiving data

    Never seen that one.


    Did you try a second one to see if maybe it was just something wrong with that stack?

    Yes tried all of them.


    This is a further log for resilio. Looks like some connection issue?

    portainer has been uninstalled/removed from omv web gui.

    setup docker compose with mapped data drive per post #2

    ran docker-compose up -d

    logged into portainer ui

    tried to deploy one of my stacks - didn't work.

    edit: log says No log line matching the '' filter

    Ok. I don't know what I am doing. And I am giving up with this. I just dont have the patience anymore.


    For me, I always run into problems and yes it is probably 99% the user.

    I've done all that but I still cant get the stacks working. Just got a long red box message something about the container is already in use but its not installed.