I cloned the repo this morning (2024-07-06) and followed the installation instructions. I created a host entry to point to the akaunting.company.com on my local machine. I am able to login, but seem to be stuck at the wizard screen.
I believe the issue is that livewire.min.js is loading without the docker compose defined port in the URL.
It's possible this would be better filed in the akaunting/akaunting repo because I believe that is where a change will need to be made.
My environment
I am running on Ubuntu 22.04. It's using the PHP version built into the docker image which is 8.1.29. I'm using the 'latest' image which I believe is the 3.1.9 version of Akaunting.
I tried both http and https URLs without success.
I see three errors in the Chrome developer console but I believe the main issue is this
GET https://akaunting.company.com/vendor/livewire/livewire/dist/livewire.min.js?id=cc800bf4 net::ERR_CONNECTION_REFUSED
You can see the port is missing from the request.
Here is the line of JavaScript in the wizard page that is incorrect:
Steps to recreate
I pulled the repo and followed the steps with the following config files:
db.env
# These could be changed
MYSQL_DATABASE=akaunting
MYSQL_USER=admin
# This should definitely be changed to something long and random
MYSQL_PASSWORD=akaunting_password
# You should probably leave this
MYSQL_RANDOM_ROOT_PASSWORD=yes
run.env
# You should change this to match your reverse proxy protocol, DNS name and port (if non standard port is used)
APP_URL=https://akaunting.company.com
LOCALE=en-US
# Don't change this unless you rename your database container or use rootless podman, in case of using rootless podman you should set it to 127.0.0.1 (NOT localhost)
DB_HOST=akaunting-db
DB_PORT=3306
# Change these to match env/db.env
DB_NAME=akaunting
DB_USERNAME=admin
DB_PASSWORD=akaunting_password
# You should change this to a random string of three numbers or letters followed by an underscore
DB_PREFIX=asd_
# These define the first company to exist on this instance. They are only used during setup.
COMPANY_NAME=Company
COMPANY_EMAIL=accounting@company.com
# This will be the first administrative user created on setup.
ADMIN_EMAIL=kenny@company.com
ADMIN_PASSWORD=asdfg
Issue
I cloned the repo this morning (2024-07-06) and followed the installation instructions. I created a host entry to point to the akaunting.company.com on my local machine. I am able to login, but seem to be stuck at the wizard screen.
I believe the issue is that livewire.min.js is loading without the docker compose defined port in the URL.
Here is the URL I am seeing in the requests
Here is the URL I would expect to see
It's possible this would be better filed in the akaunting/akaunting repo because I believe that is where a change will need to be made.
My environment
I am running on Ubuntu 22.04. It's using the PHP version built into the docker image which is 8.1.29. I'm using the 'latest' image which I believe is the 3.1.9 version of Akaunting.
I tried both
http
andhttps
URLs without success.I see three errors in the Chrome developer console but I believe the main issue is this
You can see the port is missing from the request.
Here is the line of JavaScript in the wizard page that is incorrect:
Steps to recreate
I pulled the repo and followed the steps with the following config files:
db.env
run.env
Then I ran this command: