Jump to content

Search the Community

Showing results for tags 'Sudo'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • Emby Premiere Purchase/Subscription Support
    • Feature Requests
    • Tutorials and Guides
  • Emby Server
    • General/Windows
    • Android Server
    • Asustor
    • FreeBSD
    • Linux
    • NetGear ReadyNAS
    • MacOS
    • QNAP
    • Synology
    • TerraMaster NAS
    • Thecus
    • Western Digital
    • DLNA
    • Live TV
  • Emby Apps
    • Amazon Alexa
    • Android
    • Android TV / Fire TV
    • Windows & Xbox
    • Apple iOS / macOS
    • Apple TV
    • Kodi
    • LG Smart TV
    • Linux & Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • Web App
    • Windows Media Center
    • Plugins
  • Language-specific support
    • Arabic
    • Dutch
    • French
    • German
    • Italian
    • Portuguese
    • Russian
    • Spanish
    • Swedish
  • Community Contributions
    • Third Party Apps
    • Fan Art & Videos
    • Tools and Utilities
    • Web App CSS
  • Testing Area
    • WMC UI (Beta)
  • Other
    • Non-Emby General Discussion
    • Developer API
    • Hardware
    • Media Clubs

Blogs

  • Emby Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 2 results

  1. I want Emby to start on boot with my linux laptop. When i had windows installed i had an option to start at boot. I cant find it on linux. I am using Chalet Os with the xbuntu 16.04 as a base. I figure i can maybe add the start code to some file sonewere but how if emby needs sudo permissions to start? In a newbie to linux by the way
  2. bradford

    Restart script requires 'sudo'

    I brought this up in my other thread, but I think this issue deserves its own. Server OS: Debian 8.6 LXC container in Proxmox 4.4 (Debian 8.6) Emby Server: 3.1.2 Anytime I restart emby from the management page, emby dies but doesn't come back. I tried to track down in the logs what was happening, and the only thing I saw was a reference to restart.sh. I tried manually running bash /usr/lib/emby-server/restart.sh but there's no indication it actually ran, and my bashfu is weak. But I did echo the command it runs on my system, which is actually service emby-server restart I twiddled around with it, and found that 'sudo' isn't installed by default on debian, at least not on my Debian 8.6-based Proxmox server nor my Debian 8.6 lxc container. Removing 'sudo' from the script enabled the script to restart emby (running the script as root). I then installed sudo from the regular Debian (jessie) repositories, added 'sudo' back to the script, and it runs fine as well. What's puzzling is that when I try to restart the server from the management board, emby dies, but it never comes back - it appears that it uses a different script when initiated from within emby (I suspect that restart.sh is used by the system if emby crashes). Anyway, I tried restarting from within emby again to see if installing sudo fixed the issue and it does. I know I'm an edge case that doesn't have sudo. Does emby need sudo in order to run a privileged command like restarting itself? If that's the case, at what point did I allow emby to run the privileged command? Certainly not just by installing sudo, right? In any case, this can be a reference to anyone else with the same issue, and possibly something the devs can use to include in their deployment strategy.
×
×
  • Create New...