Skip to content
Chris edited this page Mar 9, 2019 · 5 revisions

Windows Installation

Installing dependancies

To Download and run the latest Node.js Installer for Windows, head on over to the Node.Js Download Center

Follow the Guide for Installing MongoDB Here

Installing MediaButler

Open an Administrative Command Prompt and enter the following

npm i -g mediabutler-server pm2 pm2-windows-startup
pm2-startup install
set PLEX_URL=http://192.168.1.101:32400/
set DB_URL=mongodb://127.0.0.1:27017/mediabutler
cd %APPDATA%\npm\node_modules\mediabutler-server
pm2 start server.js --name "mediabutler"

Starting and stopping MediaButler

After the initial installation of MediaButler above, you will notice that we had to supply a PLEX_URL and DB_URL as part of the initial startup process. You should not need to set this again afterwards. You should be able to control starting and stopping of the MediaButler server with the pm2 package.

pm2 stop mediabutler
pm2 restart mediabutler
pm2 start mediabutler

We would also recommend reading the documentation of pm2 for further support with starting and stopping

Updating

Updating MediaButler is quite simple, you just run the npm installation again and tell the server to restart.

npm i -g mediabutler-server@latest
pm2 restart mediabutler