Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Batch problem -> No new files found  (Read 6002 times)

0 Members and 1 Guest are viewing this topic.

udowsky

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Batch problem -> No new files found
« on: May 11, 2006, 11:22:10 am »

Hi there!
I read though a whole lot and tried and tried, but have no solution yet.

Problem:
Uploaded jpgs via ftp in a proper directory eg. albums/20060511/ (not userpics or anything like that)
Then tried to batch the files: Directory is shown in the minibrowser.
When I hit "OK" the response is "No new files found" ((I use the German version, so that backtranslation might not be 100% correct)

Coppermine-Version: 1.4.5

Already tried/checked
- permissions: chmodded almost everything to 777
- I'm batching as the Administrator
- made a clean install (no picture in database, but only two categories and one album)

What to do? Many thanks in advance!
udowsky
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Batch problem -> No new files found
« Reply #1 on: May 11, 2006, 11:31:23 am »

post a direct link to one of the files you're trying to batch add

udowsky

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch problem -> No new files found
« Reply #3 on: May 11, 2006, 05:59:55 pm »

did you try "regular" http uploads first? If they don't work, do as suggested in the upload troubleshooting section of the docs.
Logged

udowsky

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Batch problem -> No new files found
« Reply #4 on: May 11, 2006, 06:09:44 pm »

Hi Gaugau!
Regular HTTP uploads work fine.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch problem -> No new files found
« Reply #5 on: May 11, 2006, 06:13:06 pm »

did you try the classic batch-add interface? The new browsable interface doesn't work on Windows-Servers
Logged

udowsky

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Batch problem -> No new files found
« Reply #6 on: May 11, 2006, 06:33:02 pm »

did you try the classic batch-add interface? The new browsable interface doesn't work on Windows-Servers
classic batch-add?
You mean "searchable interface" ( Durchsuchbare Oberfläche (empfohlen)) deselected?
I tried that option too to no avail.
Its a UNIX Server BTW.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch problem -> No new files found
« Reply #7 on: May 11, 2006, 06:43:05 pm »

OK, another thing to check that comes to mind: make sure that the folders don't contain dots or other "funny" characters, but only alphanumerals.
Logged

udowsky

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Batch problem -> No new files found
« Reply #8 on: May 11, 2006, 07:44:44 pm »

OK, another thing to check that comes to mind: make sure that the folders don't contain dots or other "funny" characters, but only alphanumerals.
Checked that before... sorry. I wished it would be such an easy one ;)
Logged

udowsky

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Batch problem -> No new files found
« Reply #9 on: May 12, 2006, 09:21:15 pm »

Is there a chance with debugger-informations to isolate the problem?
Where are possible places for the location of that occurence?
- Detected possible new pics in MySQL / wrong response from MySQL
- directory not readable for some reason
- ...
Am I the only one with that particular problem?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch problem -> No new files found
« Reply #10 on: May 12, 2006, 09:28:46 pm »

actually, I have no idea what could be wrong. Maybe someone else could come up with a solution.
Logged

udowsky

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Batch problem -> No new files found
« Reply #11 on: May 12, 2006, 09:34:27 pm »

Thanks GauGau! - I'll play around and try to do my best...
Logged

hayleyismyhero

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Batch problem -> No new files found
« Reply #12 on: May 15, 2006, 08:58:41 am »

I'm, also, having the same problem. I just learned about batch adding pictures after I have added 5,000+ pictures to my gallery..10 at a time..lol..so...i'm not sure what the problem is but if I find anything out..i'll let you know
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch problem -> No new files found
« Reply #13 on: May 15, 2006, 08:59:57 am »

@hayleyismyhero: start your own thread if you actually have issues.
Logged

hayleyismyhero

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Batch problem -> No new files found
« Reply #14 on: May 15, 2006, 09:10:52 am »

Is there a chance with debugger-informations to isolate the problem?
Where are possible places for the location of that occurence?
- Detected possible new pics in MySQL / wrong response from MySQL
- directory not readable for some reason
- ...
Am I the only one with that particular problem?

no..it's alright..i was just answering udowsky..thanks
Logged

udowsky

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Batch problem -> No new files found
« Reply #15 on: May 16, 2006, 09:11:58 am »

Case closed, Holmes!

Just a short report for the involved supporters!
It's not only that you need the read and execute rights within directories (chmod), but also the owner and groupmember (chown, chgrp).

In my case I did the following: I uploaded Coppermine as zip. Unzipped it as "root" - thus all the files and folders were belonging "root" both as owner and group. Apache instead is of course not a root member and for some reason Coppermine cannot process the batch in that case.
The solution
the solution is fairly simple: I logged into the server via ssh as root again, cd'ed to the directory and made
chown -R WEBSERVER *
and
chgrp -R WEBGROUP *
everything. Voila! Everything goes!

Well, almost everything... the pictures were "addable" but the next problem occurred: Thumbnail images couldn't be generated.
At least at my server it is important that the rights of the folder for the imported pictures are "777" not as suggested "755 or 777". Thats all folks!

I think I earned a "Batchelor degree" on that ;-)
udowsky

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch problem -> No new files found
« Reply #16 on: May 16, 2006, 04:56:15 pm »

as suggested in the docs: everything in the coppermine folder must be readable and executable by the user the webserver runs under (usually "apache" or "nobody") as well as the site visitor. Additionally, for the folders that are suppossed to hold the uploads and thumbnails (i.e. the albums folder and everything within it), the user the webserver runs under needs permission to create and delete files as well (aka. write permissions). This does not only mean that you have to set permissions (CHMOD), but changing ownership as well (CHOWN).
The docs don't go into details on ownership, as coppermine's target "audience" - people who are webhosted - usually don't have the permissions needed to CHOWN; this is something the webhost does for them. We decided not to confuse regular users with ownership stuff in the docs, as this is not a particular coppermine issue, but applies to all pre-made scripts (like bulletin boards etc.) as well that have methods to store stuff on the server's file system (i.e. webspace). In short terms: glad you were able to fix this for you, but after all you should only run your own webserver if you know that stuff already. That's one of the many reasons why we don't recommend self-hosting...
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.