You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to setup the latest version of Ospos 3.4.2 on my Linode. The system specs are as follows :
Operating system Ubuntu Linux 24.04.5
Apache version 2.4.58
PHP versions 8.3.6
MariaDB version 10.11.14
All recommended php extentions are enabled as per the install.md file. The file permissions are as per below :
I have setup the database and set the credentials in .env file and followed all instructions as specified. I am failing to understand despite repeated attempts to the get the new version working, where is the issue .. ?
Any other way to get to real error ? I am trying to get to the bottom of this coz I am facing this issue from a long time. I am using Virtualmin. Can that be an issue ?
Status: Cannot confirm resolved or present — insufficient diagnostic detail to identify a specific code defect.
This issue is a user-support thread for a generic "Error 500 on fresh install" (OSPOS 3.4.2, Ubuntu 24.04 / Apache 2.4.58 / PHP 8.3.6 / MariaDB 10.11.14). The discussion never surfaces an actual PHP stack trace or writable/logs entry — the reporter only got a generic Apache "403 Forbidden: Directory access is forbidden" page when trying to browse the logs directory directly (expected behavior, not the real error), and the thread ends without a resolution or root cause identified.
Without a specific error message, stack trace, or code path to check, I can't point to a concrete line in master that is or isn't fixed. This looks like an environment/webserver-configuration support case (e.g. .htaccess/rewrite or permissions issue specific to this host) rather than a reproducible code bug with a clear fix location. I'd recommend closing this as needing more information, or asking the reporter to share the actual contents of a writable/logs/*.log file (not a directory listing) before further code-level investigation is possible.
Generally 644 for files and 755 for folders. However writable must be able to be written to by the server if you want to have logs written. You'll need to post the relevant portion of your php error.log and apache error log in order to figure out what is causing the issue.
Activity
saurabh261187 commentedon Oct 11, 2026
Also, can someone also guide me how can I see the error log to get a better picture about this ..
jekkos commentedon Oct 11, 2026
To get the error log you need to create the .env file from .env.example and set the CI mode to development if it is set to production
saurabh261187 commentedon Oct 12, 2026
It is set to development. Where can I see the error log ? I am just getting this on screen :
jekkos commentedon Oct 12, 2026
We have a one line install script also, maybe you can try it out, but need to start from a fresh setup
saurabh261187 commentedon Oct 12, 2026
Do you mean using docker ?
saurabh261187 commentedon Oct 12, 2026
Where can I see the error log ?
odiea commentedon Oct 12, 2026
If you have logging setup you should be able to go to writable/logs and find them there.
saurabh261187 commentedon Oct 13, 2026
Directory access is forbidden.
This is the output of error log .
saurabh261187 commentedon Oct 13, 2026
Any other way to get to real error ? I am trying to get to the bottom of this coz I am facing this issue from a long time. I am using Virtualmin. Can that be an issue ?
objecttothis commentedon Oct 24, 2026
Claude Issue Checker Agent (cc @objecttothis)
Investigated against current
master.Status: Cannot confirm resolved or present — insufficient diagnostic detail to identify a specific code defect.
This issue is a user-support thread for a generic "Error 500 on fresh install" (OSPOS 3.4.2, Ubuntu 24.04 / Apache 2.4.58 / PHP 8.3.6 / MariaDB 10.11.14). The discussion never surfaces an actual PHP stack trace or
writable/logsentry — the reporter only got a generic Apache "403 Forbidden: Directory access is forbidden" page when trying to browse the logs directory directly (expected behavior, not the real error), and the thread ends without a resolution or root cause identified.Without a specific error message, stack trace, or code path to check, I can't point to a concrete line in
masterthat is or isn't fixed. This looks like an environment/webserver-configuration support case (e.g..htaccess/rewrite or permissions issue specific to this host) rather than a reproducible code bug with a clear fix location. I'd recommend closing this as needing more information, or asking the reporter to share the actual contents of awritable/logs/*.logfile (not a directory listing) before further code-level investigation is possible.saurabh261187 commentedon Oct 24, 2026
What are the required file permissions ?
objecttothis commentedon Oct 24, 2026
Generally 644 for files and 755 for folders. However writable must be able to be written to by the server if you want to have logs written. You'll need to post the relevant portion of your php error.log and apache error log in order to figure out what is causing the issue.
Make sure that you went through all the steps in https://github.com/opensourcepos/opensourcepos/wiki/Getting-Started-installations for your server. Make sure that apache is properly serving a basic php page. you can do this by creating a php file with
<?php phpinfo(); ?>as it's contents and opening that file in the browser. If that too gives you a Server 500 error then it's highly likely to be a server configuration error.Also go to https://github.com/opensourcepos/opensourcepos/wiki/Minimum-Server-Requirements and make sure your PHP installation has all the required components enabled.
objecttothis commentedon Oct 30, 2026
@saurabh261187 were you able to get this sorted out?