solved sychronizing 2 servers

alt=
DannyA
@dannya
10 years ago
584 posts
I'm getting some strange behavior.

1.I install new modules to my development server and configure them.
2.I copy the files from my development server to production server
3.Productions server does not load.

This has takes down my production server every time we update it. Is there something that is changed in the database or module files when a module is configured that is doing this?

updated by @dannya: 05/17/14 03:51:22PM
brian
@brian
10 years ago
10,148 posts
andersda:
I'm getting some strange behavior.

1.I install new modules to my development server and configure them.
2.I copy the files from my development server to production server
3.Productions server does not load.

This has takes down my production server every time we update it. Is there something that is changed in the database or module files when a module is configured that is doing this?


Jamroom is more than just files - it's also database - i.e. there could be new config options in the module, but simply uploading the files does not run the integrity check to fix it.

If it is "taking down" your server, then any issues should be very clear in the data/logs/error_log.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
When you say it doesn't load, do you get a 500 error? If so, check that you aren't overwriting your htaccess with a fresh htaccess when you deploy - I believe you have a different line in your htaccess file to make it work on a virtualmin system.

Options +FollowSymLinks
needs to be changed to
Options +SymLinksIfOwnerMatch

If your live server isn't controlled by virtualmin you might need to change that line back to Options +FollowSymLinks


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
alt=
DannyA
@dannya
10 years ago
584 posts
This is the error in error log (multiple times)


[16-Apr-2014 19:51:29 Europe/Dublin] PHP Parse error: syntax error, unexpected '===' (T_IS_IDENTICAL) in /home/xtraxx/public_html/modules/jrCore/contrib/smarty/libs/sysplugins/smarty_internal_parsetree.php on line 395
michael
@michael
10 years ago
7,719 posts
That errors not the issue since it reads 'smarty_internal_parsetree.php on line 395' but smarty_internal_parsetree.php only has 394 lines in it.

Look for something you've added to a template that is breaking it. Perhaps a missing } or "
alt=
DannyA
@dannya
10 years ago
584 posts
Thanks. That did the trick. The file was corrupted.

Tags