Closed rwario closed 2 months ago
Please try to run php artisan config:clear
and php artisan cache:clear
in the LinkAce Docker container.
Also, did you modify any variables in the .env file besides database passwords?
Nope the commands did not change anything still showing the same mismatch error. I have not changed anything besides the needed database data in the .env file.
But i have found in Maria DB LOG following info :
An upgrade is required on your databases.
Stop any services that are accessing databases
in this container, and then run the command
mariadb-upgrade -u root -p PASSWORD
I will try to run this command and report back if this fixed the issue.
Update: The Database Upgrade did not change anything, still showing the same error.
Could you please share more details about your setup:
I had the same problem myself. I solved the problem by editing the .env file in this way:
SESSION_SECURE_COOKIE=false
SESSION_SECURE_COOKIE=false
Thanks imloic! That did the trick its working again. Danke auch Kovah!
I am facing same issue with version v1.15.1. Using firefox. I am able to see CSRF token generated.
@ani-6 have you tried the suggested fix?
Yup its working fine with SESSION_SECURE_COOKIE=false
It seems that everything is working fine. Maybe it should be documented, that if you access the app via HTTP (and not HTTPS) you have to set that environment variable.
Same issue, resolved adding the nginx config to my reverse proxy: https://www.linkace.org/docs/v1/setup/setup-with-docker/advanced-configuration/
This should basically be fixed with the latest version 1.15.2. The latest change causing this issue was reverted.
Bug Description
I installed the linke ace docker for my unraid server and it was working very well and i imported all my bookmarks. This morning i was logged out and tried to log in again getting this error:
419 - Page Expired CSRF token mismatch
And cant login anymore (tried different browsers, cleaned cache etc.). How do i fix this problem? If not how can i save my bookmarks?
How to reproduce
Expected behavior
Working login into the bookmark page.
Logs
No response
Screenshots
LinkAce version
v1.15.0
Setup Method
Docker
Operating System
other (please specify in description)
Client details
Unraid 6.12.10, Browser Brave