OpenMediaVault 5 Login Loop issue after Update

In this segment, we are going to show you “How you can resolve OpenMediaVault 5 login loop issue after any update or upgrade”

OpenMediaVault 5

What is OpenMediaVault?

OpenMediaVault (OMV) is a free Linux distribution designed for network-attached storage (NAS). The project’s lead developer is Volker Theile, who instituted it in 2009. OMV is based on the Debian operating system and is licensed through the GNU General Public License v3.

Source /> Wikipedia


OpenMediaVault Versions :

OpenMediaVault 5 Installation Guide :

Equipment Required Optional
Raspberry Pi Raspberry Pi 4 Case
SD_Card SD Card Raspberry Pi Keyboard
Ethernet Ethernet Cable Mouse
Charger Power Adapter    
HDD External HDD    
Shop now

We may earn a commission for purchases using our links. Learn more.

Resolve OpenMediaVault 5 Login Loop issue

  • Usually, this issue occurs because openmediavault-flashmeory restrict the user from login into OpenMediaVault web interface after an update.
  • Whenever we are trying to login to OpenMediaVault it gives us the login screen again and creates a loop.
OpenMediaVault 5
  • So, we can easily resolve this issue by removing our openmediavault old login sessions.
  • For that first of all, we need to login to our OpenMediaVault using SSH.
  • Then use the below-given command to remove the sessions folder.
sudo rm -rf /var/lib/php/sessions
  • After that, we can create a new session folder with the below-given command.
  • Moreover, we use ‘777‘ permission, so everyone can read, write, and execute the folder.
sudo mkdir -m 777 /var/lib/php/sessions
  • Also, check the sessions folder status and its permission using the ls command.
ls /var/lib/php -l

OpenMediaVault 5

  • At last, we can reload the Nginx server. so that all the changes can be applied successfully.
  • Once the Nginx server reloads then we can go ahead and reboot the system.
sudo nginx -s reload
sudo reboot

In conclusion

  • You are all set to use OpenMediaVault 5 without any login issue.
  • However, If you face any issue regarding this article please share your thoughts.
  • Enjoy using Openmediavault 5. Smile (.”_”.)

Please check out my other articles:

Did you find us helpful?

Subscribe our YouTube Channel YouTube
Support us on Patreon Patreon
Like us on Facebook facebook
Share This Article with others

Harish Kumar

As a founder of the PcMac YouTube channel and website, Our goal is to provide Free Technical help to people and spread knowledge to everyone.
0 0 votes
Article Rating
Notify of
Newest Most Voted
Inline Feedbacks
View all comments
1 year ago

[…] 10. OpenMediaVault 5 Login Loop issue after Update | PcMac […]

1 year ago

Didn’t work for me

1 year ago

[…] 3. OpenMediaVault 5 Login Loop issue after Update | PcMac […]

2 months ago

[…] OpenMediaVault 5 Login Loop issue after Update – PcMac […]

1 month ago

[…] OpenMediaVault 5 Login Loop issue after Update – PcMac […]