uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
MIT License
7.18k stars 448 forks source link

UVdesk setup never work as expected. Unable to install UVdesk on Plesk #613

Open PeopleInside opened 1 year ago

PeopleInside commented 1 year ago

Bug report

Title

While installing Wordpress is easy, installing UVdesk seems quite impossible for me. After several months or years, the UVdesk setup process never improved.

I will show in a single video how it's easy install Wordpress:

How is impossible install UVdesk:

Now I'm trying to install a new instance for give access to your team about another BUG but I'm unable to install UVdesk as the wizard seems have always issue. Also if all database data insert are correct and works without any issue in Wordpress, UVdesk still give issues, errors and never install.

Now I don't know how many time I will keep a demo test server on my VPS just for you so I post here the video of the issue, can you explain why Wordpress install without issue and your software still refuse to install and say the database connection is wrong or not possible when is not true that data insert can be wrong?!

https://www.screencast.com/t/bQp327HdJK

PeopleInside commented 1 year ago

https://github.com/uvdesk/community-skeleton/issues/602

komal-sh-27 commented 1 year ago

We have checked with the PHP 8.1 version latest release. Here we have used the same details as yours with the database user name and database name and we are not getting this issue. Once you check the Redis extension is enabled or not. If enable so disable it for more information check here.

Check this video: https://www.awesomescreenshot.com/video/11718270?key=2db07a900ca07d1e07d2107e13298566

For the check issue shares your details of the test server instance on the support tickets.

PeopleInside commented 1 year ago

I'm unable to find redis extension in the php.ini Again I ask why I'm able to install Wordpress but UVdesk never allow me to connect to the database.

If UVdesk still be so hard to install and so impossible to me to test on new instance how I can help showing bugs and issues? I need find an alternative software if still have all this issue unresolved.

Wordpress easy install, UVdesk impossibile to install as is still not connecting to the server database.

PeopleInside commented 1 year ago

Found redis, I need to be a server admin to disable that in Plesk. Now the setup work but very bad your wizard require to have this extension disabled when Wordpress has not issues on install on the server.

PeopleInside commented 1 year ago

immagine

As I said, install UVdesk is quite impossible. The .env file has permission 777 that is very bad for security and setup still not working

komal-sh-27 commented 1 year ago

Once 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
  2. 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.

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

  4. 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 max-execution time. Restart your server.

And clear your project cache by: php bin/console c:c Now try to install your project.

PeopleInside commented 1 year ago

Again, Wordpress install without issue, UVdesk is quite impossibile to install. For now I'm loosing to much time, I will stop to try to install UVdesk, sorry.

Too bad, too issues. Before the database that are unable to connect and after this now the issue with .env file.

Wordpress install 2 minutes, UVdesk 24 hours or more with all this errors and issues; I cannot loose days and hours because there are errors everywhere.