Problems with running a backup

Permalink
Hi,

I normally run a backup and it happens quite quickly and I can download my file.

However, on a particular site (not a big site, I should add) it took a really long time and finally I got this error in the console:

Resource interpreted as Image but transferred with MIME type text/html: "http://www.mysite.ca/index.php/dashboard/system/backup_restore/backup/run_backup/1/20121129.jpg".


There is no backup file, just this error which seems to be related to jquery and jquery backstretch.

Does this have anything to do with my hosting? (we have had problems with them).

On other concrete5 sites I've built I haven't had problems with the backup.

 
nicolechung replied on at Permalink Reply
Also, here are my environment settings:

# concrete5 Version
5.5.2.1
# concrete5 Packages
Aviary Image Editor (1.0.3), Designer Content (3.1), Mainio MinCo (0.5), Page Mapper (2.0), Pro Blog (6.6.7), Slider Overlay (1.1).
# concrete5 Overrides
blocks/scottc_page_mapper, blocks/research_reports, blocks/title_description, blocks/title, blocks/problog_list, blocks/landing, blocks/content, blocks/matogertel_tag_cloud_lite, controllers/dashboard, elements/editor_config.php, helpers/pagination.php, js/jquery.animate-colors-min.js, libraries/twitterstatus.php, single_pages/dashboard, themes/inspirit
# Server Software
Apache/2.0.64 (Unix) mod_ssl/2.0.64 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
# Server API
cgi
# PHP Version
5.2.17
# PHP Extensions
bcmath, calendar, cgi, ctype, curl, date, dom, filter, ftp, gd, hash, iconv, imap, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, posix, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, standard, timezonedb, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend Optimizer, zip, zlib.
# PHP Settings
nicolechung replied on at Permalink Reply
Okay, I fixed it, *but* I do have some questions about how concrete5 works and what I should know about the server going forward.

It appears that the "clear cache" button isn't working. I went and manually deleted the files using my ftp program and now I can run a backup without a problem. So I think perhaps my alloted space was maxed out with my hosting.

However, can anyone tell me why the "clear cache" button *wouldn't* work? Does it depend on a particular server setting? I wasn't getting an error message when I cleared the cache (even though nothing was actually being cleared).
nicolechung replied on at Permalink Reply
Anyone know *why* my clear cache button would not work?
TooqInc replied on at Permalink Reply
TooqInc
When you say that it wouldn't work, can you be more explicit? Did it refresh the page or actually nothing happened? Did it give you any message, either that it cleared the cache (but didn't) or a error message?

Off the top of my head, I'd check some folder permissions. I have found that inside the /files folder, trash and cache can sometimes lose their permission settings and this may have been a cause.
nicolechung replied on at Permalink Reply
When I hit the clear cache button, I get the "success" message:

Cached files removed.

However, if I go and view the files/cache folder there are still files in the cache folder.

The files folder, files/cache folder and files/tmp folder are all 755.
TooqInc replied on at Permalink Reply
TooqInc
Try changing those permissions to 777 (but exit and re-enter as they may revert again. If they do, create new ones, copy the contents out of the old and into the new, then blow away the old ones) and clear the cache again.
nicolechung replied on at Permalink Reply
Okay, I tried switching files, files/cache and files/tmp to 777. I then turned on the cache, checked the folder, "files/cache" to see that it had files, and then, in the dashboard, I hit the "clear cache" button.

I got the "Cache files removed" success message, but when I looked into the folder, "files/cache", the files are still there.

Very strange.
JohntheFish replied on at Permalink Reply
JohntheFish
Jordanlev was investigating a similar point a few days ago (on the leaders forum). His conclusion was that the cache was clearing, but only the oldest files were being removed.

I am planning to put together a cache clearing job as a free addon - its something that will be of use on my own sites. Though I am not sure how long it will be relevant for as I have heard the entire cacheing strategy is being slimmed down in 5.7.
nicolechung replied on at Permalink Reply
Good to know.

It looks like the files inside of the files/cache folder are 644. But then the server should still be able to delete files, right (if the server is the "owner")?