-
Notifications
You must be signed in to change notification settings - Fork 225
Common Errors
Jörg Stucke edited this page Dec 9, 2024
·
1 revision
Error:
[ERROR]: Could not free extractor port
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.47/containers/6a5087c92d2cdf48ffba3ef175b15974caa23d539077e02e0c5467672f0cf1d1/start
docker.errors.APIError: 500 Server Error for http+docker://localhost/v1.47/containers/6a5087c92d2cdf48ffba3ef175b15974caa23d539077e02e0c5467672f0cf1d1/start: Internal Server Error ("driver failed programming external connectivity on endpoint happy_morse (f3d13766a48bbacb5118c61eedafae89f70d3971ac8297579d1c1e572ab01e9b): Bind for 0.0.0.0:9900 failed: port is already allocated")
Problem: An extractor container was still running when FACT was started (maybe FACT was not shut down cleanly last time)
Solution: Stop all Docker containers of fkiecad/fact_extractor
manually before starting FACT
Simply run docker ps
to find all running containers and look for all instances of fkiecad/fact_extractor
. Now run docker stop
followed by all container IDs of fact_extractor containers.
Error:
ImportError: cannot import name 'uia_username_mapper' from 'flask_security'
Problem: FACT was installed without virtual environment (venv) and has conflicts with Python packages installed through apt
Solution: Create a venv and activate it (see https://docs.python.org/3/library/venv.html)
Error:
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: Peer authentication failed for user "fact_admin"
Problem: socket authentication permission is missing from pg_hba.conf
Solution: rerun python3 install.py -D