Appreciate the response. I checked and made sure PS_FORCE_LOCAL_DB_REPLICA is already set to true (I did read about this previous to posting and gave it a try). I turned logging to info and pulled out some snippets. Not being familiar with how the program works at a low level, I am wondering if what I am reading in the following log experts is showing the removal of the local SQLite DB on startup. I may be way off base here. Regardless, if the below doesn’t reveal what is going on - how do I engage for support? This thread, something else? Very interested in the software if I can make it work for me.
Some of the log excerpts:
{"ts":1660623262621,"l":"info","ctx":"SettingsIO.importFileSettings(C:\\Users\\andrew\\AppData\\Roaming\\PhotoStructure\\settings.toml)","msg":"loaded","meta":{"imported":{"copyAssetsToLibrary":true,"libraryDir":"P:\\PhotoStructure","scanAllDrives":false,"scanPaths":["H:\\iPhone Picture Backups"],"cacheDir":"C:\\Users\\andrew\\AppData\\Local\\Temp\\PhotoStructure","forceLocalDbReplica":true,"logCompression":false,"logLevel":"info","exposeNetworkWithoutAuth":true,"maxMemoryMb":1024,"maxRssMemoryMb":8000,"maxSyncFileJobsWhenRemote":4,"processPriority":"AboveNormal"}}}
{"ts":1660623263358,"l":"info","ctx":"ModelDbJanitor(P:\\PhotoStructure\\.photostructure)","msg":"Library on remote drive. Using local db replica.","meta":{"src":"P:\\PhotoStructure\\.photostructure\\models\\db.sqlite3","local":{"nativePath":"C:\\Users\\andrew\\AppData\\Local\\Temp\\PhotoStructure\\local-db\\models\\db.sqlite3"}}}
{"ts":1660623263357,"l":"warn","ctx":"Library(P:\\PhotoStructure)","msg":"Library is on a remote volume. Setting forceLocalDbReplica to true, and maxSyncFileJobsMax to 4 to prevent I/O wait"}
{"ts":1660623263358,"l":"info","ctx":"ModelDbJanitor(P:\\PhotoStructure\\.photostructure)","msg":"Library on remote drive. Using local db replica.","meta":{"src":"P:\\PhotoStructure\\.photostructure\\models\\db.sqlite3","local":{"nativePath":"C:\\Users\\andrew\\AppData\\Local\\Temp\\PhotoStructure\\local-db\\models\\db.sqlite3"}}}
{"ts":1660623263358,"l":"info","ctx":"ModelDbJanitor(P:\\PhotoStructure\\.photostructure)","msg":"Setting up local model db replica...."}
{"ts":1660623263358,"l":"info","ctx":"BaseFile(C:\\Users\\andrew\\AppData\\Local\\Temp\\PhotoStructure\\local-db\\models)","msg":"rmrf()"}
{"ts":1660623263394,"l":"info","ctx":"ModelDbJanitor(P:\\PhotoStructure\\.photostructure)","msg":"Local model db replica set up at C:\\Users\\andrew\\AppData\\Local\\Temp\\PhotoStructure\\local-db\\models\\db.sqlite3"}
{"ts":1660623263397,"l":"info","ctx":"Db(models)","msg":"setting up new db connection to C:\\Users\\andrew\\AppData\\Local\\Temp\\PhotoStructure\\local-db\\models\\db.sqlite3","meta":{"priorWasNull":true}}
{"ts":1660623263397,"l":"info","ctx":"mkdb()","msg":"Dynamically setting dbCacheSize to 192","meta":{"db":"C:\\Users\\andrew\\AppData\\Local\\Temp\\PhotoStructure\\local-db\\models\\db.sqlite3","dbFileSize":671744}}
{"ts":1660623263406,"l":"info","ctx":"SQLite","msg":"verifyDb(C:\\Users\\andrew\\AppData\\Local\\Temp\\PhotoStructure\\local-db\\models\\db.sqlite3): OK"}
{"ts":1660623263410,"l":"info","ctx":"Migration({\"schema\":\"models\",\"db\":\"C:\\\\Users\\\\andrew\\\\AppData\\\\Local\\\\Temp\\\\PhotoStructure\\\\local-db\\\\models\\\\db.sqlite3\"})","msg":"up to latest!","meta":{"appliedMigrations":[]}}
{"ts":1660623263487,"l":"info","ctx":"ModelDbJanitor(P:\\PhotoStructure\\.photostructure)","msg":"Finished setup","meta":{"primaryDbDir":{"nativePath":"C:\\Users\\andrew\\AppData\\Local\\Temp\\PhotoStructure\\local-db"},"replaceDbDir":{"nativePath":"P:\\PhotoStructure\\.photostructure\\models"},"backupDir":{"nativePath":"P:\\PhotoStructure\\.photostructure\\models\\backup"}}}
{"ts":1660623263487,"l":"info","ctx":"ModelDbJanitor(P:\\PhotoStructure\\.photostructure)","msg":"ModelDb reading from C:\\Users\\andrew\\AppData\\Local\\Temp\\PhotoStructure\\local-db\\models\\db.sqlite3"}
{"ts":1660623263487,"l":"info","ctx":"Library(P:\\PhotoStructure)","msg":"Library.setup() finished."}