#1 2023-11-23 11:26:17

Phil35
Member
France
2022-10-11
90

Deleted album and photos, but not deleted on disk.

Hi,

I deleted from Piwigo UI an album which has 515 photos.
Success from piwigo point of view

next synchronisation ...  515 photos will be added.

The directory of the album and all photos in this directory were not deleted.

The apache2 process runs under www-data user
All the directories tree under piwigo belong to www-data.www-data

Is this a normal behavior so it means it is needed to manualy delete the directory?
Thank you
Phil

Environnement
- Piwigo 13.8.0
- Installé le 5 Janvier 2022, il y a 1 an 10 mois 2 semaines 3 jours
- Système d'exploitation: Linux
- PHP: 7.4.33
- MySQL: 5.5.5-10.5.21-MariaDB-0+deb11u1
- Bibliothèque graphique: External ImageMagick 6.9.11-60
- Taille du cache 46013.37 Mo   calculé il y a 1 semaine

Liste des plugins activés 9
- Admin Tools
- Custom Download Link
- Download Formats Buttons
- Language Switch
- LocalFiles Editor
- Rotate Image
- RV DB Integrity
- Take A Tour of Your Piwigo
- VideoJS


Piwigo 15.3 on production platform with raspberry pi 4 Model B Rev 1.4 (OS 11 (bullseye))

Offline

 

#2 2023-11-23 12:16:16

erAck
Only trying to help
2015-09-06
2196

Re: Deleted album and photos, but not deleted on disk.

It's long ago that I used physical directory albums, but AFAIR Piwigo never alters those nor their content. To permanently delete, remove the album directory on disk and then sync again.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2023-11-23 15:11:13

Phil35
Member
France
2022-10-11
90

Re: Deleted album and photos, but not deleted on disk.

Hi @erAck,
Thank you for your answer.
Before doing that, I wanted to be sure, this is not a bug.
seems not, strange from my point of view,    delete an album but in fact it is not really deleted, just not seen anymore by piwigo,
but ok

I will do
Thanks again
Phil


Piwigo 15.3 on production platform with raspberry pi 4 Model B Rev 1.4 (OS 11 (bullseye))

Offline

 

#4 2023-11-23 18:37:21

windracer
Member
St. Pete, FL
2014-12-28
504

Re: Deleted album and photos, but not deleted on disk.

I use physical folders only and am pretty sure I've used "delete" to remove photos from Piwigo and they're also removed from the disk. I can't say I've done a full album delete lately, though. I could try in my beta site which is running 14.0RC1.

Offline

 

#5 2023-11-24 14:42:10

gueba
Member
2021-12-31
59

Re: Deleted album and photos, but not deleted on disk.

I confirm, photos and folders are not deleted from disk when deleting album. Tried 13.8.0 and 14.0RC1.

Offline

 

#6 2023-11-26 22:57:11

windracer
Member
St. Pete, FL
2014-12-28
504

Re: Deleted album and photos, but not deleted on disk.

Ok, yeah, I see that now. Deleting the album from Piwigo doesn't remove the physical folder. I guess I must normally be deleting the physical folder myself and then it's removed from Piwigo during my next synchronization.

Offline

 

#7 2023-11-27 11:41:16

gueba
Member
2021-12-31
59

Re: Deleted album and photos, but not deleted on disk.

Makes sense to me. Either I take care of my folders / files myself in my (physical) structure or I let Piwigo do the job (virtual).

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2025 · Contact