Web GUI Login Loop Issue

  • Hey everyone,


    I am a bit of a novice to omv and am at a loss at what is happening or happened. I turned on my main windows desktop and tried to login to the web gui and was thrown into a login loop. I tried everything from resetting Firefox to default settings and downloading Chromium but I still could not get passed the login screen. I have two users (both mine) and both of them made no difference. I can ssh into the system and when I tried everything I found online (sudo upgrade/update, firstaid and restarting nginx) nothing worked. I fear that I have to reinstall the OS but want to kick that can down as far as possible down the road. If anyone can lend a hand that would be greatly appreciated. I only have Photoprism setup and samba for my windows machine setup so I don't know what could have gone wrong.

  • but I still could not get passed the login screen. I

    Either your OS is full or you are not using the "admin" user.


    df -h

  • votdev

    Set the Label from OMV 7.x to OMV 6.x
    • Official Post
  • Either your OS is full or you are not using the "admin" user.


    df -h

    Woah okay I checked using that command and I have no idea how that happened, and thank you for the help :)

    This is what the output is, how do you recommend I fix this?


    • Official Post

    This is what the output is, how do you recommend I fix this?

    You can follow the guide linked in post 3.

    It seems that the problem has been caused by docker.

    You will have to find out what exactly has filled the drive. If it is a system with a lot of time, it is possible that they are only unused images. You could run docker system prune -a in CLI and see the result. If that allows you to access the GUI it might be easier from there to purge files you don't need.

    It would be a good idea to make docker independent of the operating system to prevent this from happening to you again.

  • You can follow the guide linked in post 3.

    It seems that the problem has been caused by docker.

    You will have to find out what exactly has filled the drive. If it is a system with a lot of time, it is possible that they are only unused images. You could run docker system prune -a in CLI and see the result. If that allows you to access the GUI it might be easier from there to purge files you don't need.

    It would be a good idea to make docker independent of the operating system to prevent this from happening to you again.

    I am going through what macom linked to and it so far hasn't changed. I had some log files that were above 100 gb for some dumb reason and i used rm to clear out everything. Also trying the command "docker system prune -a" gave me this output? I quickly reinstalled docker and it still gave me this output. I will wear my dunce cap later but what and how lol? and thank you for the help.


    Code
    -bash: docker: command not found
    • Official Post

    Also trying the command "docker system prune -a" gave me this output?

    The output should have been like this:

    Code
    ~# docker system prune -a
    WARNING! This will remove:
      - all stopped containers
      - all networks not used by at least one container
      - all images without at least one container associated to them
      - all build cache
    
    Are you sure you want to continue? [y/N]

    I'm guessing you've removed something you shouldn't have removed and uninstalled docker, or at least corrupted it.

    In the GUI go to Services>Compose>Settings and Press the Reinstall Docker button. That should fix it.

  • The output should have been like this:

    Code
    ~# docker system prune -a
    WARNING! This will remove:
      - all stopped containers
      - all networks not used by at least one container
      - all images without at least one container associated to them
      - all build cache
    
    Are you sure you want to continue? [y/N]

    I'm guessing you've removed something you shouldn't have removed and uninstalled docker, or at least corrupted it.

    In the GUI go to Services>Compose>Settings and Press the Reinstall Docker button. That should fix it.

    Heh yea I think maybe I did and after a few reboots and praying I think it worked? I went around and deleting logs and anything I could find that would be temporary. I can log in now and but is there a way I can avoid this problem in the future? This feels like I will face this issue again down the road.

    • Official Post

    but is there a way I can avoid this problem in the future?

    Yeah.

    Install docker on a separate drive. You have 3 options at a glance:

    1. Install OMV on a USB stick and use that SSD drive for docker. Ideal.

    2. Partition the SSD. But to do this you will have to install debian by partitioning and then OMV on the debian partition (it is the easiest way, there are others).

    3. Install docker on a data drive that allows it and leave the SSD for OMV.

  • Yeah.

    Install docker on a separate drive. You have 3 options at a glance:

    1. Install OMV on a USB stick and use that SSD drive for docker. Ideal.

    2. Partition the SSD. But to do this you will have to install debian by partitioning and then OMV on the debian partition (it is the easiest way, there are others).

    3. Install docker on a data drive that allows it and leave the SSD for OMV.

    Hmm I have a spare 250GB Samsung SSD laying around and could use that. You mind telling me how I could move docker to it and keep omv on the internal SSD?

    • Official Post

    You mind telling me how I could move docker to it and keep omv on the internal SSD?

    Take a look at this section of that document. I assume there is enough information to move docker from one folder to another, ask if you have questions. https://wiki.omv-extras.org/do…-compose_with_the_plug-in

Participate now!

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