:: Re: [DNG] How to run Emby server on…
Página Principal
Delete this message
Reply to this message
Autor: dng@d404.nl
Data:  
Para: dng
Assunto: Re: [DNG] How to run Emby server on Devuan 5.
On 18-02-2024 12:39, Mario Marietto via Dng wrote:
> Hello.
>
> I see no more help from you. I'm having trouble fixing the script that
> should start the emby server as a daemon. Can someone help me
> further,if he / she can,to make it work,please ? thanks.
>
> On Fri, Feb 16, 2024 at 11:21 PM Mario Marietto
> <marietto2008@???> wrote:
>
>     maybe it does not work for this reason :

>
>     root@devuan-bunsen:/opt/emby-server/system# ./EmbyServer

>
>     Unhandled exception. System.DllNotFoundException: Unable to load
>     shared library 'sqlite3' or one of its dependencies. In order to
>     help diagnose loading problems, consider setting the LD_DEBUG
>     environment variable: libsqlite3: cannot open shared object file:
>     No such file or directory at
>     SQLitePCLEx.SQLite3Provider_sqlite3.NativeMethods.sqlite3_libversion_number()
>     at
>     SQLitePCLEx.SQLite3Provider_sqlite3.SQLitePCLEx.ISQLite3Provider.sqlite3_libversion_number()
>     at SQLitePCLEx.raw.SetProvider(ISQLite3Provider imp) at
>     EmbyServer.Program.Main(String[] args)
>     Aborted

>
>     On Fri, Feb 16, 2024 at 10:38 PM Mario Marietto
>     <marietto2008@???> wrote:

>
>         root@devuan-bunsen:/etc/init.d# /etc/init.d/emby-server start
>         Starting emby-server daemon:.

>
>         root@devuan-bunsen:/etc/init.d# sudo lsof -i -P -n | grep
>         LISTEN | grep 8086
>         nothing

>
>         root@devuan-bunsen:/etc/init.d# ps ax | grep emby
>         11329 pts/1    S+     0:00 grep emby

>
>
>
>         On Fri, Feb 16, 2024 at 10:30 PM Ralph Ronnquist via Dng
>         <dng@???> wrote:

>
>             On Fri, Feb 16, 2024 at 10:15:24PM +0100, Mario Marietto
>             via Dng wrote:
>             > root@devuan-bunsen:/etc/init.d# service emby-server start
>             >
>             > Starting emby-server daemon:start-stop-daemon: unable to
>             stat
>             > /opt/emby-server/bin/embyserver (No such file or directory)
>             > failed!

>
>             Perhaps "man service" would give a lead?

>
>             Ralph.

>
>             >
>             > On Fri, Feb 16, 2024 at 10:11 PM dng@???
>             <dng@???> wrote:
>             > ... [snip]
>             _______________________________________________
>             Dng mailing list
>             Dng@???
>             https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

>
>
>
>         -- 
>         Mario.

>
>
>
>     -- 
>     Mario.

>
>
>
> --
> Mario.
>

Well, you can google yourself too for this kind of question. Which you
already did in 2023
https://emby.media/community/index.php?/topic/121640-update-rcd-error-cannot-find-a-lsb-script-for-emby-server/

You still have to use in your init script:

DAEMON=${APP_DIR}/bin/emby-server
ARGS="-programdata $EMBY_DATA \
  -ffmpeg $APP_DIR/bin/ffmpeg \
  -ffprobe $APP_DIR/bin/ffprobe \
  -restartexitcode 3 \
  -updatepackage 'emby-server-deb_{version}_armhf.deb'"

because ${APP_DIR}/bin/emby-server contains several environment
variables under which

export LD_LIBRARY_PATH=$APP_DIR/lib:$APP_DIR/extra/lib

which is the path to the location where libsqlite3.so.0.8.6 resides.