Forum

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

New Discussion

Portainer - Docker Compose Installation

K-Dyer Dyer   ( User )

Commented 1 year ago

Hi all and wish you a great new year!

I'm trying to install Akaunting.
Installation method Docker on Synology NAS through Portainer.

Installation script
---
version: "2.1"
services:
akaunting:
image: docker.io/akaunting/akaunting:latest
container_name: Akaunting
environment:
- PUID=1026
- PGID=100
- AKAUNTING_SETUP=true
- APP_ENV=production
- APP_LOCALE=en-GB
- APP_INSTALLED=false
- APP_DEBUG=true
- DB_CONNECTION=mysql
- DB_HOST="IP Pointing to MariaDB Docker Installation"
- DB_PORT=3306
- MYSQL_DATABASE="My DB Name"
- MYSQL_USER="My DB User"
- MYSQL_PASSWORD="My DB Password"
volumes:
- /volume1/docker/Akaunting/mysql:/var/lib/mysql
- /volume1/docker/Akaunting/logs:/var/log
- /volume1/docker/Akaunting/config:/var/www/akaunting/config
- /volume1/docker/Akaunting/storage:/var/www/html/storage
- /volume1/docker/Akaunting/modules:/var/www/html/modules
ports:
- 8055:8080
restart: always

Once installed I can navigate with phpmyadmin to my mariadb and see that the db is actually created with the tables inside...
But once I browse to the container, the akaunting site comes up, prompting for my user credentials.
No installation wizard... it keeps asking me to enter my credentials which I don't have, because I actually didn't create any user yet...

Anyone can help with this?
Thanks in advance.

Kyle Te   ( User )

Commented 1 year ago

I had the same issue, did you resolve the issue?

K-Dyer Dyer   ( User )

Commented 1 year ago

I'm afraid no, still same issue.
Hope someone can reply at some point with an answer...

Mira23 Mira23   ( User )

Commented 1 year ago

Compose refuses to run containers that were built without labels so that you don't end up with two sets of them. If you wish to maintain utilizing your old containers (for example, word hurdle because they have data volumes you want to keep), you can move them using Compose 1.5.x.

Alyn Sparkes   ( User )

Commented 6 months ago

Not that it'll help at this point, because you'll get to another issue detailed here:
https://akaunting.com/forum/discussion/installation-update/cant-run-31-with-docker

Looks like the AKAUNTING_SETUP=true is not being honoured. I'm trying to do this with a Portainer stack, and have got the setup to run and create the database and tables, but it now fails as per the above link when trying to create the initial user/company.

Please login or register to leave a response.

Showing 1 to 5 of 5 discussions