Comments (4)
Reason:
EXTRA_ARGS in Docker configuration had enclosing quotes, which lead to the wrong parametes.
Note for myself (and others): do not quote EXTRA_ARGS in your docker config (compose.yaml, etc.)
from slimserver.
Hmm... I'm pretty sure advertiseaddr
does work, as this is something that recently has been discussed in the forums: under certain circumstances you have to use that configuration to make certain features work. I'm a bit confused there...
from slimserver.
Could also be changes in the Perl version, the docker image uses Debian 11 "bullseye" with Perl 5.32.1
On Sunday I will test the Perl argument handling separately and with the logging in the relared sub routine.
from slimserver.
This is working on a clean Debian 11 VM:
#!/usr/bin/perl
require 5.010;
use strict;
use Getopt::Long;
package main;
my $user = "otto";
my $group = "jungs";
our $norestart;
sub initOptions {
my $gotOptions = GetOptions(
'user=s' => \$user,
'group=s' => \$group,
'norestart' => \$norestart,
);
print("gotOptions [$gotOptions]\n");
}
sub main
{
print("main starts\n");
print STDERR (join("|",@ARGV),"\n");
# command line options
initOptions();
print("user [$user]\n");
print("group [$group]\n");
print("norestart [$::norestart]\n");
print STDERR (join("|",@ARGV),"\n");
}
main();
[Update 1] Also working in the Docker image. I assume the argument passing is an issue.
[Update 2] It's the passing of the args, I assume it's docker environment related.
Log ARGV splitted: --logdir|/config/logs|--cachedir|/config/cache|--httpport|9000|"--advertiseaddr|192.168.1.77|--norestart" (see the quotes from EXTRA_ARGS
from slimserver.
Related Issues (20)
- Remote music library - don't show another LMS HOT 12
- Random Mix plugin repeatedly reverts to defaults HOT 4
- Update Massage still show the 8.5.2 is not installed HOT 2
- Playout stucks when a new Update or any Plugin is ready to install HOT 2
- Playlist stucks on first Track HOT 7
- Supporting Disc Subtitles (TSST tag) HOT 21
- How to uninstall from MacOS HOT 1
- UNC path not supported for music library in Lyrion 9.0.0 HOT 2
- Is it time to move to http/1.1 by default for outbound connections? HOT 21
- Return 'Random Mix' state in player status message HOT 4
- [firmware] lost ethernet on a squeezeradio HOT 1
- "Album Artists" is not "album artist" field from id3 but in fact "Artist" HOT 9
- Cue sheet ; How to describe path to the music file? HOT 1
- Insecure HTTPS for only one host/cert HOT 11
- Server stops when attempting http connection when โdaemon option specified on startup with 8.5.3 on Windows 10 HOT 8
- Random mix disappeared HOT 7
- Add all songs from search not working HOT 1
- LMS 9: New Sort Order in "New Music" section HOT 1
- Forums: Impossible to register HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slimserver.