@Brett. Thanx for the hint. Tried out everything - dead in the water... There they are - files both side to side in users' folder on the server - the one uploaded after the migration is downloadable just fine, the one that was uploaded before the migration - still gives the 0Kb.
I guess I just apologize to users and ask to delete all te old files and reload them again...
Server migrations can cause lost images if:
1. The images are not copied to the new server
2. The permissions are not set correctly (web server cannot read the images)
3. The data root directory is not changed
4. The filestore::dir_root
metadata variable is not changed
All of this is documented at http://docs.elgg.org/wiki/DuplicateInstallation
@Cash
must be 4., although I did run the query as per instruction:
(Only change the first path here!!)
UPDATE elgg_metastrings set string = '/var/data/elgg_test/' WHERE id = (SELECT value_id from elgg_metadata where name_id = (SELECT * FROM (SELECT id FROM elgg_metastrings WHERE string = 'filestore::dir_root') as ms2) LIMIT 1) ;
----------------------------------------
how do I check to learn if the DB is ok or I need to rerun the query? any other suggestions?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.