You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did a fresh bare metal installation using the installation script in a debian 11 lxc on proxmox and would always get logged out when refreshing, would not be able to download any media or display the pictures. Also old GUI would not work, login button was just dead.
citing from /etc/inventree/config.yaml
# Cookie settings (nominally the default settings should be fine)
#cookie:
# secure: false
# samesite: false
these three lines need to be commented out to fix this, as we are not using ssl.
NOTE: I had a comment here asking for further information, but I have found out why the problem is occurring. I'll ensure a patch is up quickly
Fix is incoming in #8767 - the default value for the SESSION_COOKIE_SECURE parameter was not being set properly, in the absence of the lines you un-commented in the configuration file.
Deployment Method
Steps to Reproduce
Describe the problem*
Did a fresh bare metal installation using the installation script in a debian 11 lxc on proxmox and would always get logged out when refreshing, would not be able to download any media or display the pictures. Also old GUI would not work, login button was just dead.
citing from /etc/inventree/config.yaml
these three lines need to be commented out to fix this, as we are not using ssl.
took me a night to figure this out.
Steps to Reproduce
in proxmox pve shell create debian 11 lxc
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/vm/debian-vm.sh)"
in debian lxc
wget -qO install.sh https://get.inventree.org && bash install.sh
copy media and import database from old installation to have some media to download
inventree run invoke import-records -c -f data.json
Relevant log output
The text was updated successfully, but these errors were encountered: