Announcement

#1 2023-02-21 01:18:19

beepro
Member
2021-09-05
59

Upload dir empty?

Hello/Hi/Greetings,

I have been using piwigo for a while but recently I got lock360.php infection which messed up most of the files (are there security plugins like wordpress has?)

1. I tried to restored a copy of Feb 2022's backup of the files, but it did not work, perphaps because "include" was all empty, not sure why.

2. so I did a new installation today with the newest version (13.5.0), used the same database user, name and password.  Then moved all the photos to the new location. However there was no photos in the "upload" directory, all photos were in "galleries".

3. I can now view the galleries but no actual photos, one photo was showing.

4. I uploaded 2 photos and they were under year month date inside the "upload". but perhaps I migrated from gallery2 to piwigo, so there was no actual photos in the "upload" folder? but it was working fine before (I migrated sometime in 2019, forgot the version.

5. The only thing I might have messed up was I used "***.com/life" to install and then renamed it life2. but checking the files containing life2 it did not seem to have messed up this.

Many thanks,

Host environment:

Piwigo 13.5.0 Check for upgrade
Installed on 18 February 2022, 1 year 2 days ago (this must be the migration date)

Operating system: Linux
PHP: 8.1.16 (Show info) [2023-02-20 17:16:10]
MySQL: 5.7.23-23 [2023-02-20 17:16:10]
Graphics Library: ImageMagick 6.9.10-68

Offline

 

#2 2023-02-21 01:22:29

beepro
Member
2021-09-05
59

Re: Upload dir empty?

even the two new photos, uploaded today, albeit in the 'correct' upload directory, are not showing correctly, just the file name with no images.

Offline

 

#3 2023-02-22 00:52:41

beepro
Member
2021-09-05
59

Re: Upload dir empty?

I restored another backup, May 2022. made sure no malware. still no go. images are missing. I then logged in to generate all the different sized photos. still no go.

here is a link

http://ww3.beetography.com/i.php?/galle … 9-O-xl.jpg

that says:

This page isn’t working right nowww3.beetography.com can't currently handle this request.
HTTP ERROR 500

directory permission issue?

I also noticed that photos uploaded after the migration were in the 'upload' directory (with folders for year, month, day), but migrated photos from gallery2 were in 'galleries' directory.

thanks,

Z

Offline

 

#4 2023-02-22 01:01:08

beepro
Member
2021-09-05
59

Re: Upload dir empty?

ok false scare. checked the error logs and something about missing water mark file. I uploaded one and now everything works. it seems it is generating the images (adding water mark) on the fly...so that explains why so slow at times.

now I will try to add the missing photos back (from May 2022 to now) and see if they will show up magically (because database was the most updated and only images missing).

many thanks,

Z

Offline

 

#5 2023-02-22 12:03:05

BigIsland270972
Member
Norway
2022-03-15
374

Re: Upload dir empty?

Hello. I've  checked  your gallery at http://ww3.beetography.com and everything loads nicely here.
Robert


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#6 2023-02-22 19:47:59

beepro
Member
2021-09-05
59

Re: Upload dir empty?

thank you.

actually the first test site had a different problem: file name could not contain space or (). i renamed them today and synchronized them and now working ok.

so what if nobody wants to water-mark their photos? it seems it would break all images?

Z

Offline

 

#7 2023-02-22 20:24:38

BigIsland270972
Member
Norway
2022-03-15
374

Re: Upload dir empty?

beepro wrote:

thank you.

actually the first test site had a different problem: file name could not contain space or (). i renamed them today and synchronized them and now working ok.

so what if nobody wants to water-mark their photos? it seems it would break all images?

Z

As I understand only the generated thumbnails get watermarked. NOT the originals.
Robert


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#8 2023-02-25 15:18:46

beepro
Member
2021-09-05
59

Re: Upload dir empty?

Yes I know that the originals do not get the watermark.

What I was surprised, was that why all the generated different sized images (M, L, XL) which are already generated, should have the water marks...but why it takes 2 seconds to load each image? I will check if these images have water marks today.

Another issue I had was as admin I could not download the original file, even though it has the link.

Clicking it jumps to a bad formed page (html) which has no images.

Offline

 

Board footer

Powered by FluxBB

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