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

Container in Kubernetes fails to start with ValueError #2883

Open
deruli79 opened this issue Jan 30, 2025 · 0 comments
Open

Container in Kubernetes fails to start with ValueError #2883

deruli79 opened this issue Jan 30, 2025 · 0 comments

Comments

@deruli79
Copy link

Seafile Version seafile-mc 12.0.7.
(Version 11 worked fine)

Output from Log:

*** Running /etc/my_init.d/01_create_data_links.sh...
*** Booting runit daemon...
*** Runit started as PID 20
*** Running /scripts/enterpoint.sh...
2025-01-30 14:20:55 Nginx ready
2025-01-30 14:20:55 This is an idle script (infinite loop) to keep container running.
Traceback (most recent call last):
  File "/scripts/start.py", line 94, in <module>
    main()
  File "/scripts/start.py", line 58, in main
    wait_for_mysql()
  File "/scripts/utils.py", line 273, in wait_for_mysql
    db_port = int(get_conf('DB_PORT', 3306))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'tcp://10.104.44.170:3306'
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

1 participant