First check the output of /storage/logs/leantime-xx-xx-xx.log
This is usually caused by 1 out of 2 commone issues:
A. The session folder was removed or does not have the appropriate permissions to write sessions. For this just make sure that the session directory is owned by the php user
B. LEAN_SESSION_SECURE
is set to true but requests are served via http. LEAN_SESSION_SECURE
forces PHP to only read cookies if they have been sent via https. If the requests comes in via http cookies will not be read.
If you would like to serve Leantime via http then you must set LEAN_SESSION_SECURE
to false
One of our previous versions removed session folders to reset cache. When running the system:update command as root this caused a permission mismatch. Easiest solution is to create the folder and update Leantime to the latest version.
There are two possible options why this would happen
- The mod_rewrite module is not installed or not configued properly.
- Your vhost configuration does not point to the public/ folder
This usually happens when PHP can't write to the local folder. Make sure userfiles/ and public/userfiles/ are writeable by the server user
This means that you downloaded the source code and didn't run the steps as required by the development install. Either use the release package or run the steps outlined in https://docs.leantime.io/#/installation/development
If the styles are not applied and the system looks as if it came straight from the 90s the CSS stylesheets didn't load correctly. There are 2 possible reasons for that.
- You installed the source code and didn't execute the grunt tasks https://docs.leantime.io/#/installation/development
- You installed Leantime in a subfolder but forgot one of the steps outlined in: https://docs.leantime.io/#/installation/advanced
You are running Leantime using PHP7.X Leantime required PHP8 to run.
More than likely your apache/iis if configured to only allow post and get http methods. We use the entire spectrum of http request methods. Please add
<Limit GET POST PUT OPTIONS DELETE PATCH HEAD>
Require all granted
</Limit>
<LimitExcept GET POST PUT OPTIONS DELETE PATCH HEAD>
Require all denied
</LimitExcept>
to your .htaccess file to allow these methods