- How to Clone Windows with Clonezilla when the Destination Disk is Smaller than the Original – OR – Cloning a Large Drive to a Smaller SSD
- Install BackupExec 2012 Agent on Debian 3.0 Kernel
- Install MySQL Activity Report from Source
- Linux – Force Remote Reboot of System
- Linux – How to Backup or Restore a Disk Image from an FTP Server
- Linux – Policy-Based Routing Enables the Use of Multiple IP Default Gateways
- Manually Restore a Clonezilla Image When Destination Partition is Smaller than the Original
- 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
- pcapsipdump – Dump SIP Signalling and RTP Streams Per Call Leg into Separate Pcap Files
- Raspbian – How to Run X11vnc on Startup
- Startup Script for OpenMeetings Open-Source Video Conferencing Server
- Ubuntu – Icecast2 Startup Script with Ices2 Support
- Ubuntu Desktop – Run X11vnc Server at Startup
- Ubuntu Server – Apache 2.4 Upgrade Changes
- Ubuntu Server – Increase TCP Performance
- Ubuntu Server 14.04 – Disable IPv6
- Ubuntu Server 18.04 – Postfix 3.3.0 Issues
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”