File permissions in the case you have throbles installing UVdesk
-
Folder permission suggested on and after the setup if you are facing issues installing UVdesk.
.env file in the main root UVdesk folder need to be changed from 664 to 755 (777 only if you still get errors) and set again, after the setup, to 644
var and config folders 755 too (777 only if you still get issues) than permission should be changed or kept to 755 after the setup
If you forget to change the permission from 777 you will have a potential security issue on your server.
-
If you are facing install issue check also the following post: https://forums.uvdesk.com/topic/2098/impossible-to-install-stall-at-step-1-on-php8-step-4-on-php7-3/9?_=1667806532859
-
Check the below these cases and make changes accordingly:
- A web server might don't have permission to allow overriding of the Apache config on a per-directory basis. Allow Override needs to be set to All for the directory block as mentioned below:
<Directory /home/users/var/www/htdocs> Options Indexes FollowSymLinks AllowOverride All Require all granted
-
If your database password contains some special character(such as #$%@) then change your password and make it without special characters.
locate the .env file in your project and make sure APP_ENV=dev when you are doing your setup. -
Allow read-write permission for the below file & folder:
For .env file – chmod 755 -R path of .env file of UVdesk project
For Var folder -chmod 755 -R path of var folder of UVdesk project
For Config folder – chmod 755 -R path of config folder of UVdesk
For Public folder – chmod 755 -R path of the public folder of UVdesk
For Migration folder – chmod 755 -R path of the migration folder of UVdesk -
It happens mainly because of less execution time in the php.ini file.
By default, max_execution_time is 30 sec you need to increase it and restart your server.
Check here how to increase the max-execution time and restart your server.And clear your project cache by:
php bin/console c:c
Now try to install your project.
=> Also, run the below commands in your project root directory:
php bin/console doctrine:migrations:diff php bin/console doctrine:migrations:migrate
And clear the cache of the project:
php bin/console c:c
=> Once you try with the manual installation of uvdesk from here.
-
peopleinside
-
peopleinside