Uploaded files deleted (Ez 8.0) [Solved]

Author Message

Franck T.

Wednesday 01 August 2007 3:44:55 am

Hi there,

All uploaded files (mainly .pdf and .doc documents) have disappeared from the /var/storage folder. And this twice in a month !
I know i can restore them from my server backup utility, but can someone tell me why this happens. Is there a max size for the /var/storage folder or something else to set ?

In addition, the doc says :
<i> "A new subdirectory will be created for every MIME type. For example, if an executable (.exe) file is uploaded, a directory called "application" will be created; if a text file is uploaded then a directory called "text" will be created, and so on. "</i>
But in my site, all the files are stored in one subdirectory called "application" !!

I have surely missed something but where ? Thanks for helping please.

André R.

Wednesday 01 August 2007 5:20:34 am

Welcome from the future, I'm afraid not to many of us can help out on you eZ Publish 8.0 problems. But if you can give us a copy so we can save 10 years of development, that would be cool :)

3.8.0 ??
Could you post an example of a path to one of your images?

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Franck T.

Wednesday 01 August 2007 6:18:12 am

Thanks Andre, but i'm not from the future, lol, i meant Ez 3.8.0 of course

Now, i've just finished restoring the whole site (for the 2nd time). I really don't know what may cause this storage folder to be re-created. It now contents exactly 727 files (294 Mb), all in the "application" subdirectory (because it's Word, Excel and Pdf files).

In my SiteIni, the StorageDirPermissions and StorageFilePermissions are set to 0777 and 0666, may be i can set them to 0770 and 0660 as the doc says, but will this change anything to my problem ?

Thanks for any idea.

André R.

Wednesday 01 August 2007 8:51:48 am

I don't think it will solve the problem, but upgrading to latest 3.8.x version is probably a more solid bet.

Found this in the 3.8.2 log:
- Fixed bug #8628: data loss: entire storage/original dir wiped.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Franck T.

Wednesday 01 August 2007 10:15:08 am

http://issues.ez.no/IssueView.php?Id=8628

Ok, now it's clear. I guess i have to upgrade to the 3.8.2.
Merci André ...

André R.

Thursday 02 August 2007 12:34:29 am

Well, you should upgrade to latest 3.8 version. Upgrades minor versions are quite easy.
Just remember to run the upgrade sql statements, as both 3.8.1 and 3.8.5 introduces some improvements to the database indexes.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:28:24
Script start
Timing: Jan 31 2025 01:28:24
Module start 'layout'
Timing: Jan 31 2025 01:28:24
Module start 'content'
Timing: Jan 31 2025 01:28:24
Module end 'content'
Timing: Jan 31 2025 01:28:24
Script end

Main resources:

Total runtime0.0244 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.2578151.2266
Module start 'layout' 0.00570.0043 739.4844220.7188
Module start 'content' 0.01000.0130 960.20311,005.8672
Module end 'content' 0.02300.0013 1,966.070337.9922
Script end 0.0243  2,004.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002510.3743140.0002
Check MTime0.00114.3832140.0001
Mysql Total
Database connection0.00083.383810.0008
Mysqli_queries0.003413.914530.0011
Looping result0.00000.094910.0000
Template Total0.00103.910.0010
Template load0.00083.153910.0008
Template processing0.00020.729610.0002
Override
Cache load0.00052.149610.0005
General
dbfile0.00177.111880.0002
String conversion0.00000.036240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs