Skip to content

Unable to connect to external database #232

Description

@blindguy

Describe the bug
Trying to connect the filament manager to a external database and I keep getting this message from three different octoprint pi's.
the 192.168.1.1 is my local PC IP address. The postgresql DB is sitting on my server and I can access it via DBever.
WARNING - 400 POST /plugin/filamentmanager/database/test (::ffff:192.168.1.1) 21.05ms
they docs say to run this:
~/OctoPrint/venv/bin/pip install psycopg2 but that file/direcotry does not exist for me:
root@octopi03:/home/pi# ~/OctoPrint/venv/bin/pip install psycopg2
bash: /root/OctoPrint/venv/bin/pip: No such file or directory

Steps to reproduce

  1. run this:
    ~/OctoPrint/venv/bin/pip install psycopg2

Expected behavior
I expect the plugin to connect to the DB

Did the same happen when all other 3rd party plugins are disabled?
Everything else works fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions