Giter VIP home page Giter VIP logo

Comments (9)

matthieugrieger avatar matthieugrieger commented on June 21, 2024

How did you install MumbleDJ? Also, what distro are you running? I haven't come across these issues.

from mumbledj.

ca21a7b567 avatar ca21a7b567 commented on June 21, 2024

I am running Ubuntu and I installed MumbleDJ via Go. "Go Run" wasn't working, so I used "Go Build" instead.

from mumbledj.

matthieugrieger avatar matthieugrieger commented on June 21, 2024

Is $HOME defined in your environment variables?

from mumbledj.

ca21a7b567 avatar ca21a7b567 commented on June 21, 2024

yessir:

...
MAIL=/var/mail/ubuntu
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=/home/ubuntu/.config/mumbledj
SHLVL=1
HOME=/home/ubuntu
LOGNAME=ubuntu
SSH_CONNECTION=192.168.0.115 6459 192.168.0.102 22
LESSOPEN=| /usr/bin/lesspipe %s
XDG_RUNTIME_DIR=/run/user/1000
LESSCLOSE=/usr/bin/lesspipe %s %s
_=/usr/bin/printenv
...

If there is no config.yaml, it creates one in the proper location, it just never reads it nor does it take command line arguments. I tried running it from the build folder as well as the /bin folder

from mumbledj.

ca21a7b567 avatar ca21a7b567 commented on June 21, 2024

Okay, the quick and dirty solution is to just compile it in Docker and run it from there.

from mumbledj.

matthieugrieger avatar matthieugrieger commented on June 21, 2024

Strange... I'll have to take a look at it.

What happens if you provide the filepath to config.yaml using the --config flag?

from mumbledj.

ca21a7b567 avatar ca21a7b567 commented on June 21, 2024

Same thing, it ignores the command.

./mumbledj --config ~/.config/mumbledj/config.yaml
INFO[0000] Checking for duplicate aliases...
INFO[0000] Performing startup checks...
INFO[0000] Checking for availability of services... num_services=3
WARN[0000] A startup check discovered an issue. The service will be disabled. error=No YouTube API key has been provided service=YouTube
WARN[0000] A startup check discovered an issue. The service will be disabled. error=No SoundCloud API key has been provided service=SoundCloud
INFO[0000] Checking YouTubeDL installation...
INFO[0001] Checking ffmpeg installation...
INFO[0001] Checking aria2c installation...
INFO[0001] Checking openssl installation...
INFO[0001] Attempting connection to server... address=127.0.0.1 port=64738
FATA[0020] An error occurred while connecting to the server. error=x509: cannot validate certificate for 127.0.0.1 because it doesn't contain any IP SANs

from mumbledj.

matthieugrieger avatar matthieugrieger commented on June 21, 2024

Hmm. I'll have to see if I can replicate this somehow, but I've never experienced the problem. The only difference between your setup and mine is that you're using an ARM system, but I'd be surprised if that had anything to do with it.

from mumbledj.

dkayser avatar dkayser commented on June 21, 2024

I had Mumbledj running for a long time, now moved to a new server and wanted to install from scratch. Running into the same problem. My version is 3.2.1, running with Go 1.8 and Debian Jessie using avconf. Also installed via "go get ..." which is one difference to my old setup, which I had installed from sources.

The old version where everything is working as usual is 3.1.4. on Arch, with ffmpeg and Go 1.7.3.

Config file in place, gets ignored even when specified with -c. Permissions on the config are the same between the two setups. Content as well.

Should I downgrade to 3.1.4 on Debian? I kind of like the new features, but I got stuck and I just do not know what's up. Here the output with -d enabled:

x@dev:~/.go/bin$ mumbledj -c /home/x/.config/mumbledj/config.yaml -d

WARN[0000] An error occurred while reading the configuration file. Using default configuration...  error=While parsing config: yaml: line 12: did not find expected key file=/home/x/.config/mumbledj/config.yaml

INFO[0000] Performing startup checks...

INFO[0000] Checking for availability of services...      num_services=3

WARN[0000] A startup check discovered an issue. The service will be disabled.  error=No YouTube API key has been provided service=YouTube

WARN[0000] A startup check discovered an issue. The service will be disabled.  error=No SoundCloud API key has been provided service=SoundCloud

INFO[0000] Checking YouTubeDL installation...

INFO[0000] Checking ffmpeg installation...

FATA[0000] ffmpeg is either not installed or is not discoverable in $PATH. If you would like to use avconv instead, change the defaults.player_command value in the configuration file.

Other go apps work well.

from mumbledj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.