🕵️‍♂️ Engage in discussions ANONYMOUSLY. NO REGISTRATION is required. 💬

✅ Registered accounts earn up to $25 per thread via PayPal and BTC. 🤑 Read more in News and Announcments! Unlock the ability to chat, share, send private messages and earn money per post in our community. Just register an account. It's Free!

SignUp Now!
  • 🕵️‍♂️ Engage in discussions ANONYMOUSLY. NO REGISTRATION is required. 💬 ✅ Registered accounts earn up to $25 per thread via PayPal and BTC. 🤑 Read more... Unlock the ability to chat, share, send private messages and earn money per post in our community. Just register an account. It's Free!

Question TubeArchivist v0.4.13 → v0.5.x Migration Issue - Solved

Choose this one if you want to ask a question
New member
Joined
Aug 20, 2023
Messages
10
Credits
76
I upgraded TubeArchivist from 0.4.13 → 0.5.x but accidentally deleted the whole /cache folder. Now TA starts clean with no library, and the new version refuses to boot due to Redis configuration issues. Multiple version mixing attempts caused broken ES indexes and missing commands. The final result was a clean install + filesystem rescan that restored videos but not channels/playlists. How do I properly migrate now?
 

w_G

Global Admin
Staff member
Joined
Aug 15, 2023
Messages
18
Credits
349
Solution:
I ran into a similar issue not long ago. Follow this clean migration process:

  1. Backup current config (v0.4.13):
    docker exec -it tubearchivist python manage.py ta_config_backup

    Creates: /cache/backup/migration.json​

  2. Stop containers and remove old DB:
    docker-compose down
    rm /home/$USER/docker/tubearchivist/cache/db.sqlite3
  3. Update to new version with correct Redis config:
    REDIS_CON=redis://archivist-redis:6379/1
  4. Start fresh v0.5.x:
    docker-compose up -d

    Wait for login page (ES + Redis index rebuild)​

  5. Restore configuration:
    docker exec -it tubearchivist python manage.py ta_config_restore
  6. Manual re-import missing channels/playlists:
    • Re-add channels/playlists manually
    • Run "Rescan filesystem" to re-import videos

Key: Never delete /cache during migration. The migration guide was updated to prevent this mistake
 
Top