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
{{ message }}
Repository navigation
configuration file misconfiguration for bare metal nginx setup #8761
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.
Activity
SchrodingersGat commentedon Dec 25, 2024
@matmay thanks for reporting this.
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_SECUREparameter was not being set properly, in the absence of the lines you un-commented in the configuration file.