Open WolfwithSword opened 3 months ago
I've been having this same issue for the past month, I've tried so many things but still nothing. Running on Docker on a raspberry pi.
Edit: looking for a solution, I found that adding network_mode: "host"
to grimoire helps with the database error, but still keeps randomly login me out all the time...
Not an ideal solution at all, I'm afraid...
I'm aware of this bug and tried to fix it twice, but was unsuccessful. This is one of the reasons I've chosen to rewrite the core parts of the app to focus on simplicity and performance.
I don't know how much time it will take to get there, and I hope you will understand. Rest assured, it will be fixed - I'm using every chance I get to proceed with the work on this.
Describe the bug I currently have this setup in Unraid with the latest grimoire container and associated pocketbase container. I'm accessing everything locally currently before exposing out with a reverse proxy on a domain.
I'm getting a few issues which I think might be related. The first and primary issue is that I am constantly being logged out of Grimoire every few minutes. To the point where if I log in and click to create a new category, by the time I've named it and selected a colour, there is a 50% chance I've been logged out and it doesn't add.
Additionally, sometimes when it logs me out, I am still able to see all my user's categories on the left side even though I am not logged in. If I leave the "login" page open for a few minutes before logging in, it immediately signs me out again.
I should note that the extension does keep me logged in.
Second issue is no images/media are loading from the bookmarks I do have added. I've checked the paths and compared to the files in the pocketbase instance's volumes and they do exist.
Anytime an action is taken place in Grimoire, the following log is produced:
The pocketbase URL I have set in the environment variables is
http://pocketbase:80
as I have both containers in the same docker network. However, the logs keep saying it is using "localhost:8090" for the pocketbase url, though this did work for the initial setup of my bookmarks until I started having the login issue about 30 min after first using it.I have reinstalled both containers a couple times and still getting these issues. Additionally in trying to get the screenshot below of the missing media, the logging out behaviour worsened and it logs me out immediately upon logging in now.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect to stay logged in for a longer period of time, for my categories to not be visible if my user is logged out, and for images to load.
Screenshots
Desktop (please complete the following information):
Additional context I have checked on two different devices and different browsers, so I can rule out a caching or cookie issue with the login or media.