:: Re: [DNG] How to run Emby server on…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Mario Marietto
Päiväys:  
Vastaanottaja: dng@d404.nl
Kopio: dng
Aihe: Re: [DNG] How to run Emby server on Devuan 5.
On this post :

https://emby.media/community/index.php?/topic/121640-update-rcd-error-cannot-find-a-lsb-script-for-emby-server/

I found a workaround. I ran emby server like this :

# emby-server &

well,emby starts without giving errors,but unfortunately after sometime the
process is killed by some unknown reason. This method is not reliable. I've
checked if it was active from time to time and I see that it disappears
without a precise behavioral pattern. The same is happening choosing :

DAEMON=/opt/emby-server/bin/emby-server

This is what happens,in fact :

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

0872 ?        Sl     0:00 /opt/emby-server/system/EmbyServer -programdata
/var/lib/emby -ffdetect /


but after some seconds :

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


it is killed. Don't know why it is unable to stay on.




On Sun, Feb 18, 2024 at 1:58 PM dng@??? <dng@???> wrote:

> 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.
>
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>



--
Mario.