-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
🐋 LinuxServer.io Docker image now available! #1117
Comments
@alexjustesen when using the LSIO Docker container, I get the following error:
Are you able to confirm that this isn't due to a recent change in the underlying image, and if so, is there a way to specify sslmode=no-verify to allow an SSL connection without certificates? Unsure if this should be directed to this project or the LSIO image. The directory /root/.postgresql doesn't exist in either Docker image as far as I can tell. |
Not tested but you should be able to set it with |
I just tried DB_SSLMODE=require and DB_SSLMODE=no-verify, same issue. I opened an issue on the LSIO repo as well with more details at link. Cheers! |
@alexjustesen @thespad the LSIO image has a new key path due to the (much appreciated) switch to Nginx and faster HTTP response. Perhaps this can be documented somewhere? I can already tell that the Web UI is much faster to respond!
The solution for the Postgres SSL error is to specify |
Is SQLite the default already in the latest LSCR image? I am planning to rebuild my container today since 0.16 made a mess of things and I don't feel like fixing database issues. If SQLite isn't the default yet, what's the easiest way to roll out a new container based on this with a SQLite backend? |
Not yet, but I did update the docs for setting sqlite as your database. Only |
sqlite is the default in so much as it's in our example compose/run because it's the simplest to set up (and it's what our CI tests use). So if you just copy/paste them as-is you'll get sqlite. |
He's probably talking about https://docs.speedtest-tracker.dev/getting-started/installation/installation, which I can't update because GitBook is throwing an error when adding a new tab 🤦♂️ |
I have this error with docker compose on ubuntu:
|
@alexjustesen I solved my issue. Remember |
Follow-up #2: after migrating to the new image, I had to reset my cron schedule. |
This is intentional 👍 |
Please add to docs if you have not already. And thanks for all your hard work! |
Checkout the FAQ attached to the release should you have any questions. This details out the breaking changes. |
Switched to this image, initial page load is way faster. |
Just wanted to share, I set this up today. The only thing i really found missing was mention of speedtest-tracker:
<<: *lsioint
image: lscr.io/linuxserver/speedtest-tracker:latest
container_name: speedtest-tracker
depends_on:
redis:
condition: service_started
pgsql:
condition: service_healthy
environment:
<<: *lsio
DB_CONNECTION: pgsql
APP_KEY: ${SPEEDTESTAPIKEY}
DB_HOST: pgsql
DB_PORT: 5432
DB_DATABASE: speedtest
DB_USERNAME: ${SPEEDTESTDBUSER}
DB_PASSWORD: ${SPEEDTESTDBPW}
CACHE_DRIVER: redis
REDIS_HOST: redis
volumes:
- ${CONFDIR}/speedtest:/config
- ${TIME}:${TIME}:ro Things are working very well for me. |
Redis is supported at the framework level if you want to use it as the cache or queue drivers but haven't included it here in the docs to keep it simple. Definitely a more "advanced" feature. |
Worked flawlessly. Keep up the great work!🚀 |
Just curious... what's the purpose of this? Sorry just wondering! |
think this will answer at least one of your questions. |
I'll still be building the application, they're just building the docker image going forward. Gives me time and sanity. |
Gotcha. Still learning all this and so I just thought the Docker container was part of the program. |
Sorry, i confused a little , as i migrated to LinuxServer some versions ago, i have .env file with some settings:
So i need to use it for make some changes like using latest version in Unraid |
If you have an existing .env file it will continue to work, but you can also apply settings via environment variable. |
👆 this is correct, |
Please see https://www.linuxserver.io/armhf |
@thespad not sure if it related to what we talked befor #1117 (comment) Maybe i should remove .env and move all to variables in unraid image ? Errors after every update until cache is cleared |
You absolutely can, it's functionally the same and I've been planning on straight up recommending that. |
thanks did not even realised I was on a 32b rasp OS! will upgrade everything |
I am unable to get this image working behind a reverse proxy, I use traefik, but get mixed content errors on page as the content seems to be loading Can someone help? |
Assuming it's a new install, there shouldn't be much that you need to do to get it working behind a proxy; I've got it running behind Traefik with a fairly OOTB setup. The best avenue for support with the image is our Discord, but alternatively you can open an issue against the repo with the relevant details and someone can help you. |
@thespad I think this has to do with how Laravel is accepting proxied requests but I haven't had a chance to get NPM stood up and dig into it more. Honestly don't think this is an image problem unless we can narrow it down to an nginx layer or something. |
Hey WELL done on getting this live with Linuxserver.io. I love this app and it's great you're getting recognition :) <3 |
So I changed over to the new image and now my container doesn't work - it just loads a blank white screen. No errors in the logs. Any ideas? |
Did you follow the steps in the release? |
There were no instructions when I changed over a few weeks ago. I'll check. |
|
Update: Hi, I just updated from version 0.19.0 to your latest version and of course followed the listed steps to add the environment entries: But now there seems to be the problem that the connection to the MariaDB database is not possible anymore. I can see the following error messages in the container log:
You can see that the MariaDB container is running. I've restartet the container and added the log to this message. In the past there was no issue with the DB container. Anything I missed with my preparation? |
So I do have an update - I did make sure I had followed all the steps in the release, but it didn't solve my blank screen problem. None of the new env variables assisted, and the logs barely say anything in terms as to why the UI is no longer working. |
At least reverting back to v0.19.0 brings the service up again. .env :
docker-compose.yml :
|
Did you try linuxserver/docker-speedtest-tracker#9 (comment) ? |
@cicob you're missing required environment variables, make sure to read the |
I have this mixed content problem too. I just upgraded from v0.18.1 to v0.20.7 today, and although the web page loads and I can use it, the stylesheet and the rabbit favicon fail to load. I am hosting on a Synology DS1517+ NAS with reverse proxy so that I can use HTTPS. The HTML page contains the following links, which are HTTP addresses when they need to be HTTPS addresses to avoid the mixed content situation:
Here is my docker compose file:
Is there something missing? I don't understand what APP_URL is used for, so maybe I've got that wrong. |
Looks like it's something internal that's not respecting the APP_URL properly for a couple of specific files, I don't think it's anything we're doing container-wise. Seeing this in Firefox (which is forcibly upgrading the connection for me, which is why I hadn't noticed any mixed content issues):
|
I had this problem too. The fix for me was to change the my reverse proxy upstream to |
That'll work, but it won't fix the underlying issue |
What stands out to me is those (font and favicon) assets are the only two where I'm pulling them in from a provider https://github.com/alexjustesen/speedtest-tracker/blob/main/app/Providers/Filament/AdminPanelProvider.php#L37-L42. The Also separating this to a different issue so I don't lose it... |
🐋 LinuxServer image now available!
I recently wrapped up testing (#837) with @thespad and the fantastic people over at @linuxserver have published their Speedtest Tracker image!
There are a bunch of benefits to the new image but the highlights are:
~298MB
to~154MB
. This is largely due to a switch to an Alpine Linux base from Ubuntu.sqlite
as the default database on new installs.🖼️ Using the new image
Most importantly the new image is a drop-in replacement to the old one. To switch all you have to do is replace the image:
or with a specific version:
Further image documentation and supported architectures can be found on their GitHub repo.
🧪 Verified running on
My home lab is limited but verified working on the following systems:
📃 To-dos
I have some outstanding tasks that I still need to do, below is a list that'll get checked off over time as I roll through the rest of the updates.
sqlite
as the default database for new installsRevert back toKeepingfile
as the default cache driver for new installsdatabase
as the default cache driver as this aligns with Laravel 11 standard.Update the Unraid plugin templatelsio added theirs to Unraid CAThe text was updated successfully, but these errors were encountered: