It's highly recommended to double-check that all Appskull files are uploaded to the web server and that you've followed all the installation instructions correctly. Additionally, it's highly recommended to read this entire troubleshooting chapter before attempting to fix errors.
The easiest way to diagnose errors in Appskull is simply to look into the logs directory located in the writable directory at the root of Appskull. If any log files exist, you can then open them and try to identify and diagnose errors.
For security reasons, Appskull won't display any errors by default. Instead, it will show a blank page. Displaying errors could potentially expose sensitive information about your server environment and the Appskull installation, which poses a significant security risk. While this behavior is beneficial for security, it can make error diagnosis challenging.
But you can easily change this default behavior by following the steps below:
Open the .env
file in the root directory.
Change the application environment from production to development.
.env
file and upload it again to the server.
.env
back to production
. This is crucial for security.
Sometimes, when this software is downloaded and uploaded onto a production server, certain files can become corrupted due to various reasons. Consequently, the software may not function properly. In these situations, you can try re-downloading the software and re-uploading it to see if that resolves the issues. While these issues are not very common, they can occur from time to time.
Errors can occur due to a lack of read and write permissions for Appskull folders. Therefore, ensure that you grant appropriate file system permissions for Appskull folders/directories to ensure proper functionality. All directories of Appskull should have read permissions, and all the directories inside the writable
directory located in the root directory should have write permissions.
You can navigate to your Appskull root directory and execute the terminal command sudo chmod -R 755 *
or sudo chmod -R 777 *
to grant all file system permissions to Appskull directories.
Ensure that all your PHP, PostgreSQL, and other application servers meet the minimum requirements for this application. Using outdated or excessively new application servers can lead to errors.
Please ensure that you install all the required and recommended PHP extensions. Otherwise, this can also cause errors.
This application requires certain PHP Composer packages in order to function properly. Ensure that you install them with the correct versions to avoid potential errors.
You can find details of the minimum server requirements of this application in this Installation chapter.
By default, the public string $indexPage
configuration in the App config file under the root/app/Config
directory is set to 'index.php'
. However, if you have changed it to ''
to remove the 'index.php'
part from the URLs and are encountering this Error 500 Internal Server Error, it could be an issue related to .htaccess.
In-order to troubleshoot this issue;
Now, try accessing your Appskull installation. If you have followed all the steps correctly, the installation should work properly. However, if you still encounter this error and wish to proceed with the installation, set the public string $indexPage
configuration to public string $indexPage = 'index.php';
and delete the .htaccess
file. Then, try reloading the homepage.
In order to fix this error, you have to review database related configuration values in root/.env
file and make them correct.
This error can occur in the Apache web server due to an incorrect public string $baseURL
configuration in the root/app/Config/App.php
file. Therefore, be sure to review that configuration value and correct it to resolve this error.
Get other troubleshooting tips from CodeIgniter4 official documentation.