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

Install issues and improvements #29

Open
1 of 6 tasks
maurerle opened this issue Aug 21, 2023 · 2 comments
Open
1 of 6 tasks

Install issues and improvements #29

maurerle opened this issue Aug 21, 2023 · 2 comments

Comments

@maurerle
Copy link

maurerle commented Aug 21, 2023

  • pandahub version: develop
  • Python version: docker
  • Operating System: Debian 12

Description

Hey, I just wanted to look into the pandahub to see if it is beneficial for my work and ran a quick test.
I found some issues and improvements which are mainly:

Still, I found some weirdness regarding the install:

What I Did

docker compose build
docker compose up -d
firefox 0.0.0.0:8002
  • 3. Additionally, the main branch does not work at all when built & run with docker currently. So you might want to release current develop after adjusting the install requirements :)

fastapi-users does not provide the extra fastapi-users[mongodb] which results in a lot of unneccessary version lookups - probabl superseded by fastapi-users-db-mongodb

  • 4. To reproduce run: pip install -e . on a fresh conda env (i used python 3.11, sorry)
pandahub 0.2.3 depends on fastapi>=0.73.0
fastapi-users[mongodb] 9.2.2 depends on fastapi<0.72.0 and >=0.65.2
  • 5. When running pandahub-login defaults (http://127.0.0.01:8002) would be beneficial - I did not find any docs on how to add a user, so thats where I stopped for now.
  • 6. docker-compose.yml does not include a mongodb, but I think it would be quite beneficial to have this included too (I added it myself for my tests)

I hope it helps to get some feedback from an external early beta tester ;)

@maurerle maurerle changed the title forward web root to /docs Install issues and improvements Aug 21, 2023
@vogt31337
Copy link
Contributor

was fixed by @jthurner and should now be working in version 0.2.4.
@maurerle please test and if it now works, please close the issue. Thx!

@maurerle
Copy link
Author

maurerle commented Sep 10, 2023

Installing the software (3.) is now fixed.
The other issues are still open (especially 5 - docs on how this project is usable are missing).

Additionally:

  • 7. If no mongodb is running, no user feedback is provided when the connection attempt did run into a timeout:
~ pandahub-login
Enter pandahub URL: http://127.0.0.1:8002
Certificate for API needed? (y/n): n
Enter E-Mail: [email protected]
Enter Password: 
[ERROR] code: 500, reason: Internal Server Error

where the pandahub container had the following error:

pymongo.errors.ServerSelectionTimeoutError: db:27017: [Errno -2] Name or service not known, Timeout: 30s, Topology Description: <TopologyDescription id: 64fe17e2822f9c5daeda0c63, topology_type: Single, servers: [<ServerDescription ('db', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('db:27017: [Errno -2] Name or service not known')>]>

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

2 participants