×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Is it possible to transfer flags from one Astroberry setup to another?

  • Posts: 169
  • Thank you received: 5
My main Astroberry setup has a corrupt driver for one of my cameras, and I don't know how to fix it. However I have a backup Astroberry system on another Micro SD card, and I need to know if it's possible to transfer the flags from the primary system to the backup.

It would be also convenient to transfer hardware profiles, but I can readily reconstruct them on the backup if not.

The primary works just fine otherwise.

Thanks for any info on this.
Last edit: 1 year 3 months ago by Phil.
1 year 3 months ago #89291

Please Log in or Create an account to join the conversation.

  • Posts: 276
  • Thank you received: 52
Hi Phil,

From what I can tell, kstar 'flags' are contained in an sqlite DB

/home/pi/.local/share/kstars/userdb.sqlite

To copy over, on your backup system first save a copy of the current DB, copy your primary DB to your backup and fire it up? Expected flags now on backup?

Gene
1 year 3 months ago #89299

Please Log in or Create an account to join the conversation.

  • Posts: 169
  • Thank you received: 5
Hmm, OK, well that worked, but the database was under /home/astroberry/.local/share/kstars/userdb.sqlite. After I backed up and copied the file over, the HiPS ALL SKY OVERLAY was turned off, and I had to reinstall all the catalogs in DATA under the KSTARS ADD-ON INSTALLER, which is quite a tedious process. I also got this error message when I opened the ADD-ON INSTALLER box that you see below. I had installed these databases when I initially flash Astroberry, because I believe they are really needed, so I couldn't understand why they weren't recognized as already installed. The installer went ahead and installed (or reinstalled) the catalogs anyway, so I'm not sure what that error message pertains to.

What's odd (for me) is that the userdb.sqlite file was exactly the same file size, for the file I backed up, the one I copied, and a backup file that already existed in the folder.

All's well that ends well however. Thanks for your help.
1 year 3 months ago #89303
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 276
  • Thank you received: 52
Hi Phil,

Is there any possibility the 'backup' had a different version of kstars?

Gene
1 year 3 months ago #89305

Please Log in or Create an account to join the conversation.

  • Posts: 169
  • Thank you received: 5
No, they are the same, as you can see below. The userdb.sqlite files are under Astroberry, not Pi. However everything appears to be working, I haven't had an actual session yet, but I did run some cameras through their paces. My Olympus E-M5 Mk II and the Player One Uranus-C are working as they should, so I should be good to go. We'll see.

Thanks again for your help.

1 year 3 months ago #89306
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 1221
  • Thank you received: 565
I have never tried to restore flags from these files, but as I understand it, there are 3 places you might try to restore (on Linux):
~/.local/share/kstars/userdb.sqlite
~/.config/kstarsrc
~/.indi/*
1 year 3 months ago #89308

Please Log in or Create an account to join the conversation.

Time to create page: 0.470 seconds