Announcement

#1 2017-02-27 18:22:55

krist
Member
2016-01-30
53

Where are photos stored in piwigo

Hello/Hi/Greetings,

(Here your message)

Piwigo version: 2.82
PHP version: 1:7.0+49
MySQL version: 5.6.30-1
Piwigo URL: http://localhost

I installed piwigo, and the folder galleries is symlinked to another HDD.  Through an unfortunate user error, my HDD was wiped and lost the galleries folder where the photos are.  However, piwigo is still working and photos are still there.  The purpose of using the symlink to another HDD is to minimize the storage on the /var.  Since the link is broken, and I can still access piwigo and view the photos, where are the photos stored in /var?

Offline

 

#2 2017-02-28 11:03:38

flop25
Piwigo Team
2006-07-06
7037

Re: Where are photos stored in piwigo

Hello
if you installed piwigo as an OS package, you have to contact the maintainer of that package


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2017-02-28 15:53:02

krist
Member
2016-01-30
53

Re: Where are photos stored in piwigo

I installed it myself.  I am using debian 4.8.0.1.  I am just a user of linux, not much of an expert, so cannot find out where the photos stored.

Offline

 

#4 2017-02-28 16:23:09

flop25
Piwigo Team
2006-07-06
7037

Re: Where are photos stored in piwigo

So it's the same as other Piwigo installs:
locate your Piwigo then
./_data/i/ for resized pics
./galleries/ for ftp upload
./upload/ for web upload


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#5 2017-02-28 16:24:49

jnashpiwigo
Piwigo Team
2014-10-21
254

Re: Where are photos stored in piwigo

If your 'galleries' folder was symlinked, and it's gone now, so are the photos.  Some may be cached, and some may be resizes (./_data/i/ for resized pics) which could account for why you are still 'seeing them'.

As flop25 says:

./_data/i/ for resized pics
./galleries/ for ftp upload
./upload/ for web upload

Last edited by jnashpiwigo (2017-02-28 16:25:44)

Offline

 

#6 2017-02-28 18:04:28

krist
Member
2016-01-30
53

Re: Where are photos stored in piwigo

Thanks.  Found it.  The photos are there.  Once I re-establish the symlink, is it safe to delete this cache?

Offline

 

Board footer

Powered by FluxBB

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