- Batch Script – Ribbon UI Customization: Take Ownership and Change Permissions of the CommandStore Subkeys in the Registry
- Batch Script – Sending Items to the Recycle Bin Without Calling Any Third-Party Applications
- Batch Script – Zip/Compress Files Without Calling Any Third-Party Applications
- Batch Script – How to Check if the Current User is a Member of a Group
- Cannot Log onto Windows – Trust Relationship Failed
- Carrier Access Adit 600 – Reset to Factory Defaults
- Cisco SPA Series IP Phones – How to Backup and Restore a Config
- Cisco SPA500S Excel Sidecar Template
- Cisco VPN Client Won’t Connect on Windows 7 x64 via 3g Modem
- Classic Shell – Pin Items to the Classic Start Menu via Group Policy
- Classic Shell – Registry Entries for Custom Windows 7 Style Start Menu
- Classic Shell – Remove First Run Wizard with Group Policy
- Configure NTP Peers for Windows Time Service
- CryptoWall 3.0 Ransomware – Ouch, It Hurts So Good…Get Out the Backup Tapes. You’ve Got Those Right?
- Enable Clock via Group Policy on a Terminal Server
- Exchange 2010 – Add Send As Permission for All Users/Future Users from a User Account
- Exchange 2010 OWA – Can’t Delete Messages
- Exchange 2010 OWA – Mailbox is Disabled
- Exchange 2010 OWA – Outgoing Attachments Not Visible in Compose New Message Window
- Exchange 2010 OWA – Remove Cached Email Recipients/Auto Complete Entries
- Exchange Server 2010 – Changing Message Tracking Log Retention Period
- Exchange Server 2010 – Export Message Tracking Log Results to CSV File
- Exchange Server 2010 – Get a List of All Mailbox Columns/Attribute Names
- Exchange Server 2010 – Get a List of Mailboxes by Creation Date
- Exchange Server 2010 – Get a List of Mailboxes by Size
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”