-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Start button not starting the server #22
Comments
Hello @andreazanardo2002, it is likely you've missed a step in the setup process or are running an unsupported OS. Please confirm that you've run the setup script of setupopensrthub.sh and then send me the output of the setupopensrthub.sh script along with the following: Make sure you are in /var/app directory and using the root user: |
I have the same issue, I have started a stream before, and it was working, but after rebooting the server, the start button doesn't work.
I used your commands to stop and start the server with no luck.
not sure if you wanted to see all of the setup script, but here are the last couple of lines:
|
I am seeing the docker command fail in your log output showing "Unable to
run Docker". Can you check that Docker is installed via "docker -v"? It's
possible the image is not getting built properly, so check via "sudo docker
image list" to see if dockersrthub is showing up. Can you run the docker
command shown below on the Linux console? And also, please provide output
of "sudo docker ps -a". Thanks, Will
start command: sudo docker run -itd --net=host --name
srthub1738350861 --restart=unless-stopped --log-opt max-size=25m -v
/opt/srthub:/opt/srthub -v /opt/srthub/configs:/opt/srthub/configs -v
/opt/srthub/status:/opt/srthub/status -v /var/www/html:/var/www/html
dockersrthub /usr/bin/srthub 1738350861
Unable to run Docker
{"status":"failed"}
…On Fri, Jan 31, 2025 at 1:36 PM ahbosch ***@***.***> wrote:
I have the same issue, I have started a stream before, and it was working,
but after rebooting the server, the start button doesn't work.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy
I used your commands to stop and start the server with no luck.
{ clickTime: 2025-01-31T19:15:34.703Z }
start button pressed: 4
.json
fullfile=/opt/srthub/configs/1738293815.json, fileprefix=1738293815, configindex=1 uid=4
.json
fullfile=/opt/srthub/configs/1738294070.json, fileprefix=1738294070, configindex=2 uid=4
.json
fullfile=/opt/srthub/configs/1738349191.json, fileprefix=1738349191, configindex=3 uid=4
.json
fullfile=/opt/srthub/configs/1738350861.json, fileprefix=1738350861, configindex=4 uid=4
this service maps to current file: /opt/srthub/configs/1738350861.json
the file prefix is: 1738350861
debug: updated: sourcemode=srtpush, outputmode=udp
start command: sudo docker run -itd --net=host --name srthub1738350861 --restart=unless-stopped --log-opt max-size=25m -v /opt/srthub:/opt/srthub -v /opt/srthub/configs:/opt/srthub/configs -v /opt/srthub/status:/opt/srthub/status -v /var/www/html:/var/www/html dockersrthub /usr/bin/srthub 1738350861
Unable to run Docker
{"status":"failed"}
getting signal status: 1
get_service_status: checking configindex 1 looking for 1
get_service_status: checking for /opt/srthub/configs/1738293815.json
debug: initial: sourcemode=srt, outputmode=udp
corestatus file does not exist: /opt/srthub/status/corestatus_1738293815.json
get_service_status: checking configindex 2 looking for 1
get_service_status: checking configindex 3 looking for 1
get_service_status: checking configindex 4 looking for 1
getting signal status: 2
not sure if you wanted to see all of the setup script, but here are the
last couple of lines:
Selecting previously unselected package libcrypt-dev:amd64.
(Reading database ... 4759 files and directories currently installed.)
Preparing to unpack .../libcrypt-dev_1%3a4.4.27-1_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.27-1) ...
Setting up libcrypt-dev:amd64 (1:4.4.27-1) ...
---> Removed intermediate container e7aac5a47fe8
---> ab47dbf6189e
Step 12/12 : ADD srthub /usr/bin/srthub
---> 1223cbedf88c
Successfully built 1223cbedf88c
Successfully tagged dockersrthub:latest
/home/ubuntu/opensrthub
Docker Package Built and Installed
—
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJ3YIPM3NUSHCL2AUYVVRD2NPGCBAVCNFSM6AAAAABUNXMDQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRYGE4TSMJSGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Got it working, the problem was the official Docker was also installed, removed the official docker And then just re-run the command: Started up instantly. |
It says srthub: libavcodec.a was not compiled correctly - please check manually, aborting installation! |
Have you tried: |
Ok cool, thanks for letting me know how you resolved it. When you set up
your system, did you originally install docker when installing Ubuntu or
did you install it previously for something else?
…On Fri, Jan 31, 2025 at 2:33 PM ahbosch ***@***.***> wrote:
Got it working, the problem was the official Docker was also installed,
removed the official docker
https://docs.docker.com/engine/install/ubuntu/#uninstall-docker-engine
And then just re-run the command: sudo ./setupopensrthub.sh
Started up instantly.
—
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJ3YILST22WE4K4CKMQ2332NPM3BAVCNFSM6AAAAABUNXMDQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRYGM2TGMJRGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
It was installed with Ubuntu as I saw the docker folder so thought I needed to install it, should have done a bare installation and let your script do its work. |
Hello,
I have installed your SRT server but when I create from the web page a new SRT server I’m not able to “Start” it. When I press the START button it doesn’t start
The text was updated successfully, but these errors were encountered: