OMV Webgui not reachable

  • /var/lib/docker/overlay2 stores redd/write layers of the containers own filesystem. Do you clear terminated docker containers or leave them hanging around? You can check with docker ps -a. This will give you a list of all containers defined in your system. Will only work if you restart the docker daemon.


    I do not think the inodes are consumed in /var/lib. You only have ~ 60.000 files in there, but you used up 2.8M inodes.

    If you have a backup, you can try to move /var/lib/docker onto the data disk (With the docker daemon stopped: sudo mv /var/lib/docker /srv/dev-disk-by...). In OMV change the root path of docker to /srv/dev-disk-.../docker then restart.


    After that check free inodes df -i and continue looking, where they are used (many small files or emty directories).

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • Do you clear terminated docker containers or leave them hanging around?

    I think I don´t clear terminated containers.

    I would like to restart docker but now I get an error:

    Code
    ~# systemctl start docker.service
    Job for docker.service failed because the control process exited with error code.
    See "systemctl status docker.service" and "journalctl -xe" for details.

    the status:

  • And this: journalctl -xe?


    Run this again: for i in /var/lib/docker/*; do echo -en "$i\t"; find $i |wc -l; done my command only counts files, this one directories too.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • Code
    ~# journalctl -xe
    Dez 29 18:35:58 omnas.local postfix/cleanup[29589]: warning: mail_queue_enter: create file incoming/316445.29589: No space left on device
    Dez 29 18:35:58 omnas.local postfix/cleanup[15163]: warning: mail_queue_enter: create file incoming/316534.15163: No space left on device
    Dez 29 18:35:58 omnas.local postfix/cleanup[29594]: warning: mail_queue_enter: create file incoming/316545.29594: No space left on device
    Dez 29 18:35:58 omnas.local postfix/cleanup[30233]: warning: mail_queue_enter: create file incoming/316589.30233: No space left on device
    Dez 29 18:35:58 omnas.local postfix/cleanup[28761]: warning: mail_queue_enter: create file incoming/316687.28761: No space left on device
    Dez 29 18:35:58 omnas.local postfix/cleanup[30234]: warning: mail_queue_enter: create file incoming/316696.30234: No space left on device
    Dez 29 18:35:58 omnas.local postfix/cleanup[15172]: warning: mail_queue_enter: create file incoming/316733.15172: No space left on device
    Dez 29 18:35:58 omnas.local postfix/cleanup[28762]: warning: mail_queue_enter: create file incoming/316820.28762: No space left on device
    Dez 29 18:35:58 omnas.local postfix/cleanup[14178]: warning: mail_queue_enter: create file incoming/316870.14178: No space left on device
  • give yourself some relief and move /var/lib/docker to the other disk.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • give yourself some relief and move /var/lib/docker to the other disk.

    Some of the most frequently posted advice in the forums, even right here in this thread.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • Some of the most frequently posted advice in the forums, even right here in this thread.

    yes, by myself including the command.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • I think the screen where this is set should mention the possible consequences of accepting the default. And yes, I do realize that it must default to something. Otherwise many new users who are unfamiliar with docker concepts couldn't even get started if the entry box defaulted to empty.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

    • Official Post

    OP is running out of inodes, not out of space. Moving /var/lib/docker is addressing a symptom but not the disease. Something is creating files like hell. Maybe a bot sending emails?

    Any idea how to address this? I am leaning to deleting the OS drive and starting with a fresh install.

  • Any idea how to address this? I am leaning to deleting the OS drive and starting with a fresh install.

    Perhaps a bit extreme as a first step. I would delete every container and their data and see the degree of improvement, if any. If the inode count stays stable for a while, I would start adding containers one at a time after running the compose or run files past someone for another set of eyes.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • Is it possible that docker generated error-messages and so we see this in the log-files. and the notification function will send me e-mails to my e-mail account but it cannot send because it is not really configured?


    I know that's a bit of a stretch from an unknowingly man like me. :)


    Ok, I will move /var/lib/docker to the other disk with your steps.

  • Who and how can I change this?

    In System | omv-extras | Docker


    Docker storage

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • ah ok after the move I have access to the web gui... thanks...


    update:

    I have access to the gui.


    If I can´t change it in OMV:

    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color omvextras 2>&1' with exit code '1': debian: ---------- ID: configure_apt_sources_list_omvextras Function: file.managed Name: /etc/apt/sources.list.d/omvextras.list Result: True Comment: File /etc/apt/sources.list.d/omvextras.list is in the correct state Started: 23:39:17.186576 Duration: 32.048 ms Changes: ---------- ID: configure_apt_pref_omvextras Function: file.managed Name: /etc/apt/preferences.d/omvextras.pref Result: True Comment: File /etc/apt/preferences.d/omvextras.pref is in the correct state Started: 23:39:17.218732 Duration: 6.374 ms Changes: ---------- ID: refresh_database_apt Function: module.run Name: pkg.refresh_db Result: False Comment: No function provided. Started: 23:39:17.225628 Duration: 0.431 ms Changes: Summary for debian ------------ Succeeded: 2 Failed: 1 ------------ Total states run: 3 Total run time: 38.853 ms
  • Didn't you read what I wrote? Move /var/lib/docker to another drive and then we will look at the container running wild.


    Stop docker

    Move the directory

    Make sure you have enough free inodes on the drive

    Change docker root in omv

    Restart docker or reboot

    list docker containers docker ps -a


    After that we can continue.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • i do the first steps

    - stop docker

    - move directory

    - in post #61 next step In OMV change the root path of docker - doesn´t work

    - restart


    that inodes:

    Code
    ~# df -i
    Dateisystem                Inodes IBenutzt     IFrei IUse% Eingehängt auf
    udev                      2002741      470   2002271    1% /dev
    tmpfs                     2008968      807   2008161    1% /run
    /dev/sde1                 2883584   188421   2695163    7% /
    tmpfs                     2008968        2   2008966    1% /dev/shm
    tmpfs                     2008968        3   2008965    1% /run/lock
    tmpfs                     2008968       18   2008950    1% /sys/fs/cgroup
    tmpfs                     2008968       12   2008956    1% /tmp
    /dev/mapper/Stube-Media 169472000  2702818 166769182    2% /srv/dev-disk-by-label-med
  • - in post #61 next step In OMV change the root path of docker - doesn´t work

    What does it mean: doesn't work? Error message?


    Code
    ~# df -i
    Dateisystem                Inodes IBenutzt     IFrei IUse% Eingehängt auf
    udev                      2002741      470   2002271    1% /dev
    tmpfs                     2008968      807   2008161    1% /run
    /dev/sde1                 2883584   188421   2695163    7% /
    tmpfs                     2008968        2   2008966    1% /dev/shm
    tmpfs                     2008968        3   2008965    1% /run/lock
    tmpfs                     2008968       18   2008950    1% /sys/fs/cgroup
    tmpfs                     2008968       12   2008956    1% /tmp
    /dev/mapper/Stube-Media 169472000  2702818 166769182    2% /srv/dev-disk-by-label-med

    You should be able to create files on your os disk.


    show me cat /etc/docker/daemon.json

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • What does it mean: doesn't work? Error message?

    No, not error message - I had no access to the omv gui

    so I restart and now I have access to omv gui after that I tried to change (see post #76


    Code
    :~# cat /etc/docker/daemon.json
    {
      "data-root": "/var/lib/docker"
    }

Participate now!

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