Error when starting the app: Can't find Python at /usr/bin/python
Your environment
docker-compose (nginx+python and php)
Please answer these questions when reporting a new issue:
What is your operating system (Windows, Linux, OSX, etc.)?
Alpine Linux
What is your web server (Apache, IIS, etc.)?
nginx
What version of AllTube are you using?
3.0.0
How did you install AllTube (with Git or with a release package)?
release package
What version of PHP are you using?
7.4
What version of Python are you using?
3.9.5
What version of youtube-dl are you using?
Didn't come to this point
Do you get any PHP-related errors in your webserver's logs?
No - php log is empty
What is the content of your config/config.yml file?
didn't touch it
Please provide the URL of a video that causes the issue.
Nothing to provide
Describe your issue
After starting containers, when I try to open Alltube in browser, there is an error:
Error when starting the app: Can't find Python at /usr/bin/python
At the same time, Python 3 is installed and symbolic link set (ln -s /usr/bin/python3.9 /usr/bin/python). Moreover, if I go to nginx+python container and run /usr/bin/python, it starts:
/etc/nginx # /usr/bin/python
Python 3.9.5 (default, May 12 2021, 20:44:22)
[GCC 10.3.1 20210424] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Error when starting the app: Can't find Python at /usr/bin/python
Your environment
docker-compose (nginx+python and php) Please answer these questions when reporting a new issue:
What is your operating system (Windows, Linux, OSX, etc.)? Alpine Linux What is your web server (Apache, IIS, etc.)? nginx What version of AllTube are you using? 3.0.0 How did you install AllTube (with Git or with a release package)? release package What version of PHP are you using? 7.4 What version of Python are you using? 3.9.5 What version of youtube-dl are you using? Didn't come to this point Do you get any PHP-related errors in your webserver's logs? No - php log is empty What is the content of your
config/config.yml
file? didn't touch it Please provide the URL of a video that causes the issue. Nothing to provideDescribe your issue
After starting containers, when I try to open Alltube in browser, there is an error: Error when starting the app: Can't find Python at /usr/bin/python
At the same time, Python 3 is installed and symbolic link set (ln -s /usr/bin/python3.9 /usr/bin/python). Moreover, if I go to nginx+python container and run /usr/bin/python, it starts:
How to help Alltube to find Python? Thanks.