Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings wont be saved? #105

Open
xeonixo opened this issue Nov 26, 2023 · 4 comments
Open

Settings wont be saved? #105

xeonixo opened this issue Nov 26, 2023 · 4 comments

Comments

@xeonixo
Copy link

xeonixo commented Nov 26, 2023

Hi! I am new to Akaunting, i wanted to change from ODOO.

Installing was a bit unusual and not really easy.

Got it multiple times to the same result:

Settings from my company will not be saved... settings in my profile however are saved (changed email, password)

I cannot add a phone number, cannot change the date format and nearly everything else, after save and page reload the values are gone.

Is there an issue due to the locale de-DE?

My Docker Compose:

  akaunting:
    container_name: akaunting
    image: docker.io/akaunting/akaunting:latest
    build:
      context: .
    volumes:
      - akaunting:/var/www/html
    restart: unless-stopped
    env_file:
      - akaunting/docker/env/run.env
    environment:
    #  - AKAUNTING_SETUP=true
      - APP_DEBUG=true
    depends_on:
      - sql
    networks:
      heimnetz:
        ipv4_address: 192.168.0.130

My 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. (does not matter)
LOCALE=de-DE
# 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=192.168.0.129
DB_PORT=3306
# Change these to match env/db.env
DB_NAME=akaunting
DB_USERNAME=akaunting
DB_PASSWORD=(does not matter)
# 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=(does not matter)
COMPANY_EMAIL=(does not matter)

# This will be the first administrative user created on setup.
ADMIN_EMAIL=(does not matter)
ADMIN_PASSWORD=(does not matter)

@tranrn
Copy link

tranrn commented Dec 6, 2023

Same with ru_RU
Tried to change any settings: SMTP, locale and so on. Nothing changes

@tranrn
Copy link

tranrn commented Dec 6, 2023

"POST /1/settings/email HTTP/1.0" 500
"POST /1/settings/company HTTP/1.0" 500

@empeje
Copy link

empeje commented Jan 23, 2024

Hi guys, did you found any solution for this problem @tranrn and @xeonixo ?

@empeje
Copy link

empeje commented Jan 23, 2024

I think I found the problem, for single company usage, there's a limitation on the number of setting you can edit. See the following code: https://github.com/akaunting/akaunting/blob/fd7bd76715b4ec5fd06c472d2502b2d931c5281e/app/Abstracts/Http/SettingController.php#L154

I hope @AkauntingDeveloper can increase the limitation so we can update company profile completely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants