Jump to content

Daily maintenance


Recommended Posts

Posted

Good Morning to all!

A quick question, what should be daily or week maintenance to a server emby over LINUX??

 

Thank you in advance!

EODCrafter
Posted (edited)
27 minutes ago, elche27 said:

Good Morning to all!

A quick question, what should be daily or week maintenance to a server emby over LINUX??

 

Thank you in advance!

Maintenance on What?.....Emby or the Linux OS?

sudo apt update, apt upgrade, apt autoclean, apt autoremove, reboot, if it tells you to....

Edited by EODCrafter
EODCrafter
Posted

Once @Lukeputs out new server upgrade, wget new version, shutdown server, and install new version as shown in directions.....

Posted

Maintenance on Emby server, for example: erase logs because use too much space and slow emby server...iam not telling that happens...is an example...
Restart emby server every week because cache get full....i really dont know...just asking if need some maintenance to avoid wrong or slow functions.

I ask because yesterday, my users couldnt watch live tv...i must restart it to solve it...

Server is poweredge R540 with 96gb of ram

Posted
4 hours ago, elche27 said:

Maintenance on Emby server, for example: erase logs because use too much space and slow emby server...iam not telling that happens...is an example...
Restart emby server every week because cache get full....i really dont know...just asking if need some maintenance to avoid wrong or slow functions.

I ask because yesterday, my users couldnt watch live tv...i must restart it to solve it...

Server is poweredge R540 with 96gb of ram

Hi, log files older than three days old are automatically deleted by the server.

Happy2Play
Posted

Only rogue issue that happens to some is Transcode-temp not always cleaned up so a restart is required to clear the folder.  But some have created scripts to do it.  But normally nothing needs to be done unless you are experiencing a specific issue.

EODCrafter
Posted (edited)
18 hours ago, Happy2Play said:

Only rogue issue that happens to some is Transcode-temp not always cleaned up so a restart is required to clear the folder.  But some have created scripts to do it.  But normally nothing needs to be done unless you are experiencing a specific issue.

What would be the script to restart server? 

sudo service emby-server restart

? Wait, that would require Auth.....cron root would work, right? 

sudo crontab -e

 

Edited by EODCrafter
Happy2Play
Posted
11 hours ago, EODCrafter said:

What would be the script to restart server? 

sudo service emby-server restart

? Wait, that would require Auth.....cron root would work, right? 

sudo crontab -e

 

Sorry not knowledgeable on Linux platforms.  @Lukeis there a graceful service restart?  Testing this in Windows, restart or stopping the service appears to kill the session looking at the log unless that is just do to NSSM.

Posted

We do use a mechanism with the. Net runtime to get notified of being requested to close by the OS, but it may not work like that on all platforms.

EODCrafter
Posted
10 hours ago, Luke said:

We do use a mechanism with the. Net runtime to get notified of being requested to close by the OS, but it may not work like that on all platforms.

Huh? This is under the "Linux" subforum.

Posted

Good Morning, 2 day after the issues commented, today again users cant watch channels on LIFETV...again i restarted emby and "solved it"...can help me with this, maybe is an error on me or should i cron a restart every  2 days? or add schedule restar  as feature¨?

i aprreciatte all help!!

Thank in advance

attched fileshardware_detection-63802641492.txtffmpeg-transcode-db8395d2-9e19-4364-8c06-863fdbdfd205_1.txtembyserver-63802641487.txt

EODCrafter
Posted (edited)
11 minutes ago, elche27 said:

Good Morning, 2 day after the issues commented, today again users cant watch channels on LIFETV...again i restarted emby and "solved it"...can help me with this, maybe is an error on me or should i cron a restart every  2 days? or add schedule restar  as feature¨?

i aprreciatte all help!!

Thank in advance

attched fileshardware_detection-63802641492.txtffmpeg-transcode-db8395d2-9e19-4364-8c06-863fdbdfd205_1.txtembyserver-63802641487.txt

What Kind of TV is This, IPTV? How many Streams do you have available? Do they allow you to "share" your Streams with other people?

Numerous times on my IPTV, it freezes up and I have to reload the channel. Just the nature of IPTV I'm afraid.

Might also check if Transcoding Temp is filling your hard drive on the server. I've seen this also. We have made a request to @Luketo be able to disable transcode temp file but it hasn't been implemented yet.

Edited by EODCrafter
Posted

Thank Mr EOD 4 ur answer

All channels go freeze so i must restart emby server, in my previous comment i attached a hardware log, i think this generate when the error come out.
No iptv channel or sharing,
Due to the requirements for that type of infrastructure i need, I have not chosen it yet, apart from my pocket or my country is not yet ready to carry it out

just normal lifetv from dvbs network to tvbox emby app

Infraestructure


Poweredge R550 server with 96 GB ram
TVheadend 4.2.8
TBS6909 with 2 of 4 transponder working
103 channels and most EPG workings
4 network DVB-S2
EMBY 4.7.8 - PREMIERE LIFETIME
tvheadend plugging as source of some channels  / M3U8 source as source of some channels
Users networks is over Fiber optic

TIPS: emby and tvheadend are on the same server, no dockers!

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...