Jackett reset after reboot (lost API, indexers) Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
User avatar
MichaIng
Site Admin
Posts: 3087
Joined: Sat Nov 18, 2017 6:21 pm

Re: Jackett reset after reboot (lost API, indexers)

Post by MichaIng »

Without a backup, the only hope is that the deleted inodes are still present. You can try testdisk to find and restore the files: https://itsfoss.com/recover-deleted-files-linux/

Use dietpi-backup 1 in a cron job, to automate it, once you set it up (without 1). You can use a script like that to have multiple backup versions.
flyg
Posts: 12
Joined: Fri Oct 30, 2020 4:14 pm

Re: Jackett reset after reboot (lost API, indexers)

Post by flyg »

thanks - im trying testdisk just now - where is the location the deleted files used to be?

/opt/jackett?
User avatar
MichaIng
Site Admin
Posts: 3087
Joined: Sat Nov 18, 2017 6:21 pm

Re: Jackett reset after reboot (lost API, indexers)

Post by MichaIng »

/opt/jackett/Jackett, if I'm not mistaken.
User avatar
trendy
Posts: 340
Joined: Tue Feb 25, 2020 2:54 pm

Re: Jackett reset after reboot (lost API, indexers)

Post by trendy »

MichaIng wrote: Sat Apr 03, 2021 3:42 pm /opt/jackett/Jackett, if I'm not mistaken.
That's right!
Torvald
Posts: 6
Joined: Sun Dec 09, 2018 6:30 pm

Re: Jackett reset after reboot (lost API, indexers)

Post by Torvald »

trendy wrote: Fri Apr 02, 2021 10:56 pm I got it working:

Code: Select all

sudo mkdir -p /mnt/dietpi_userdata/Jackett ; sudo chown jackett:jackett /mnt/dietpi_userdata/Jackett
sudo nano /etc/systemd/system/jackett.service
Change Environment=XDG_CONFIG_HOME=/mnt/dietpi_userdata and ReadWritePaths=/opt/jackett /mnt /var/log/jackett /tmp
Then run

Code: Select all

sudo systemctl daemon-reload
Now it's a good time to restore from your dietpi-backup

Code: Select all

sudo cp -a /mnt/backup/dietpi-backup/data/opt/jackett/Jackett/* /mnt/dietpi_userdata/Jackett/
Finally cross fingers and start it sudo dietpi-services start jackett
The api key will still be the same.
Thanks ! It worked for me.
I also added folder "/var/log/jackett" manually and set it permissions.
garrycooper69
Posts: 2
Joined: Thu Apr 01, 2021 11:41 am

Re: Jackett reset after reboot (lost API, indexers)

Post by garrycooper69 »

Fixed in Jackett v0.17.841, Thanks!!
User avatar
Joulinar
Posts: 5087
Joined: Sat Nov 16, 2019 12:49 am

Re: Jackett reset after reboot (lost API, indexers)

Post by Joulinar »

yes indeed, new version of Jackett has been released to address the issue.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply