Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

404 Error post install

Mechanical_Lamb   ( User )

Commented 3 years ago

Akaunting Version: 2.1.29 from github
Ubuntu 20.04
Apache2 v2.4
PHP 7.4
Using MySQL
akaunting install-dir = /var/www/html/aka


I am attempting to host akaunting on my local ubuntu server, however attempting to connect results in either a a Not Found page in plain text or a not found page in the akaunting style (color scheme and all of that). Upon clicking the Dashboard link I am redirected to http://host-ip-addr/aka/login/auth which shows up as another Not Found page in plain text

As far as I am aware, I have installed every php7.4 package from the apt repos listed in every guide I've come across.

For apache modules, rewrite and php7.0 are enabled.
- apache2/sites-available/aka.conf has DocumentRoot /var/www/html/aka
ServerName localakaunting.com
ServerAlias www.localakaunting.com

Akaunting Dir
-The /var/www/html/aka is owned by www-data
-In .env, APP_NAME=aka
APP_ENV=production, local or dev has no effect
APP_URL= http://localhost/aka/ or http://localakaunting.com or http://www.localakaunting/

I have tried deleting and reinstalling akaunting again from both github and the akaunting website. The github download is the only version I can install without any errors from composer install or npm install. I have made sure I have all of the requirements installed from the requirements page and akaunting is connected to mysql db

I have followed several guides and search though many forum threads and have made no progress over the last three days besides getting http://host-ip-addr/aka to pull up the akaunting 404 page instead of a plaintext 404 page. Also, my browser does receive cookies from akaunting. Usually between 2-4 different cookies, including 2 session cookies

Is there any more information that could be useful, or anything else I should try? I am trying to keep akaunting on my local server because this is for security testing for a uni class


William Scheele   ( User )

Commented 2 years ago

hi Mechanical_Lamb . did you ever get yours working, I am having similar 404 errors when trying to set it up on my nginix server. I am able to access it by internal ip fine. Not a linux person, so been trying to search around. Tnx!

Please login or register to leave a response.

Showing 1 to 2 of 2 discussions