My YunoHost server
Hardware: Dell R720
YunoHost version: 11.0.7 (testing).
I have access to my server : SSH, direct access
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : not really. I have a RAID server, where /home = ~2TB and /var = 20TB so most of my storage needs to be on /var
Hello!
I made a mistake when I configured my Photoprisim to use /var/Multimedia/Pictures for its library but also had its cache in /var/Multimedia/Pictures/photoprism/cache. Basically it just reindexed itself forever. I’ve now made a /var/Multimedia/Other/photoprism/cache folder, and then I deleted Photoprism and all of the files I could find related to it in /home and /var.
It may be worth saying: I initally installed Photoprism on photos.maindomain.tld/prism but had to move it to photos.maindomain.tld becuase I kept getting the login page for the old app that was installed at that domain (photoview)
Can you check that your photos.maindomain.tld domain is registered within YunoHost? If not, recreate it. If yes, delete and recreate it. Try uninstalling Photoprism again afterwards.
Info: Removing photoprism...
Info: [+...................] > Loading installation settings...
Info: [#++.................] > Stopping and removing the systemd service...
Info: [###+................] > Removing logrotate configuration...
Info: [####++..............] > Removing the MySQL database...
Warning: ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Info: [######+.............] > Removing app main directory...
Warning: ynh_secure_remove called with empty argument, ignoring.
Info: [#######++...........] > Removing NGINX web server configuration...
Info: '/etc/nginx/conf.d/.d/photoprism.conf' wasn't deleted because it doesn't exist.
Info: [#########+..........] > Removing dependencies...
Warning: E: Unable to locate package photoprism-ynh-deps
Info: [##########++........] > Removing various files...
Info: '/var/log/photoprism' wasn't deleted because it doesn't exist.
Info: [############+.......] > Removing the dedicated system user...
Warning: The user photoprism was not found
Info: [#############++.....] > Removal of photoprism completed
Success! photoprism uninstalled
sudo yunohost app remove photoprism__2
Info: Removing photoprism__2...
Info: [+...................] > Loading installation settings...
Info: [#++.................] > Stopping and removing the systemd service...
Info: [###+................] > Removing logrotate configuration...
Info: [####++..............] > Removing the MySQL database...
Warning: ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Info: [######+.............] > Removing app main directory...
Warning: ynh_secure_remove called with empty argument, ignoring.
Info: [#######++...........] > Removing NGINX web server configuration...
Info: '/etc/nginx/conf.d/.d/photoprism__2.conf' wasn't deleted because it doesn't exist.
Info: [#########+..........] > Removing dependencies...
Warning: E: Unable to locate package photoprism--2-ynh-deps
Info: [##########++........] > Removing various files...
Info: '/var/log/photoprism__2' wasn't deleted because it doesn't exist.
Info: [############+.......] > Removing the dedicated system user...
Warning: The user photoprism__2 was not found
Info: [#############++.....] > Removal of photoprism__2 completed
Success! photoprism__2 uninstalled
I think you tried to install while the previous instance was still installed. If you install two Wordpress apps, the second one will be called wordpress__2 for example.
Try removing it too: yunohost app remove photoprism__2
Then run sudo ls /etc/yunohost/apps and sudo yunohost app list again.