Solved Nginx server 404 error after installation
-
I tried to install the uvdesk using the instructions located here: https://github.com/uvdesk/community-skeleton.
The package was downloaded and installed on my system along with all the dependencies and required packages. I faced no issue during the installation and it seemed to complete without error. I have a full capture of the log of the installation if you require it to troubleshoot.
I have not setup the database yet so I navigated to my installation page located at https://www.example.com/public/index.php and as soon as I pressed the "Lets Begin" button I was taken to an error screen with the error "Unable to locate the path on the server" 4 times.
The server runs Nginx and supports php 8.1.
It also supports previous versions of php and up to 8.3. So if the problem is my php version, I can change it.
------Update-----
I was able to proceed with the initial configuration using ssh. I run the command:php bin/console uvdesk:configure-helpdesk
and I was able to connect to the database and create an admin user.Now, when I try to get to https://www.example.com/public/index.php I get a 404 error from NGINX.
It seems to me that this is the same issue, and that it's not related to PHP. When I go to my error logs on the server, the php error log is completely empty and the NGINX access and error logs are full of 404 errors.
I believe it's something to do with my NGINX vhost file but I really don't know where to begin.
Do you have any tips about what directives should be included in the NGINX vhosts file? Maybe If I copied the vhosts file and shared it with you, you could spot the issue?
-
Hello,
Thank you for replying.
I was able to resolve the issue.
It was as simple as setting the root of my project to include /public and not having to run it on a folder.
In reality it was an issue with my NGINX vhost. I had to include a root for /public. Either that or setting /public to root. I chose the latter and left the vhost intact.I too feel sour about how the uvdesk team are treating us.
Seeing the lack of support for simple and basic issues, makes me not want to suggest this piece of software to my customers. Given the fact that there are quite a few self-hosted, open-source helpdesk solutions out there, I plan to do my research and end up with the most reliable team.UVdesk is not it! -
@escozul hi, thanks for your post.
Unfortunately I don't know how to help about your issue.I'm not part of the UVdesk staff and I'm not a developer, I'm just a helper on this community. Seems UVdesk staff is not replying in those days here on the community, I hope they will return back to reply to users on the community.
Usually 404 not found means some patch or the web address is not correct.
Is Uvdesk installed in the root of your hosting or in a folder?If you installed in a folder your URL should be https://www.example.com/uvdeskfolder/public/
-
Hello,
Thank you for replying.
I was able to resolve the issue.
It was as simple as setting the root of my project to include /public and not having to run it on a folder.
In reality it was an issue with my NGINX vhost. I had to include a root for /public. Either that or setting /public to root. I chose the latter and left the vhost intact.I too feel sour about how the uvdesk team are treating us.
Seeing the lack of support for simple and basic issues, makes me not want to suggest this piece of software to my customers. Given the fact that there are quite a few self-hosted, open-source helpdesk solutions out there, I plan to do my research and end up with the most reliable team.UVdesk is not it! -
peopleinside 10 Dec 2023, 21:22
-
the UVdesk team was very nice at my starting when I discover UVdesk.
Currently maybe there are busy or they are ... I don't know. I suppose it is not easy maintain an open source software when you have also to give time for the job that help customers.
I just hope the UVdesk open source project can continue to exist and can still get updates and maybe a little bit more support on the forum.
I like the interface of UVdesk but the code need to be kept updated and improved and also give a small support here on the forum is important
-
I'm very glad reading you was able to resolve the issue!
Thanks for updating us