Jump to content


Photo

Developing a standalone embystat server

emby statistics server

  • Please log in to reply
583 replies to this topic

#561 Macieksoft OFFLINE  

Macieksoft

    Member

  • Members
  • 27 posts
  • Local time: 07:05 PM
  • LocationMaryland

Posted 14 October 2019 - 12:06 PM

Does this support the Emby beta? I changed to Emby beta for a library scan fix that hasn't been pushed to emby stable yet.

 

Its running EmbyStat version: 0.2.0-beta.12-ls1, you can track the version here https://github.com/l...docker-embystat . Also I noticed that it has about 1000 downloads in the 5 days of release, thats pretty good :)



#562 Pog22 OFFLINE  

Pog22

    Advanced Member

  • Members
  • 294 posts
  • Local time: 12:05 AM

Posted 14 October 2019 - 12:28 PM

Its running EmbyStat version: 0.2.0-beta.12-ls1, you can track the version here https://github.com/l...docker-embystat . Also I noticed that it has about 1000 downloads in the 5 days of release, thats pretty good :)


You haven't answered my question, does this work with Emby server beta?

#563 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 16081 posts
  • Local time: 04:05 PM
  • LocationWashington State

Posted 14 October 2019 - 12:42 PM

You haven't answered my question, does this work with Emby server beta?

I am not having any issue running the Window zip on my beta server.



#564 Pog22 OFFLINE  

Pog22

    Advanced Member

  • Members
  • 294 posts
  • Local time: 12:05 AM

Posted 14 October 2019 - 12:45 PM

I am not having any issue running the Window zip on my beta server.


Thanks for this, I'll try the docker version tonight and report back

#565 reggi OFFLINE  

reggi

    Advanced Member

  • Members
  • 422 posts
  • Local time: 01:05 AM
  • LocationAntwerp, Belgium

Posted 15 October 2019 - 03:05 AM

@Pog22, all versions currently released are beta releases. Also the linuxserver.io images.

 

I'm going to add an arm32 artifact in my next build so these guys can support even more platforms



#566 Pog22 OFFLINE  

Pog22

    Advanced Member

  • Members
  • 294 posts
  • Local time: 12:05 AM

Posted 15 October 2019 - 03:09 AM

@Pog22, all versions currently released are beta releases. Also the linuxserver.io images.

I'm going to add an arm32 artifact in my next build so these guys can support even more platforms


Reggi, I was questioning whether this worked with the Emby beta server which it does, I reinstalled it last night and it's working fine

#567 siteripper2 OFFLINE  

siteripper2

    Advanced Member

  • Members
  • 52 posts
  • Local time: 01:05 AM

Posted 16 October 2019 - 06:50 AM

Can anyone explain to me how to install the ubuntu build on my linux server?


Edited by siteripper2, 16 October 2019 - 06:50 AM.


#568 panwen OFFLINE  

panwen

    Newbie

  • Members
  • 1 posts
  • Local time: 01:05 AM

Posted 16 October 2019 - 04:07 PM

siteripper2

Download the Ubuntu build: https://github.com/m...byStat/releases

create a user/group (I called mine embystat), add it to sudo group

put the files (unzipped) from the download into /home/embystat/

make the EmbyStat program Executable (chmod +x EmbyStat)

Open port: 

sudo ufw allow 6555

Create a service for Embystat (mine is very basic and doesn't have a dependency on Emby.. tried to add the emby service, but the Embystat one wouldnt load for some reason..)

 

Nano(or whatever editor you have) /etc/systemd/system/embystat.service

 

Put the below, and save

[Unit]
Description=Emby Stats program


[Service]
User=embystat


# The configuration file application.properties should be here:
#change this to your workspace
WorkingDirectory=/home/embystat


#path to executable. 
#executable is a bash script which calls jar file
ExecStart=/home/embystat/EmbyStat
SuccessExitStatus=143
TimeoutStopSec=10
Restart=on-failure
RestartSec=5


[Install]
WantedBy=multi-user.target

sudo systemctl enable embystat.service

sudo systemctl start embystat.service
sudo systemctl status embystat.service (to see if its running)
 

  • siteripper2 likes this

#569 Macieksoft OFFLINE  

Macieksoft

    Member

  • Members
  • 27 posts
  • Local time: 07:05 PM
  • LocationMaryland

Posted 17 October 2019 - 10:11 PM

I'm not seeing recently watched shows for users, all are empty even after watching many different episodes. Is this feature supposed to be working or Currently under development?

#570 reggi OFFLINE  

reggi

    Advanced Member

  • Members
  • 422 posts
  • Local time: 01:05 AM
  • LocationAntwerp, Belgium

Posted 18 October 2019 - 02:46 AM

@Macieksoft, that featured worked for a bit but broke down again when the new UI was released. Didn't have the time to fix that one because it the implementation itself was still very buggy.

Will take some time to get that one working again.



#571 siteripper2 OFFLINE  

siteripper2

    Advanced Member

  • Members
  • 52 posts
  • Local time: 01:05 AM

Posted 21 October 2019 - 09:09 AM

siteripper2

Download the Ubuntu build: https://github.com/m...byStat/releases

create a user/group (I called mine embystat), add it to sudo group

put the files (unzipped) from the download into /home/embystat/

make the EmbyStat program Executable (chmod +x EmbyStat)

Open port:

...

 

 

Thank you very much! Great tutorial :)



#572 Diedrich OFFLINE  

Diedrich

    Advanced Member

  • Members
  • 671 posts
  • Local time: 07:05 PM

Posted 30 October 2019 - 10:47 AM

Hey reggi, tell your new girlfriend you have some important stuff to do on the computer and that you can't be distracted by a bunch of bedroom nonsense.

Edited by Diedrich, 30 October 2019 - 11:09 AM.

  • reggi likes this

#573 reggi OFFLINE  

reggi

    Advanced Member

  • Members
  • 422 posts
  • Local time: 01:05 AM
  • LocationAntwerp, Belgium

Posted 30 October 2019 - 10:58 AM

I'm a bit scared telling her that. If I do, I will send you a picture with her reaction :P

 

Anyway, it has been some time that I updated the application. But currently I'm still reworking all database connections and the media sync job to reduce the memory usage. 

At the moment I have some improvements already but when the guy from LiteDB releases his V5 it will be a big step forward. 

 

I'm finishing a bunch of unit tests (I hate them!!!!) and then I will be able to release a new beta version. (no visible improvements, only memory fixes)


  • Diedrich likes this

#574 Menz01 OFFLINE  

Menz01

    Newbie

  • Members
  • 4 posts
  • Local time: 07:05 PM

Posted 31 October 2019 - 01:29 PM

hello all... just came across this docker and installed it. is it in full production? should my dashboard say "No content here yet (string is not translated either)"



#575 WilhelmStroker OFFLINE  

WilhelmStroker

    Advanced Member

  • Members
  • 246 posts
  • Local time: 12:05 AM

Posted 31 October 2019 - 01:42 PM

hello all... just came across this docker and installed it. is it in full production? should my dashboard say "No content here yet (string is not translated either)"

Yes that message is currently expected. I run mine in production but bear in mind it's still being developed so use at your own risk.



#576 jaycedk OFFLINE  

jaycedk

    Advanced Member

  • Members
  • 51 posts
  • Local time: 01:05 AM

Posted 31 October 2019 - 03:17 PM

tbh if I just came across something. I would stop and see what was going on ^^.

Guess in this case, I would read about it, before asking.......

Or at least read into it.

You do not know what might be hidding in your docker/container ;)

So make sure you get the right version, and not an clone, that has been edited.


Edited by jaycedk, 31 October 2019 - 03:20 PM.


#577 mata7 OFFLINE  

mata7

    Advanced Member

  • Members
  • 214 posts
  • Local time: 07:05 PM
  • LocationON, Canada

Posted 09 November 2019 - 10:58 PM

hi, i just download this docker on my unraid server, using the last stable emby server

 

on my embystat dashboard all i see is No content here yet (string is not translated either) , is that normal?

 

here are the logs if is need it

 

thanks in advanced

 

 

 


Edited by mata7, 09 November 2019 - 11:36 PM.


#578 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 16081 posts
  • Local time: 04:05 PM
  • LocationWashington State

Posted 09 November 2019 - 11:02 PM

hi, i just download this docker on my unraid server, using the last stable emby server

 

on my embystat dashboard all i see is No content here yet (string is not translated either) , is that normal?

 

here are the logs if is need it

 

thanks in advanced

 

Same question asked in post 574.

 

Yes this is currently the expected result.



#579 mata7 OFFLINE  

mata7

    Advanced Member

  • Members
  • 214 posts
  • Local time: 07:05 PM
  • LocationON, Canada

Posted 09 November 2019 - 11:35 PM

ok thanks, sorry i dint see it



#580 reggi OFFLINE  

reggi

    Advanced Member

  • Members
  • 422 posts
  • Local time: 01:05 AM
  • LocationAntwerp, Belgium

Posted Yesterday, 03:05 AM

Hey guys, I released beta.13 yesterday. I did made a mistake with the build so if your updates fails remove the "updateFiles" folder and *.ver file in the root folder and try to update the application again.

 

It took a while for this update because I had to test a lot but I did decrease the RAM usage from 2Gb to 300Mb after a media sync, so that's goind on the good direction I guess. Still some more work to do!

 

Changes:

Fixed issue with multiple special seasons #949
Fixed issue with duplicate seasons #950
Fixed unallocated memory #927, #971
Fixed wrong movie count in logs #973
Added SonarQube scan
Added linux-arm package
Added 200 backend unit tests
 
I also fixed some small bugs found when I was creating the unit tests :) As of this moment I have a coverage of 35% (frontend code included) so I will have to increase that over time as well.
Going to start implementing new features for the next release!
 
Happy testing and thanks for the patience! 

  • neik likes this





Also tagged with one or more of these keywords: emby, statistics, server

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users