Bug 412650 - Can't uninstall and reinstall digikam properly on macOS - preferences remain, no first run dialog
Summary: Can't uninstall and reinstall digikam properly on macOS - preferences remain,...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Documentation (show other bugs)
Version: 6.3.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-05 21:49 UTC by MM
Modified: 2022-12-23 15:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MM 2019-10-05 21:49:47 UTC
SUMMARY

I am using digikam on a Mac with a mysql database on MariaDB on a Synology NAS.

I am trying to fully install and reinstall digikam on my MacBook to allow me to change the router IP and some other settings. I tried to fully uninstall digikam by deleting all of the following:

\opt\digikam\...
\Username\Library\Application Support\digikam\
\Applications\digikam\

I emptied the trash and rebooted.

The fresh installation does not show the first run dialog to set up digikam - rather it continues to look for the database in the previous location. It eventually generates an error message that it cannot connect to the database. If you leave it there it hangs. If you click ok, it generates the error message 'Failed to open the database. If you then click ok it shows the splash screen and hangs at 'Checking iCC repository...'

I tried to upgrade digikam from 5.9 to 6.3. At the same time I have changed router which has a default different IP range. 

I will try and alter my router back to the IP range of the other router but I would still like to be able to fully uninstall digikam if possible.

After a bad experience with Apple Photos and paying $$ for Adobe Lightroom I love digikam. Thanks for all the hard work everyone.

Best Regards

M
Comment 1 caulier.gilles 2019-10-05 23:07:33 UTC
If you want to reset settings and show first run under MacOS, remove the file from your home directory:

~/Library/Preferences/digikamrc

Gilles Caulier
Comment 2 MM 2019-10-08 11:50:32 UTC
Hello Gilles - thanks - this works well! Once you told me about this file I was able to edit it using TextEdit on the Macbook and alter the IP address of the router. Digikam started normally after this.

I propose we alter the manual to include a section on complete uninstallation on a Mac. It should mention the folders and files that need to be deleted.

The most logical section would be in chapter 1 immediately before the section 'Supported Image Formats'.

If you support my idea, please let me know how to submit changes to the manual and I will write some text for everyone's comments.
Comment 3 caulier.gilles 2019-10-09 09:36:25 UTC
Hi, 

Thanks for your proposal to patch documentation about uninstall procedure.

Documentation is hosted in a dedicated gitlab repository :

https://invent.kde.org/kde/digikam-doc

You can checkout this repository and make a patch of text file (docbook format), to add a new 'uninstall' section. Docbook format is XML like syntax, with large section of text. It's not really complicated.

create a new file named "intro-uninstall.docbook" and write content inside with a similar syntax than "intro-imageformats.docbook".

https://invent.kde.org/kde/digikam-doc/blob/master/digikam/intro-imageformats.docbook

Attach your file to this bugzilla entry. No need to compile the documentation, i will do it, embed this file in documentation stream. and fix syntax if necessary.

Best

Gilles Caulier
Comment 4 caulier.gilles 2020-12-18 12:10:46 UTC
https://bugs.kde.org/show_bug.cgi?id=426938

--- Comment #4 from caulier.gilles@gmail.com ---
Hi,

digiKam 7.2.0-beta2 pre-release PKG installer now support BigSur and is
compiled with last stable Qt 5.15.2.

https://files.kde.org/digikam/

Problem still reproducible with this version.

Thanks and happy Christmas in advance

Best Regards

Gilles Caulier
Comment 5 caulier.gilles 2022-12-23 15:36:11 UTC
The next generation of digiKam documentation based on Sphinx/ReStructuredText framework has now a section Installation with the list of main digiKam settings files/folders:

https://docs.digikam.org/en/getting_started/installation.html#configuration-information

Gilles Caulier