Open slrslr opened 5 years ago
2 years later, i have tried to copy all database/ folder files from Windows backup to Linux /database/ folder replacing files. rats complains:
sphinx: FATAL: disk chunk /home/user/apps/rats-search/database/torrents.0: prealloc failed: failed to open file '/home/user/apps/rats-search/database/torrents.0.spk': 'No such file or directory'
this spk file, can i work around this anyhow so i can use my Windows database on Linux?
after i have created empty files rats-search/database/files.0.spk rats-search/database/torrents.0.spk and launched rats, i see the count jumped from 400 torrents to 90000+ , it looks like it possibly worked. Yet it would be more user friendly if rats would create missing files automatically...?
Hello,
i stopped rats on my windows 10 pc and on linux pc (ubuntu arm).
on windows PC i had like 80 000 torrents (rats 1.1.4) on linux pc i had around 31 000 torrents (rats 1.2.2)
i renamed database folder on linux pc and copied database directory from windows pc to linux PC in aim it adopt its bigger database.
I noticed that windows PC had .0 in some database folder filenames, like: torrents.0.sps files.0.sps files.0.spp files.0.spd
on linux there was no 0. in file names, though i still tried to launch rats on linux after copying. It not updated torrent count from 31K to 80K. So i quit rats on linux and renamed files not to have "0." in filenames:
but that either not updated torrent count. i noticed that linux have not modified the files anyhow.
this is how the database directory looks on linux: