Forum Activity for @dannya

alt=
@dannya
11/11/15 06:53:49PM
584 posts

Configuration backup/restore and duplication


Installation and Configuration

In light of some recent issues I was thinking of a couple of things that I would like to do and wanted to see if it's something you guys could provide some guidance on.

1. It would be great if we could have a script we could execute from acp that would allow us to back up the entire configuration of all the modules. There would also be a restore button so that if we did a fresh install, the previous configuration of all the modules would instantly be loaded.

2. When deploying a new server, I would like to have configuration file that configured all the modules. Ideally, you would just change the variable settings ,such as server name, in the config file. This would allow for fast deployment of servers for scalability purposes. For example, if i wanted to create an AWS autoscale group of conversion servers, I could create an AMI with the lamp stack, the jr files, and a config file with variable server names for each instance. (yes I would still have to register each instance with the queue server).
This is how all major media platforms manage their variable scaling needs. However currently, configuring a server to just handle conversions is too time consuming to do manually. We need to be able to do dynamically with a config file. I'm sure it could be done today, but not sure how.
updated by @dannya: 02/15/16 12:57:11AM
alt=
@dannya
11/11/15 06:40:17PM
584 posts

core update crashes


Installation and Configuration

Nope. I prefer to take full responsibility. This has been something that has never worked right for me. Sometimes it went away if we cleared the cache. Sometimes we had to go into code and debug. But unfortunately, it's made it very difficult to upgrade regularly. We should have done a fresh install but it was never a priority as it would take to much time. Now we have no choice. Again, my fault for not backing up the db. Lesson learned. At least it wasn't in production.
alt=
@dannya
11/11/15 09:59:16AM
584 posts

core update crashes


Installation and Configuration

DannyA:
I'm not suggesting it's a native jr issue. I'm sure a plain vanilla system works fine. And although I have a lot of custom modules, I think it's related to something in the server configuration. However, I will say that my server is configured according to your requirements. So there must be something else in the configuration. I suspect it has something to do with the symlinks, but have not been able to pin down the issue.
alt=
@dannya
11/08/15 03:57:46PM
584 posts

core update crashes


Installation and Configuration

In this case I used the ACP marketplace to do the update, so I don't think that's it.

Been 8 hours now. Even after fresh install, restoring db causing 500 error.All manner of files not found. I'm annoyed beyond words, but grateful it didn't happen in production with many active users. Probably would have to shut the company down by now.

Going to try to revert everything back.
alt=
@dannya
11/08/15 01:22:01PM
584 posts

core update crashes


Installation and Configuration

The file wasn't missing. It's something to do with the symlinks.
alt=
@dannya
11/08/15 12:15:28PM
584 posts

core update crashes


Installation and Configuration

After 4 hours, we are giving up. Going to have to re-install the whole thing.
alt=
@dannya
11/08/15 12:14:50PM
584 posts

core update crashes


Installation and Configuration

(snipped)

[Sun Nov 08 19:06:54.708788 2015] [core:error] [pid 13931] [client 122.161.49.207:64688] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Sun Nov 08 19:08:46.273487 2015] [autoindex:error] [pid 13309] [client 66.249.64.136:53036] AH01276: Cannot serve directory /home/dev/public_html/: No matching DirectoryIndex (index.html,index.php,sitemap.xml,modules/jrCore/router.php) found, and server-generated directory index forbidden by Options directive
alt=
@dannya
11/08/15 11:29:50AM
584 posts

core update crashes


Installation and Configuration

Been down for 2 hours. Good thing it's not my production server.
alt=
@dannya
11/08/15 10:43:21AM
584 posts

core update crashes


Installation and Configuration

I'm not suggesting it's a native jr issue. I'm sure a plain vanilla system works fine. And although I have a lot of custom modules, I think it's related to something in the server configuration. However, I will say that my server is configured according to your requirements. So there must be something else in the configuration. I suspect it has something to do with the symlinks, but have not been able to pin down the issue.
  17