Xnorky 0 Posted December 8, 2015 Posted December 8, 2015 Hi, I update Emby Server (Ubuntu 15.04) and now Emby don't work ! ● emby-server.service - Emby Media Server Loaded: loaded (/lib/systemd/system/emby-server.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since mar. 2015-12-08 18:20:04 CET; 52min ago Process: 16150 ExecStopPost=/usr/bin/emby-server clear (code=exited, status=0/SUCCESS) Process: 16141 ExecStart=/usr/bin/emby-server start (code=exited, status=1/FAILURE) Main PID: 16141 (code=exited, status=1/FAILURE) déc. 08 18:20:04 ns351351.ip-91-121-101.eu emby-server[16141]: Saisissez « chown --help » pour plus d'informations. déc. 08 18:20:04 ns351351.ip-91-121-101.eu emby-server[16141]: /usr/bin/emby-server: ligne 82: $PIDFILE : redirection ambiguë déc. 08 18:20:04 ns351351.ip-91-121-101.eu su[16141]: No passwd entry for user 'env' déc. 08 18:20:04 ns351351.ip-91-121-101.eu systemd[1]: emby-server.service: main process exited, code=exited, status=1/FAILURE déc. 08 18:20:04 ns351351.ip-91-121-101.eu emby-server[16150]: dirname: opérande manquant déc. 08 18:20:04 ns351351.ip-91-121-101.eu emby-server[16150]: Saisissez « dirname --help » pour plus d'informations. déc. 08 18:20:04 ns351351.ip-91-121-101.eu emby-server[16150]: chown: opérande manquant après «.» déc. 08 18:20:04 ns351351.ip-91-121-101.eu emby-server[16150]: Saisissez « chown --help » pour plus d'informations. déc. 08 18:20:04 ns351351.ip-91-121-101.eu systemd[1]: Unit emby-server.service entered failed state. déc. 08 18:20:04 ns351351.ip-91-121-101.eu systemd[1]: emby-server.service failed. Emby work very well before update... How can i fix it please ?
Luke 42077 Posted December 8, 2015 Posted December 8, 2015 Hi, there, sorry to hear about your troubles, but you haven't really told us what the problem is. Can you please describe the issue using words and sentences? Thanks.
Xnorky 0 Posted December 8, 2015 Author Posted December 8, 2015 (edited) Sorry, I'm french...I updated my Emby Server Ubuntu Server 15.04. sudo service emby-server stop sudo apt-get install emby-server sudo service emby-server start Now when I run Emby, I can not access it.When I run the following command: sudo service emby-server status I mentioned in my posts first message. Edited December 8, 2015 by Xnorky
hurricanehrndz 149 Posted December 8, 2015 Posted December 8, 2015 Sorry, I'm french... I updated my Emby Server Ubuntu Server 15.04. sudo service emby-server stop sudo apt-get install emby-server sudo service emby-server start Now when I run Emby, I can not access it. When I run the following command: sudo service emby-server status I mentioned in my posts first message. It looks to me like there is an invalid entry under for the EMBY_USER in the conf file. Somehow the user is "env", do you mean to run emby-server as a user named "env"? Please review /etc/default/emby-server and see /etc/emby-server.conf
Xnorky 0 Posted December 10, 2015 Author Posted December 10, 2015 /etc/default/emby-server # Defaults for emby initscript # sourced by /etc/init.d/emby-server # installed at /etc/default/emby-server by the maintainer scripts # # This is a POSIX shell fragment # # Additional options that are passed to the Daemon. ## EB_USER="emby" ## EB_HOME= #$APP_PATH, the location of MediaBrowser.Server.Mono.exe, the default is /opt/emby ## EB_DATA="/var/lib/emby-server" ## EB_PIDFILE= #$PID_FILE, the location of emby.pid, the default is /var/run/emby/emby.pid ## EB_EXEC= #$EB_EXEC, the name of the Emby Server exectuable, the default is MediaBrowser.Server.Mono.exe ## EB_OPTS= #$EB_OPTS, options passed to the EmbyServer executable, the default is -programdata $EB_DATA, make EB_DATA inert ## MONO_BIN= #$MONO_BIN, the location oth mono binary, the default is /usr/bin/mono ## ## EXAMPLE if want to run as different user ## add EB_USER="emby" ## otherwise default emby is used EB_USER="emby" EB_HOME="/opt/emby-server" EB_DATA="/var/lib/emby-server" /etc/emby-server.conf # Override defaults for emby initscript # sourced by /etc/init.d/emby-server and /usr/bin/emby-server # installed at /etc/emby-server.conf by the maintainer scripts # # This is a POSIX shell fragment # ## To change the defaults add any of the following settings below the comments ## ## EMBY_USER= #$EMBY_USER, username to run Emby under, the default is emby ## EMBY_GROUP= #$EMBY_GROUP, Emby server group where Emby user belongs ## EMBY_DIR= #$EMBY_DIR, the location of Emby program files the default is /usr/lib/emby-server ## EMBY_BIN= #$EMBY_BIN, full path of MediaBrowser.Server.Mono.exe the default is /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe ## EMBY_DATA= #$EMBY_DATA, the location of Emby data, cache, logs, the default is /var/lib/emby-server ## EMBY_PIDFILE= #$EMBY_PIDFILE, the location of emby.pid, the default is /var/run/emby/emby-server.pid ## EMBY_ADD_OPTS= #$EMBY_ADD_OPTS, additional options to pass to the Emby server executable, beyond ffmpeg, ffprobe and restart ## MONO_BIN= #$MONO_BIN, full path of mono binary, the default is /usr/bin/mono-sgen ## MONO_OPTS= #$MONO_OPTS, list of additional options to pass to mono binary ## MONO_ENV= #$MONO_ENV, list of environment variables for running mono binary ## ## EXAMPLE if want to run as different user ## add EMBY_USER=username ## otherwise default emby is used
hurricanehrndz 149 Posted December 10, 2015 Posted December 10, 2015 (edited) Your /etc/default file looks completely wrong, is that the full file? Please remove /etc/default/emby-server and do a reinstall. Edited December 10, 2015 by hurricanehrndz
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now