-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Hi,
I'm having some trouble getting my ePAD lite server started and I would really appreciate some feedback as to what may be causing the issues as well as how I may go about resolving it.
My issue seems to be similar if not the same as issue number 5 from https://github.com/RubinLab/epad-dist/issues/26#issuecomment-959420948
Environment
WSL Ubuntu (20.04.1)
Latest epad-dist version
Steps to reproduce
- Clone epad-dist repo:
git clone https://github.com/RubinLab/epad-dist.git - Generate epad_lite_dist directory and files:
./configure_epad.sh ../epad_lite_dist ./epad.yml - Start all containers:
docker-compose up
Errors
1. mariaDB
Error
Access denied for user 'admin'@'localhost' (using password: YES)
Fix
- Create mariadb user "admin" in epad_mariadb container:
CREATE USER 'admin'@'localhost' IDENTIFIED BY 'manager' - Grant admin user permissions:
GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost'; FLUSH PRIVELEGES;
2. epad_lite
Error
"Cannot connect to mariadb (err:afterDBReady. Error: Lite2thick data migration. Error: Cannot parse '( )': Encountered \" \")\" \") \"\" at line 1, column 2.\nWas expecting one of:\n <NOT> ...\n \"+\" ...\n \"-\" ...\n <BAREOPER> ...\n \"(\" ...\n \"*\" ...\n <QUOTED> ...\n <TERM> ...\n <PREFIXTERM> ...\n <WILDTERM> ...\n <REGEXPTERM> ...\n \"[\" ...\n \"{\" ...\n <NUMBER> ...\n <TERM> ...\n \"*\" ...\n ), shutting down the server"}
Fix
N/A: Not sure if this error has any significance.
3. epad_js
Error
"GET /api/users/admin HTTP/1.1" 503 80 "http://localhost/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "
Fix
If REACT_APP_API_URL environmental variable in the docker-compose.yml file is changed from http://localhost/api to http://localhost then the request request doesn't fail and returns a 200 OK.
So far this only fixes the login error but I'm still not able to perform any other tasks such as uploading DCM files.
Thank you in advance
Gabriel Benavidez