Bonjour,
J’ai installé Dolibarr 17.0.0 via Portainer (Docker) sur mon nas SYNOLOGY
L’installation se déroule correctement , mon problème se situe lorsque je souhaite crée un utilisateur ou un groupe .
Cette partie semble être désactivée.
le code utiliser pour installer Dolibarr est :
version: « 3.9 »
services:
mariadb:
image: mariadb:jammy
container_name: Dolibarr-DB
security_opt:
- no-new-privileges:true
healthcheck:
test: [« CMD-SHELL », « mysqladmin ping -prootpass | grep ‹ mysqld is alive › || exit 1 »]
environment:
MYSQL_ROOT_PASSWORD: rootpass
MYSQL_DATABASE: dolibarr
MYSQL_USER: doliuser
MYSQL_PASSWORD: dolipass
TZ: Europe/Bucharest
volumes:
- /volume1/docker/dolibarr/db:/var/lib/mysql:rw
restart: on-failure:5
web:
image: tuxgasy/dolibarr
container_name: Dolibarr
environment:
DOLI_DB_HOST: mariadb
DOLI_DB_USER: doliuser
DOLI_DB_PASSWORD: dolipass
DOLI_DB_NAME: dolibarr
PHP_INI_DATE_TIMEZONE: Europe/Bucharest
DOLI_ADMIN_LOGIN: Toto
DOLI_ADMIN_PASSWORD: ToToWorld
volumes:
- /volume1/docker/dolibarr/html:/var/www/html/custom:rw
- /volume1/docker/dolibarr/documents:/var/www/documents:rw
ports:
- 8041:80
depends_on:
- mariadb
restart: on-failure:5
Bonjour,
Est-ce que l’utilisateur avec lequel vous êtes connecté à les bonnes permissions ?
ksar
Avril 10, 2023, 6:37
3
Bonjour,
C’est malheureusement un bug qui arrive à plusieurs personnes, mais pas à tout le monde.
Je pense que je vais devoir essayer d’installer un dolibarr vierge pour voir.
La solution, c’est de mettre la clé MAIN_MODULE_USER
à 1 dans la table llx_const
Voir :
I’m doing a fresh install of dolibarr through portainer docker and the install runs fine but when logged in with admin account the User & Groups option from the dashboard is greyed out. I used the instructions on marius hosting to install on...
Reading time: 1 mins 🕑
Likes: 2 ❤
opened 02:47PM - 06 Mar 23 UTC
Bug
### Bug
When I installed Dolibarr 17.0.0, I noticed that the user module was no… t activated and I couldn't find a corresponding column for it in the llx_const table. As a result, I had to manually insert a new column in the table in order to activate the module. It would be great if this issue could be addressed in a future release to save users from having to modify the database themselves.
### Environment Version
17.0.0
### Environment OS
Debian
### Environment Web server
Apache
### Environment PHP
8.1
### Environment Database
MySQL
### Environment URL(s)
_No response_
### Expected and actual behavior
_No response_
### Steps to reproduce the behavior
Fresh installation of Dolibarr 17.0.0
### Attached files
_No response_
2 « J'aime »
poka
Avril 27, 2024, 2:08
5
je confirme, cette solution à fonctionné pour moi:
INSERT INTO llx_const (name, value) VALUES ('MAIN_MODULE_USER', '1') ON DUPLICATE KEY UPDATE value = '1';
Bonjour
Le menu Configuration => Divers vous permet de valoriser la constante. Pas besoin de requête mysql
@+