Jump to content


Photo

Deleting logs to add mount point killed server


  • Please log in to reply
6 replies to this topic

#1 bizarro252 OFFLINE  

bizarro252

    Advanced Member

  • Members
  • 82 posts
  • Local time: 08:50 PM

Posted 19 August 2019 - 02:31 AM

Hello!

Today, in an attempt to be able to grab server logs faster (instead of via the web interface) I need to map the /var/db/emby-server/logs folder via a mount point so I can store/share them in a easier to access spot on the FreeNAS server.

 

I  cant add a mount point that has data in the destination folder (logs folder in the jail) so I shut down the jail, removed the log files and set up the mount point.

 

For some reason this killed the server, it will not restart, the jail starts up but the server doesn't come back up.  Trying to manually start the emby-server service it will not start.... I am confused, doesn't seem like this should have broke anything :(

 

I kept the jail in tact so let me know if there is anything I can do to help figure out what may have happened.

 

 

I started a new jail with a fresh install and tried to create this mount point from the start but it populated files in there already, tried to remove and mount again and it killed that install as well.

 

 

Thanks!



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135862 posts
  • Local time: 10:50 PM

Posted 19 August 2019 - 02:37 AM

HI, I would just not mount them and instead use the server web interface to get log files. The issue might be this:

https://github.com/d...fx/issues/26310



#3 bizarro252 OFFLINE  

bizarro252

    Advanced Member

  • Members
  • 82 posts
  • Local time: 08:50 PM

Posted 19 August 2019 - 01:18 PM

Hi Luke, I would like to be able to 'share' the directory so I can snag them out just over the network.  This is only because sometimes the logs are quite large and it takes forever for Chrome to load them over the web interface.

 

I don't quite follow the link you provided, I didn't think FreeBSD uses .net, but I could just be misunderstanding.  

 

I tried creating a new jail/fresh install, moving the files in the logs folder, adding the mount point and then moving the files back but still broke things - super weird.

 

If this is just not something that is going to work I will look into a script to copy the logs over to a share directory and pull them as needed.

 

Thanks



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135862 posts
  • Local time: 10:50 PM

Posted 19 August 2019 - 01:25 PM

I don't think it will work.
  • bizarro252 likes this

#5 bizarro252 OFFLINE  

bizarro252

    Advanced Member

  • Members
  • 82 posts
  • Local time: 08:50 PM

Posted 19 August 2019 - 06:59 PM

Thanks, will figure out another way to share the log folder to make it easier to snag them.  Am I misunderstanding the .net issue you posted?  I didn't think that FreeBSD was on .net yet.



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 135862 posts
  • Local time: 10:50 PM

Posted 19 August 2019 - 07:04 PM

You're right, but there's a good chance the mono runtime has the same problem.



#7 bizarro252 OFFLINE  

bizarro252

    Advanced Member

  • Members
  • 82 posts
  • Local time: 08:50 PM

Posted 19 August 2019 - 07:54 PM

Got it, thanks, will close this out.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users