UVdesk

    • Register
    • Login
    • Search
    • Recent

    File permissions in the case you have throbles installing UVdesk

    Knowledge Base
    1
    3
    538
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • peopleinside
      peopleinside community specialist mod admin last edited by peopleinside

      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.

      UVdesk passionate | Community moderator | External consultant

      If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
      You can always get in touch also with the UVdesk team
      https://support.uvdesk.com/en/

      peopleinside 1 Reply Last reply Reply Quote 1
      • peopleinside
        peopleinside community specialist mod admin @peopleinside last edited by

        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

        UVdesk passionate | Community moderator | External consultant

        If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
        You can always get in touch also with the UVdesk team
        https://support.uvdesk.com/en/

        1 Reply Last reply Reply Quote 0
        • peopleinside
          peopleinside community specialist mod admin last edited by peopleinside

          Check the below these cases and make changes accordingly:

          1. 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
          
          1. 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.

          2. Allow read-write permission for the below file & folder:
            For .env file – chmod 777 -R path of .env file of UVdesk project
            For Var folder -chmod 777 -R path of var folder of UVdesk project
            For Config folder – chmod 777 -R path of config folder of UVdesk
            For Public folder – chmod 777 -R path of the public folder of UVdesk
            For Migration folder – chmod 777 -R path of the migration folder of UVdesk

          3. 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.

          Source

          UVdesk passionate | Community moderator | External consultant

          If you need help with the community you can visit https://helpdesk.peopleinside.it/it/blog/uv
          You can always get in touch also with the UVdesk team
          https://support.uvdesk.com/en/

          1 Reply Last reply Reply Quote 0
          • First post
            Last post