Web UI issues

  • Sorry gents I posted this in another thread but here may be more relevant.


    I tried to restart one of my docker container (logitech media server) through portainer and I got one of those red errors (top right corner). It was too quick but something about json error: merged.


    So I tried to login to my OMV UI and when I put my username/password, it just says "Loading Please Wait" but then goes back to the login screen.


    I have tried rebooting, clearing cache, running omv-firstaid (I can puTTy into the device) but still can not access OMV UI or Portainer UI.


    It looks as thought my sdb1 is full but not sure why because my docker and containers are all on sepearate hard drives.Code

    Display More


    The output of a folder (overlay2) which has 10G, so not sure what is going?


    Code

    I followed another thread which suggested docker system prune but that did nothing as got this error message:


    Code
    Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?



  • I think what might have happened is one of my external drives which had the plex appdata may have disconnected somehow as I cannot see that drive with the lsblk command. This may have caused the plex appdat to use up the system drive???


    If so, I am trying to figure if I can delete the overlay2 folder (refer to above post) and the command for that docker/if that will fix things?

  • Your root os is too small for the number of containers you are running and/or the data in your containers. You could try docker system prune to get rid of unused images, containers, and volumes. I might backup your system before you do that.

    omv 5.5.23 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.5
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I tried docker system prune but got this error:


    Code
    Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?


    Also, do you see from my earlier post I have huge fies sitting in my overlay2 folder, so ,maybe I can delete?


    I do not why my root drive is full - its been working fine for about 8 months. All of my dockers and appdata (including plex) are on separate HDD.

  • 10G of your 15G is in the docker folder. Either it is old stuff before your moved your docker or you didn't change anything correctly. It is hard to tell what you can delete in the overlay2 folder without causing a problem. I would try freeing up space from somewhere else so docker can start and you can use prune.


    Does apt-get clean free up any space?

    omv 5.5.23 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.5
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Can anyone please help because my server which runs several dockers is down or do I need a complete rebuild?

    A complete rebuild is likely unnecessary, but you may be rebuilding your containers. I guess it just depends on the amount of effort you want to put into this. If it were me (and it was at one time)... I'd stop docker, delete the overlay folder, and restart docker. The folder structure should rebuild when you restart docker. Then setup my containers and docker again, and make sure my container folders are on a data disk when setting up again.

  • A complete rebuild is likely unnecessary, but you may be rebuilding your containers. I guess it just depends on the amount of effort you want to put into this. If it were me (and it was at one time)... I'd stop docker, delete the overlay folder, and restart docker. Then setup my containers and docker again, and make sure my container folders are on a data disk when setting up again.

    OK so the CLI commands are:


    Code
    docker stop
    Code
    rm -rfv /var/lib/docker/overlay2/*
    Code
    docker start
  • Not sure what is happening now but I deleted the overlay2 folder and managed to sign back in to the WebUI. But was having trouble getting into portainer, so I unsinstalled Docker and reinstalled Docker/Portainer. My OS drive is now back to low storage usage


    Some of my containers are still there but stopped. When I try to start them I get this error:


    Code
    Failure
    Cannot restart container 115a1ad003925db7e46c614df57990dcfcb1066b2585790ec1a395e7065b61b8: error creating overlay mount to /var/lib/docker/overlay2/7e1dd00f4e334752a40ba8bc8e1e6b9f528fed3b38096bf0b2d5c08540fec77d/merged: no such file or directory

    Does anyone what is happening?

  • Does anyone what is happening?

    You deleted the folder it needed. And like I said, I would try other things to free up space other than deleting docker files. My next suggestion was delete compressed log files in /var/log.

    omv 5.5.23 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.5
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Not sure what is happening now but I deleted the overlay2 folder and managed to sign back in to the WebUI. But was having trouble getting into portainer, so I unsinstalled Docker and reinstalled Docker/Portainer. My OS drive is now back to low storage usage


    Some of my containers are still there but stopped. When I try to start them I get this error:


    Code
    Failure
    Cannot restart container 115a1ad003925db7e46c614df57990dcfcb1066b2585790ec1a395e7065b61b8: error creating overlay mount to /var/lib/docker/overlay2/7e1dd00f4e334752a40ba8bc8e1e6b9f528fed3b38096bf0b2d5c08540fec77d/merged: no such file or directory

    Does anyone what is happening?

    As I said, you'll end up redoing your containers if you do that. Your containers were apparently not on your storage drive as you thought they were.

  • So is this a complete rebuild? Or can it be fixed?

    I'm not following you


    Start docker, and it should rebuild your folder structure.


    Then reinstall Portainer


    Reinstall your containers. I was pretty clear you were going to have to rebuild them when I posted that earlier. Just make sure your containers are on your on your data drives, or a drive big enough to hold your containers.

  • But I have done all of that.


    I have even uninstalled Docker and reinstalled it.

  • What is the output of systemctl status docker

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!