- Mac OS X – Force Spotlight Search to Index a Network Folder
- Mac OS X – Install Yosemite/El Capitan via USB Thumb Drive or How to Get the DMG Image
- Mac OS X – Install Zabbix Agent from Source
- Mac OS X El Capitan – Cannot Restart into Boot Camp Partition
- Manually Restore a Clonezilla Image When Destination Partition is Smaller than the Original
- Mikrotik Scripting – Array Pop Function
- Mikrotik Scripting – Array Push Function
- Mikrotik Scripting – Function to Split an IP Address into an Array
- Mozilla Firefox 51.0.1 Runs Extremely Slow
- MySQL Script – Alter/Convert All Tables in a Database from MyISAM to InnoDB
- NextCloud – Purge Music Library from DB
- NextCloud – Rescan Music Library for All Users
- OpenMCU-ru – DSCP Based QoS Packet Tagging Rules for Linux IP Tables
- Outlook 2010 – Crashes Upon Opening Emails with Embedded Pictures
- Outlook 2010 – Only Starts in Safe Mode
- Outlook 2010 Hijacked
- pcapsipdump – Dump SIP Signalling and RTP Streams Per Call Leg into Separate Pcap Files
- PHP – Simple PDO Class for Connecting to a MySQL Database
- Playstation 4 – Cannot Connect to the PSN Using Comcast Gateway
- Polycom RealPresence Desktop – Do Not Minimize to Taskbar Tray
- Polycom RealPresence Desktop – Windows QoS Registry Settings
- PowerShell Script – Generate DFS-R Health Reports and Email Them
- Putty – Import/Export Your Saved Sessions List and Settings
- Raspbian – How to Run X11vnc on Startup
- RDS Server 2012 – Disable On-Screen Keyboard Toolbar While Shadowing a User
NextCloud – Purge Music Library from DB
I recently posted an old bash script I had written to forcefully rescan the music library for the music app in NextCloud when new files aren’t being found, but what happens when you delete or make some changes to the MP3’s or file structure of your music library, then you go to run the rescan library occ script, and NextCloud proceeds to go ape shit, spewing a whole lot of errors in RED, and you can’t do anything? What now, home slice?
Welp, after some research, I found the easiest fix was just to dump the corresponding “oc_music_tracks” table from the database and start fresh. So again, it’s script writin’ time, boyz and girlz!
Continue reading “NextCloud – Purge Music Library from DB”