Database Repair Error: no such collation sequence: icu_root

You can not use bare sqlite3.

You need to use /usr/lib/plexmediaserver/Plex\ Media\ Server --sqlite on Linux.
This will invoke the sqlite shell which is built into PMS and give you the additional plug-ins for sqlite.