akaunting / docker

Docker Image for Akaunting
https://github.com/akaunting/akaunting
GNU General Public License v3.0
188 stars 88 forks source link

Can't install Akaunting through portainer #86

Open Chouaib99 opened 1 year ago

Chouaib99 commented 1 year ago

Hello,

I'm trying to install Akaunting through portainer using the following Docker composer.

the installation is going well and I can access the login portal but nothing happens afterwards.

You will find below the script used and the database log with the error message obtained.

Could you please advice me

`version: '3.7'

services:

akaunting: container_name: akaunting image: docker.io/akaunting/akaunting:latest build: context: . ports:

Capture d’écran 2023-01-18 à 23 26 42
inigelcn commented 1 year ago

have same issue, maybe it is not okay for synology nas

darioandreella commented 1 year ago

I am quite into the same issue, trying to deploy Akaunting and a MariaDB through Portainer, as a stack. Obviously the docker-compose file present in the main project can't work, because those .env files can not be created before the stack is even started, so I tried to follow your approach too @Chouaib99 inserting the environmental variables directly into the docker-compose file (they come from the .env example files in the repo). I don't paste it here because it is quite similar to yours and so far it doesn't work here either.

I experience 2 different (and probably related) problems:

Looks like a database related issue, I didn't dig any further for now, but as soon as the front-end tries to reach the db, something goes wrong.

I would appreciate a more clear installation section on the main repo that may include the Portainer (or anyways the "pure compose approach, not just the bare-metal way) scenario.

Once running, I plan(ned) to set everything behind a reverse proxy, but am currently stuck here...

Cheers!

darioandreella commented 1 year ago

Quite sad to see that basically not a single issue had ever had any response, is the project still actively maintained?

wmhoneycutt commented 1 year ago

I have succeeded by using the Projects tab under container manager, to deploy stack. I created a folder named 'akaunting' and two subfolders named 'db' and 'env'. I copied the example env files and uploaded to the env folder where I changed the variables to match my needs. However, when I go to login, nothing happens. I get the following on the front end: image

See attached logs. I'm just getting started with Docker stuff, so If I've done something stupid, I apologize.

akaunting.csv akaunting-db.csv