| [10:01:10] | * ergonlogic has quit (Ping timeout: 240 seconds) |
| [10:09:53] | * theMusician_ has quit (Quit: theMusician_) |
| [11:00:14] | * cdracars has quit (Ping timeout: 260 seconds) |
| [11:01:24] | * cdracars has joined #aegir |
| [11:01:40] | * anto_ has quit (Ping timeout: 260 seconds) |
| [11:02:29] | * anto_ has joined #aegir |
| [12:20:59] | * realityloop has joined #aegir |
| [12:39:44] | * roycroft has quit (Ping timeout: 260 seconds) |
| [12:39:51] | * roycroft has joined #aegir |
| [13:22:16] | * gusaus has quit (Quit: gusaus) |
| [17:12:38] | * reaper013 has joined #aegir |
| [17:21:42] | * realityloop has quit (Quit: Leaving..) |
| [17:31:37] | * mengi has quit (Quit: Leaving.) |
| [18:38:35] | * ybabel has joined #aegir |
| [23:17:33] | * v20th has joined #aegir |
| [23:34:34] | * fatguylaughing_ has joined #aegir |
| [00:04:17] | * mstenta has joined #aegir |
| [01:11:18] | * theMusician has joined #aegir |
| [02:26:59] | * reaper013 has quit (Quit: Page closed) |
| [03:08:50] | * v20th has quit (Ping timeout: 255 seconds) |
| [03:21:44] | * v20th has joined #aegir |
| [03:37:11] | <roycroft> | hi folks |
| [03:37:25] | <roycroft> | my import of a stand-along drupal site into aegir is still not working out |
| [03:38:09] | <roycroft> | i've done everything i think i should, but the imported site still has all the menu and other links broken |
| [03:39:37] | <roycroft> | if anyone has any ideas what else to do i'd appreciate hearing them |
| [03:41:15] | <roycroft> | i've copied the stand-alone site to the aegir master, installed it as a platform, created a new site with the same hostname of the one i'm importing, copied the sites/default/files directory to sites/domain.com/files, restored the database to the newly-created site, migrated the site to a temporary hostname, migrated it back, then cloned it |
| [03:41:18] | <viashimo> | roycroft: are they broken by pointing at the previous url, or broke in some other way? |
| [03:41:24] | <roycroft> | 404 |
| [03:41:25] | <hefring> | http://drupal.org/node/404 => Fatal error: Cannot redeclare class theme in d:\htdocs\test\_cms => 4 comments, 1 IRC mention |
| [03:41:31] | <roycroft> | not pointing at the old url |
| [03:41:41] | <roycroft> | everything except the main page gives 404 errors |
| [03:41:55] | <roycroft> | the stand alone site was installed in sites/default |
| [03:42:20] | <roycroft> | the procedure i outlined above is what was suggested yesterday to move it to sites/domain.com, where aegir will find it |
| [03:42:36] | <roycroft> | i've read an almost identical procedure online as well |
| [03:43:25] | <viashimo> | I've not really seen an error like that - where teh pages 404 after migration |
| [03:43:35] | <viashimo> | is it hitting the drupal site, or just the web server ? |
| [03:43:36] | <roycroft> | it's really weird |
| [03:43:41] | <roycroft> | it's hitting the drupal site |
| [03:43:45] | <roycroft> | the main page comes up fine |
| [03:44:01] | <roycroft> | and there's nothing in the web logs to indicate that it's being redirected to something invalid |
| [03:44:05] | <roycroft> | so i'm not sure where to go from here |
| [03:44:31] | <roycroft> | all very strange |
| [03:44:33] | <viashimo> | are the links the clean-url style: site.com/node/123 ? |
| [03:44:51] | <roycroft> | no, they are like site.com/link |
| [03:45:00] | <roycroft> | not node/nnn |
| [03:45:40] | <viashimo> | okay, that's fine - a url alias |
| [03:45:52] | <roycroft> | even site.com/?q=user/login is broken |
| [03:46:01] | <viashimo> | hmm |
| [03:46:05] | <roycroft> | i get 404 for that |
| [03:46:08] | <viashimo> | maybe something is up with the menu router |
| [03:46:24] | <viashimo> | ... delete from cache_menu ? |
| [03:46:43] | <roycroft> | delete from the database? |
| [03:47:03] | <viashimo> | yup, not drop the table, but remove the entries in cache_menu |
| [03:47:20] | <viashimo> | iirc that's where drupal keeps the cached copies of what alias links to what in the backend |
| [03:48:21] | <viashimo> | (normally cc all or rr would probably do this, but I'm assuming you've tried those). I used to run into (unrelated) cases where it was handy to remove the rows by hand |
| [03:48:25] | <roycroft> | i deleted everything but no difference |
| [03:48:39] | <roycroft> | i still get the main page, but all links are broken |
| [03:48:47] | <roycroft> | there were only 10 rows in the cache |
| [03:51:16] | <viashimo> | and try cache_path as well |
| [03:52:16] | <roycroft> | that did not help |
| [03:52:36] | <roycroft> | i'm at a loss to understand what's going on |
| [03:53:08] | <roycroft> | and the thing is, we have dozens of stand-alone drupal 7 sites that we want to import into aegir |
| [03:53:25] | <roycroft> | so it's really important that i figure this out |
| [03:53:36] | <viashimo> | roycroft: are there modules that aren't enabled that used to be? |
| [03:54:20] | * theMusician has quit (Ping timeout: 252 seconds) |
| [03:54:45] | <roycroft> | there shouldn't be |
| [03:54:55] | <roycroft> | what i did was create a new site with the original hostname |
| [03:55:11] | <roycroft> | copied sites/files to sites/site.com |
| [03:55:28] | * gusaus has joined #aegir |
| [03:56:32] | <viashimo> | roycroft: maybe double check. user/login is provided by the user the module. if something really weird happened maybe it's not being loaded |
| [03:56:47] | <roycroft> | then i restored the database |
| [03:56:57] | <roycroft> | so all the enabled modules, etc. should still be enabled |
| [03:57:46] | <viashimo> | should be, but let's make sure |
| [03:58:09] | <roycroft> | since i can't log into the site i'm not sure how i would do that |
| [03:58:13] | <roycroft> | a database query? |
| [03:58:19] | <viashimo> | roycroft: drush pmi user |
| [03:58:58] | <viashimo> | yeah, you can check in the system table too, but drush pmi bootstraps a bit more of the drupal code so if there's an error there it'll give us information |
| [03:59:02] | <roycroft> | it's enabled |
| [03:59:04] | * v20th has quit (Ping timeout: 260 seconds) |
| [03:59:21] | <roycroft> | path is modules/user |
| [03:59:27] | <viashimo> | and the menu module? |
| [03:59:30] | <roycroft> | now this is something else i'm not sure about |
| [03:59:56] | <viashimo> | roycroft: modules/user is fine, it's from the root of the platform and the user module is in the drupal core at modules/user |
| [04:00:11] | <roycroft> | the modeules are stored in platform/modules |
| [04:00:16] | <roycroft> | not in sites/site.com/modules |
| [04:00:17] | <roycroft> | is that ok? |
| [04:00:23] | <roycroft> | and yes, menu is enabled |
| [04:00:29] | <viashimo> | okay |
| [04:00:54] | <viashimo> | for core modules, yup |
| [04:01:06] | <roycroft> | i thought so, but wasn't sure |
| [04:01:13] | <roycroft> | things move around from drupal release to drupal release somewhat |
| [04:01:29] | <roycroft> | and i'm a network administrator, not a web developer |
| [04:01:53] | <roycroft> | so my knowledge of drupal/aegir is strictly based on how to make it work for my boss and the other developers |
| [04:01:59] | <viashimo> | did the platform you imported have custom rules in the htaccess file? |
| [04:02:00] | * theMusician has joined #aegir |
| [04:02:26] | <ergonlogic[m]> | maybe check the .htaccess in the platform root, and make sure other core code isn't hacked |
| [04:02:33] | <viashimo> | the htaccess files aren't directly read by the webserver, but the contents are copied by aegir in the apache vhost (if you're using apache), or nginx configuration |
| [04:02:44] | <roycroft> | there is no .htaccess in the platform root |
| [04:03:10] | <roycroft> | but i wonder if there's something in the apache config on the original host |
| [04:03:16] | <ergonlogic[m]> | then that's probably your problem right there |
| [04:03:32] | <ergonlogic[m]> | are you sure it got caught in your backup? |
| [04:03:36] | <viashimo> | ah you made the copy of the platform, but didn't include drupal's htaccess file |
| [04:03:43] | <viashimo> | ? |
| [04:03:47] | <roycroft> | i made a tarball and extracted it |
| [04:04:01] | <roycroft> | that should have copied a .htaccess file |
| [04:04:22] | <roycroft> | and there is no .htaccess in the root on the original server |
| [04:04:58] | <roycroft> | there are some rewrite rules in the apache config though |
| [04:05:24] | <viashimo> | roycroft: may as well grab the .htaccess, place it in the root of the platform and re-verify teh site to see if it helps: http://cgit.drupalcode.org/drupal/tree/.htaccess?h=7.x |
| [04:07:07] | <roycroft> | that did not help |
| [04:07:39] | <ergonlogic[m]> | re-verify the platform |
| [04:08:00] | <viashimo> | oh right, my bad |
| [04:08:49] | <roycroft> | one moment |
| [04:08:51] | <roycroft> | or maybe a few more |
| [04:08:59] | <roycroft> | browser is beachballing |
| [04:11:24] | <roycroft> | verify queued |
| [04:12:01] | <roycroft> | and there's an apache error now |
| [04:12:08] | <roycroft> | let me look at the log |
| [04:12:15] | * v20th has joined #aegir |
| [04:13:05] | <roycroft> | Syntax error on line 11 of /var/aegir/platforms/site.com/.htaccess: Expected </link> but saw </head> |
| [04:13:46] | <roycroft> | i can fix that, but it's odd |
| [04:14:13] | <roycroft> | the previous line is <link .... /> |
| [04:14:28] | <roycroft> | and that should be fine, but i'l change to /link to see if that fixes it |
| [04:15:23] | <ergonlogic[m]> | there shouldn't be anything like that in .htaccess |
| [04:15:29] | <viashimo> | did you download the plain version, or the html? I don't see <link> in the .htaccess file |
| [04:15:50] | <roycroft> | i downloaded whatever you pasted |
| [04:15:51] | <ergonlogic[m]> | http://cgit.drupalcode.org/drupal/plain/.htaccess?h=7.x |
| [04:16:03] | <roycroft> | oh, that's not the .htaccess itself |
| [04:16:08] | * roycroft just opened the file |
| [04:16:09] | <roycroft> | sorry |
| [04:17:08] | <viashimo> | sorry, I should've been more explicit. it's not obvious unless you look at it |
| [04:17:20] | <roycroft> | yeah, i just did a wget and then copied what i got |
| [04:17:33] | <roycroft> | now i'm verifying again, and apache2ctl is happy with it |
| [04:17:55] | <roycroft> | ok, verifies cleanly |
| [04:18:02] | * mengi has joined #aegir |
| [04:18:09] | <roycroft> | and now it works! |
| [04:18:12] | <viashimo> | woot! |
| [04:18:13] | <roycroft> | thank you! |
| [04:18:27] | <roycroft> | but why did it work on the stand-alone machine without the .htaccess file? |
| [04:18:31] | <roycroft> | that's odd |
| [04:18:43] | <ergonlogic[m]> | do paths work properly on the site now? |
| [04:19:00] | <viashimo> | if the config was placed all in the vhost instead, then conceivably it could work with .htaccess |
| [04:19:06] | <viashimo> | without* |
| [04:19:11] | <ergonlogic[m]> | it sounds like it was hacked to hell and back |
| [04:19:39] | <ergonlogic[m]> | there are a variety of ways to inject that stuff, but none of it should be necessary |
| [04:19:50] | <roycroft> | well this is an easy fix |
| [04:20:13] | <roycroft> | and if all the other sites were hacked to hell and back as well, i can probably install the .htaccess for them too |
| [04:20:21] | <roycroft> | thank you for seeing me through this |
| [04:20:27] | <roycroft> | my boss is very happy now |
| [04:20:30] | * Topplestack has joined #aegir |
| [04:20:36] | <roycroft> | and i go on vacation after today |
| [04:20:48] | <viashimo> | roycroft: enjoy your vacay :) |
| [04:20:52] | <roycroft> | i won't have to worry about this while i'm on holidays :) |
| [04:21:08] | <roycroft> | i'm going to clone the site now to make sure that all works out |
| [04:21:22] | <ergonlogic[m]> | When you're back, I recommend you install https://www.drupal.org/project/hacked |
| [04:21:33] | <roycroft> | ok, i'll do that |
| [04:27:05] | * v20th has quit (Ping timeout: 240 seconds) |
| [04:31:57] | <roycroft> | sweet |
| [04:32:03] | <roycroft> | i was able to clone the site and all is well |
| [04:32:18] | <roycroft> | now i'm going to import a different site, while this is all fresh in my mind |
| [04:32:29] | <roycroft> | and also to make sure that the other sites weren't hacked in a different way |
| [04:40:56] | * v20th has joined #aegir |
| [04:48:47] | <roycroft> | brilliant! |
| [04:48:52] | <roycroft> | the second site is imported into aegir |
| [04:51:33] | <roycroft> | now i'm working on a big, ugly, crufty one that's likely been hacked more than anyone would feel comfortable about |
| [04:56:36] | * theMusician has quit (Quit: theMusician) |
| [04:59:12] | <viashimo> | anyone know why sites and platforms aren't listed for users with the aegir client role (even if their user is associated with 1 or more clients that have sites/access to platforms)? |
| [04:59:47] | * theMusician has joined #aegir |
| [05:09:56] | * v20th has quit (Ping timeout: 260 seconds) |
| [05:22:53] | * v20th has joined #aegir |
| [05:27:01] | * theMusician has quit (Quit: theMusician) |
| [05:30:12] | <viashimo> | huh, node/<client_id>/site/add doesn't work the same as hosting/site/add |
| [05:48:48] | * theMusician has joined #aegir |
| [05:54:42] | <gusaus> | ergonlogic[m]: I posted some followup thoughts on OpenSocial and OpenCollective as a vehicle to support Aegir in https://slack.opencollective.com/ |
| [05:59:10] | <gusaus> | This comment is related - https://www.drupal.org/node/2164579#comment-12054279 |
| [05:59:12] | <hefring> | https://www.drupal.org/node/2164579 => Funding - Sustaining Aegir development [#2164579] => 26 comments, 1 IRC mention |
| [06:20:16] | * theMusician has quit (Quit: theMusician) |
| [06:30:19] | * theMusician has joined #aegir |
| [06:41:43] | <viashimo> | it seems client quotas aren't respected anymore :/ |
| [06:50:11] | <roycroft> | is there a way to have aegir log what it's doing more verbosely? |
| [06:50:23] | <roycroft> | i tried to create a site and it failed |
| [06:50:44] | <roycroft> | i got "DRUPAL_INSTALL_FAILED" |
| [06:50:54] | <roycroft> | followed by "Site installation caused an exception." |
| [06:51:04] | <roycroft> | neither of which was very useful |
| [07:04:44] | * mstenta has quit (Ping timeout: 260 seconds) |
| [07:05:08] | * v20th has quit (Quit: Leaving) |
| [07:14:06] | * mstenta has joined #aegir |
| [07:50:47] | * ybabel has quit (Quit: ybabel) |
| [08:12:21] | * realityloop has joined #aegir |
| [08:51:42] | * realityloop has quit (Quit: Leaving..) |
| [09:16:38] | * shaneonabike1 has joined #aegir |