First, clone the Uptime Kuma repository from GitHub. Once Node.JS is installed, you can now proceed to install the Uptime Kuma monitoring tool. V16.17.0 Step 2: Installing Uptime Kuma in Linux Once installed, confirm the version of NodeJS installed as shown. Once the Nodesource repository has been added, install Node.JS using the package manager as shown. The command downloads the installation script which updates the package lists adds the Nodesource signing key and creates an apt and dnf list file for the Nodesource 16.x repository. Then add the Nodesource 16.x repository to your system using the following curl command as follows. We will install the latest LTS release which, at the time of writing this guide, is Node.JS 16.x.įirst, add the Nodesource repository to your system. Since Uptime Kuma is written in Node.JS, you need to install Node.JS before proceeding any further. To get started, log into your server and update the local package index. The same instructions also work on RHEL-based distributions and Debian derivatives. In this guide, you will learn how to install Uptime Kuma self-hosted monitoring tool and how you can monitor websites using the tool.įor demonstration, we will install the Uptime Kuma Monitoring tool on Ubuntu 20.04. Sends notifications via Email (SMTP), Telegram, Discord, Microsoft Teams, Slack, Promo SMS, Gotify, and 90+ notification services.Monitors uptime for HTTP(s) websites, TCP Ports, and Docker containers and retrieves information such as DNS records."Įcho " 1) restart your Plex docker 'docker restart plex' "Įcho " 2) monitor docker output for errors 'docker logs plex -follow' "Įcho " 3) monitor Plex log file while performing the operations below 'tail -f \"Plex Media Server.log \"' "Įcho " 4) run 'Optimize Database' & 'Clean Bundles' from Plex Web UI under Settings, Manage, Troubleshooting "Įcho " 5) there are some left over files you may want to cleanup dump.Uptime Kuma is a fancy self-hosted monitoring tool that you can use to monitor websites and applications in real time. # fix permissions of new database file (unRAID specific example)Įcho "!!! DONE, highly recommend performing the following. Local spinstr= '|/-\ ' # Spinner sequence PlexDBpath= "/mnt/cache/appdata/plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases " # plexDBpath="/mnt/cache/appdata/plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases" NOT the path relative to inside the docker filesystem. # full path to the 'directory' containing the Plex DB relative to the host running the script. SqlCmdDir= "/mnt/cache/appdata/plex-sqlite " # sqlCmdDir="/mnt/cache/appdata/plex-sqlite" PlexDocker= "plex:/usr/lib/plexmediaserver/ " # plexDocker="plex:/usr/lib/plexmediaserver/" # the "name" of your Plex docker colon(:) and "path to plexmediaserver" relative to inside the docker filesystem # WARN - Took too long (0.200000 seconds) to start a transaction on # WARN - Caught exception while scanning Movies: sqlite3_statement_backend::loadOne: database disk image is malformed # ERROR - Exception inside transaction (inside=1) (/data/jenkins/server/3533902054/Library/MediaItem.cpp:908): sqlite3_statement_backend::loadOne: database disk image is malformed # Error: Unable to set up server: sqlite3_statement_backend::prepare: no such table: schema_migrations for SQL: select version from schema_migrations order by version (N4soci10soci_errorE) # example errors this script can potentially fix # shared a fix which seems to be helping those of us suffering Plex DB corruption issues. # updated execution from "Plex SQLite" to. # leave your Plex docker running while running this script # thank you □ SpaceInvaderOne! you put a ton of effort into the unRAID community and we all appreciate it! # this script assumes a DOCKER ENVIRONMENT (unRAID and Linuxserver.io Plex docker). # this script assumes you are comfortable with copying/pasting/running random things from the internet. # although this script will backup your Plex DB, i would suggest making your own backup. # what is this? performs the steps outlined in Plex's garbage instructions on how to "Manually Repair the Database"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |