Question on installation
Please verify that this bug has NOT been raised before.
- [x] I checked and didn't find a similar issue
Describe the bug*
I have everything installed seems properly. It works perfectly fine if you use the localhost. But when you start connecting through the IP address from a remote computer login for the old interface will not login and is missing pictures on the newer interface. Any help would be appreciated.
Steps to Reproduce
I have everything installed seems properly. It works perfectly fine if you use the localhost. But when you start connecting through the IP address from a remote computer login for the old interface will not login and is missing pictures on the newer interface. Any help would be appreciated.
Expected behaviour
Everything seems properly installed. It works perfectly fine if you use the localhost. But when you start connecting through the IP address from a remote computer login for the old interface will not login and is missing pictures on the newer interface. Any help would be appreciated.
Deployment Method
- [x] Docker
- [ ] Package
- [ ] Bare metal
- [ ] Other - added info in Steps to Reproduce
Version Information
17.0
Please verify if you can reproduce this bug on the demo site.
- [ ] I can reproduce this bug on the demo site.
Relevant log output
I have encontered the same issue on Ubuntu. On Debian 11 all is fine. You should also check configuration settings. particulary samesite cookie
I have encontered the same issue on Ubuntu. On Debian 11 all is fine. You should also check configuration settings. particulary samesite cookie
Where would I find that at in the configuration file?
You need this parameter INVENTREE_COOKIE_SAMESITE=False https://docs.inventree.org/en/latest/start/config/#server-access
You need this parameter INVENTREE_COOKIE_SAMESITE=False https://docs.inventree.org/en/latest/start/config/#server-access
What config file would I find that in? I’m relatively new at this. I am still on the path of learning. thank you in advance.
@Jamespcman if you are running via docker you can set this variable in your .env file.
@Jamespcman if you are running via docker you can set this variable in your
.envfile.
Thank you, I’ll give it a whirl and let you know. such a great program, keep up the good work.
@Jamespcman if you are running via docker you can set this variable in your
.envfile.Thank you, I’ll give it a whirl and let you know. such a great program, keep up the good work.
@SchrodingersGat i’ve tried several hours to locate the .env file to make the changes with no avail. I apologize. I’m trying to learn this code. If you can provide a path. I’m using doctor with. Ubuntu 20.4.
If you followed the docker setup guide then you would have downloaded the .env file into a directory somewhere on your machine. It is in the same directory as the docker-compose.yml file.
If you followed the docker setup guide then you would have downloaded the
.envfile into a directory somewhere on your machine. It is in the same directory as thedocker-compose.ymlfile. @SchrodingersGat I was able to find the file added the two lines still same issue.
you should restart the server and delete the browser cache
you should restart the server and delete the browser cache
@gab696 i’ve done that repeatedly and it still not working
@Jamespcman why are you using the docker.dev.env file - you should be using the .env file.
As per the docker setup guide - https://docs.inventree.org/en/stable/start/docker_install/#required-files
@Jamespcman why are you using the
docker.dev.envfile - you should be using the.envfile.As per the docker setup guide - https://docs.inventree.org/en/stable/start/docker_install/#required-files
@SchrodingersGat got it working, thank you for your help. Appreciate your patience. I’m not 100%. sure how I got it working but I’ll just reading up.
We are having the same issue +(labels also don’t work), we are using bare metal, latest version. Any idea how to fix the issue?
@spitdavid are you not able to see any uploaded images in the user interface?
@spitdavid are you not able to see any uploaded images in the user interface?
Yes, also we can't login in to the old UI, just the new one. And on top of it, we can't print labels or export xls.
@spitdavid did you adjust your INVENTREE_COOKIE_SAMESITE value as specified in the thread above? That should address both your problems
@spitdavid did you adjust your
INVENTREE_COOKIE_SAMESITEvalue as specified in the thread above? That should address both your problems
Helped. Thanks a lot!