henrywhitaker3 / Speedtest-Tracker

Continuously track your internet speed
GNU General Public License v3.0
1.51k stars 121 forks source link

[BUG] The app isn't starting #735

Open GGORG0 opened 2 years ago

GGORG0 commented 2 years ago

Describe the bug After the container "preparation", the app doesn't start and the container just sits idle.

Expected behavior The app and web server start after container preparation.

Screenshots Container logs:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.

[s6-init] ensuring user provided files have correct perms...exited 0.

[fix-attrs.d] applying ownership & permissions fixes...

[fix-attrs.d] done.

[cont-init.d] executing container initialization scripts...

[cont-init.d] 01-envfile: executing... 

[cont-init.d] 01-envfile: exited 0.

[cont-init.d] 10-adduser: executing... 

-------------------------------------

          _         ()

         | |  ___   _    __

         | | / __| | |  /  \ 

         | | \__ \ | | | () |

         |_| |___/ |_|  \__/

Brought to you by linuxserver.io

-------------------------------------

To support LSIO projects visit:

https://www.linuxserver.io/donate/

-------------------------------------

GID/UID

-------------------------------------

User uid:    1000

User gid:    100

-------------------------------------

[cont-init.d] 10-adduser: exited 0.

[cont-init.d] 20-config: executing... 

[cont-init.d] 20-config: exited 0.

[cont-init.d] 30-keygen: executing... 

using keys found in /config/keys

[cont-init.d] 30-keygen: exited 0.

[cont-init.d] 40-config: executing... 

Starting 2019/12/30, GeoIP2 databases require personal license key to download. Please manually download/update the GeoIP2 db and save as /config/geoip2db/GeoLite2-City.mmdb

[cont-init.d] 40-config: exited 0.

[cont-init.d] 50-speedtest: executing... 

s6-applyuidgid: fatal: unable to exec /site/app/Bin/speedtest: No such file or directory

Copying latest site files to config

Database file exists

Env file exists

Updating packages

fetch http://dl-cdn.alpinelinux.org/alpine/v3.14/main/armv7/APKINDEX.tar.gz

fetch http://dl-cdn.alpinelinux.org/alpine/v3.14/community/armv7/APKINDEX.tar.gz

(1/1) Installing composer (2.1.9-r0)

Executing busybox-1.33.1-r3.trigger

OK: 132 MiB in 176 packages

Installing dependencies from lock file (including require-dev)

Verifying lock file contents can be installed on current platform.

Nothing to install, update or remove

Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.

Generating optimized autoload files

> Illuminate\Foundation\ComposerScripts::postAutoloadDump

> @php artisan package:discover --ansi

Discovered Package: barryvdh/laravel-ide-helper

Discovered Package: facade/ignition

Discovered Package: fideloper/proxy

Discovered Package: fruitcake/laravel-cors

Discovered Package: henrywhitaker3/laravel-actions

Discovered Package: laravel-notification-channels/telegram

Discovered Package: laravel/slack-notification-channel

Discovered Package: laravel/tinker

Discovered Package: laravel/ui

Discovered Package: nesbot/carbon

Discovered Package: nunomaduro/collision

Discovered Package: tymon/jwt-auth

Package manifest generated successfully.

90 packages you are using are looking for funding.

Use the `composer fund` command to find out more!

Running database migrations

Nothing to migrate.

App key exists

JWT secret exists

Slack webhook set, updating db

Slack webhook updated

Telegram chat id and bot token unset

Base path is unset

AUTH variable not set. Disabling authentication

Disabling authentication

Clearing old jobs from queue

[cont-init.d] 50-speedtest: exited 0.

[cont-init.d] 90-custom-folders: executing... 

[cont-init.d] 90-custom-folders: exited 0.

[cont-init.d] 99-custom-files: executing... 

[custom-init] no custom files found exiting...

[cont-init.d] 99-custom-files: exited 0.

[cont-init.d] done.

[services.d] starting services

[services.d] done.

[cont-finish.d] executing container finish scripts...

[cont-finish.d] done.

[s6-finish] waiting for services.

[s6-finish] sending all processes the TERM signal.

[s6-finish] sending all processes the KILL signal and exiting.

Portainer configuraton: image

Context

gara-one commented 2 years ago

Looks like the speedtest binaries are no more hosted in https://bintray.com/ookla/download/download_file?file_path=ookla-speedtest-1.0.0-x86_64-linux.tgz Bitfrog bintray, the image needs to change to download them from another source.

vilse-se commented 2 years ago

One file is missing found file on https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-x86_64-linux.tgz How to unpack and put it in synology docker container. ssh to your server using putty as admin@192.168.xxx.xxx you will ned admin password for next command

run commands

sudo find /volume*/docker -name "speedtest"

it will find default named speedtest install folder and if file /docker/speedtest/www/app/Bin/speedtest is missing

If it is missing do flowing, if not you have another problem

wget https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-x86_64-linux.tgz -O speedtest.tgz

will download file fore x86_64-linux and name it speedtest.tgz

tar zxvf speedtest.tgz

De compresses the file content 3 files only one is needed called "speedtest"

mv speedtest volume1/docker/speedtest/www/app/Bin/

now move file to your install folder in mys server it volume1/docker/speedtest/www/app/Bin/ might be another path onyour system.

GGORG0 commented 2 years ago

can I use that binary you provided on my arm raspberry pi 4? also i dont use synology

GGORG0 commented 2 years ago

but anyways, thanks! I'll try it owt when i get back home and let you know