SOLVED: advanced download error

rampage537
Posts: 124
Joined: Mon Jun 29, 2009 9:41 am
Location: Hazel Park, MI
Contact:

SOLVED: advanced download error

Postby rampage537 » Sat May 15, 2010 10:14 am

I go to the pictures section and then into an album - then I go to advanced and change to download mode
in download mode I select say 5 pictures and download as a tar - then I get the error msg

here is the error

Code: Select all

reated archive doesnt exists Archiver returned an error! Return value was: 2 Is the /sql/tmp/ directory writeable? tar -cf "tmp/linpha_download_dc313t7bdvghs8597squ89fdi7_0.tar" "albums/pictures/2010/DSCN2942.JPG" "albums/pictures/2010/DSCN2935.JPG" "albums/pictures/2010/DSCN0548.JPG" "albums/pictures/2010/DSCN2951.JPG" "albums/pictures/2010/2000 006.jpg" "albums/pictures/2010/DSCN2947.JPG" "albums/pictures/2010/DSCN2944.JPG" "albums/pictures/2010/DSCN2953.JPG" "albums/pictures/2010/DSCN2948.JPG" "albums/pictures/2010/DSCF3346.JPG" "albums/pictures/2010/DSCN2957.JPG" "albums/pictures/2010/DSC01468.JPG" "albums/pictures/2010/DSCN2937.JPG" "albums/pictures/2010/DSCN2936.JPG" "albums/pictures/2010/DSCN2943.JPG" Array ( )
Testmaster Manager
Amahi HDA Custom Dual 2.7 GHz, 3 GB DDR2 (667MHz) Ram, 80GB HDD for OS + 1TB and 320GB HDD for Share Drives

kmharris1980
Posts: 5
Joined: Sat May 15, 2010 10:17 am

Re: advanced download error

Postby kmharris1980 » Sat May 15, 2010 10:20 am

Hi I have the same error - got the following msg:

Created archive doesnt exists
Archiver returned an error!
Return value was: 2
Is the /sql/tmp/ directory writeable?
tar -cf "tmp/linpha_download_h2irdb0m2r6o27qhjni6eai272_2.tar" "albums/pictures/2002/2002_01_10 109.jpg" "albums/pictures/2002/2002_01_10 108.jpg" "albums/pictures/2002/2002_01_10 107.jpg" Array
(
)


Anyone have any ideas or sugestions - a permission issue somewhere?

Thanks.

rampage537
Posts: 124
Joined: Mon Jun 29, 2009 9:41 am
Location: Hazel Park, MI
Contact:

Re: advanced download error

Postby rampage537 » Sat May 15, 2010 12:00 pm

got it to work, it appears that the /tmp folder is missing

here is what i did

as root

Code: Select all

mkdir /var/hda/web-apps/linpha/html/sql/tmp chown apache /var/hda/web-apps/linpha/html/sql/tmp chgrp users /var/hda/web-apps/linpha/html/sql/tmp chmod 777 /var/hda/web-apps/linpha/html/sql/tmp
Download mode worked after doing this
Testmaster Manager
Amahi HDA Custom Dual 2.7 GHz, 3 GB DDR2 (667MHz) Ram, 80GB HDD for OS + 1TB and 320GB HDD for Share Drives

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: advanced download error

Postby gboudreau » Sat May 15, 2010 1:33 pm

App install updated to create that directory, and two others (caches) that were missing.
Also fixed a couple of warnings that appeared on screen due to the use of deprecated function like ereg().
- Guillaume Boudreau

rampage537
Posts: 124
Joined: Mon Jun 29, 2009 9:41 am
Location: Hazel Park, MI
Contact:

Re: advanced download error

Postby rampage537 » Sat May 15, 2010 1:41 pm

thanks gboudreau for the fix :)
Testmaster Manager
Amahi HDA Custom Dual 2.7 GHz, 3 GB DDR2 (667MHz) Ram, 80GB HDD for OS + 1TB and 320GB HDD for Share Drives

kmharris1980
Posts: 5
Joined: Sat May 15, 2010 10:17 am

Re: advanced download error

Postby kmharris1980 » Sun May 16, 2010 6:44 am

Thanks so much for the fix guys awesome work. I've got to say the support I have had from the Amahi community has been fantastic.

Who is online

Users browsing this forum: No registered users and 43 guests