Hello.
I'm trying to duplicate an elgg installation for having a test.mydomain.com where to try new mods and stuff.
I'm stuck at some point, very close to have the duplication working, but don't know what or where...
---
+ I Followed the process described in here: http://docs.elgg.org/wiki/DuplicateInstallation
+ I created a subdomain test.mydomain.com, pointing to a new server folder: /var/www/test_mydomain_com
---
Errors found:
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.
- Paweł Sroka@srokap
Paweł Sroka - 0 likes
- sauko@sauko
sauko - 0 likes
- Paweł Sroka@srokap
Paweł Sroka - 0 likes
- wwwroot (aka. path) set to /var/www/test_mydomain_com/
- dataroot set to /var/installations/test/data/
- sauko@sauko
sauko - 0 likes
You must log in to post replies.It looks like you've set dataroot to be /var/www/test_mydomain_com/ even though you mentioned, you wanted it to be /var/installations/test/data/
Double check that mod_rewrite is present and you have .htaccess properly set up.
Hi @Srokap. Thank you. why you say I've set dataroot wrong?
.htaccess has been copied from one installation to another, exactly the same.
One point is that this time we did with fresh install. Before this, we tried by copying everything (directories, data and Db), with exactly the same problems.
I think the problem may be with:
1. Database.
2. Data folder placement.
3. Some Plugins.
But still don't know how to find out, as I checked everything many times...
You wrote one of the errors was:
"file_get_contents(/var/www/test_mydomain_com/2014/10/10/5931/icons/7619medium.jpg): failed to open stream: No such file or directory" in file /var/www/test_mydomain_com/engine/classes/ElggDiskFilestore.php (line 234)"
That would mean that your data root is configured to be /var/www/test_mydomain_com/ which is wrong! You said you wanted to use /var/installations/test/data/ as data root. You need to fix it.
From what you wrote, you should have:
If you don't know how to change them, look at http://docs.elgg.org/wiki/DuplicateInstallation#Database_Entries
That's obvious mistake that you need to fix before digging further.
Ok, fixed.
My data root path was well set, the issue was that I set the folder name: "test_data" which doesn't work instead of simply "data"...
So long to find out it was so simple.
Thanks for the ideas.