| [10:06:26] | <alfthecat> | has no one ever seen this? |
| [10:10:50] | <alfthecat> | now chowning the /files/imagecache folder on the master server to 2777, recursive. Already tried hacking the imagecache module with #12 of drupal.org/node/580538. Also tried to remove the imagecache directory on the slave, no luck. Chmodding on slave also breaks stuff. Also flushed all the imagecache caches. |
| [10:11:58] | * gusaus has joined #aegir |
| [10:13:22] | <alfthecat> | im getting exactly the same as here http://drupal.org/node/1105966 but they haven't specified a solution.... |
| [10:13:23] | <hefring> | http://drupal.org/node/1105966 => Image Cache Issues in Drupal Commons Hosted on Aegir => Drupal Commons, Code, normal, closed (works as designed), 3 comments, 1 IRC mention |
| [10:14:18] | <alfthecat> | hefring: are you a bot or was that a coincidence? |
| [10:16:18] | <alfthecat> | if not, I tried chmodding. no good. Also, the presets were working before i migrated to a new codebase on slave server |
| [10:16:55] | <alfthecat> | I went through the thread indicated as being 'a clue' in the above mentioned link. I got the hack from there. no good. |
| [10:19:29] | <alfthecat> | test http://drupal.org/node/1105966 |
| [10:19:29] | <hefring> | http://drupal.org/node/1105966 => Image Cache Issues in Drupal Commons Hosted on Aegir => Drupal Commons, Code, normal, closed (works as designed), 3 comments, 2 IRC mentions |
| [10:20:13] | * realityloop has quit (Remote host closed the connection) |
| [10:41:27] | * Egyptian[Laptop] has quit (Ping timeout: 252 seconds) |
| [10:42:42] | * alberto56 has quit (Quit: This computer has gone to sleep) |
| [10:44:52] | <alfthecat> | anyone? |
| [10:58:17] | * Egyptian[Laptop] has joined #aegir |
| [11:01:59] | * rv0 has quit (Quit: rv0) |
| [11:08:29] | * tommyent has quit (Quit: tommyent) |
| [11:11:50] | <alfthecat> | plz i need help |
| [11:16:03] | * obicke has joined #aegir |
| [11:16:33] | * wamilton has quit (Ping timeout: 245 seconds) |
| [11:16:42] | <alfthecat> | cant restore backups anymore now either due to the fact that I tried to chmod things |
| [11:22:50] | <alfthecat> | great site is disabled now too. cant even get the broken version back. 3.22 AM. wonderful |
| [11:27:38] | <bgm> | alfthecat: what are your permissions on the FS? |
| [11:27:53] | <alfthecat> | I have now set it all to 777 |
| [11:28:03] | <alfthecat> | on the master or slave btw? |
| [11:28:33] | <bgm> | slave, i presume that's where imagecache is trying to write |
| [11:28:43] | <bgm> | i never used master-slave setup |
| [11:29:07] | <alfthecat> | im trying to restore a backup, for issue queue advised to make www-data the owner. But then aegir isnt the owner anymore and rsync fails |
| [11:29:43] | <alfthecat> | I find all sorts of half complete documentation. It seems that all the posters stop documenting after a solution is found :( |
| [11:30:30] | <alfthecat> | or rather, the solution isnt documented |
| [11:31:00] | <bgm> | tasks are run as aegir, so make sure the files are group-writable |
| [11:31:15] | <bgm> | assuming that aegir is in the www-data group |
| [11:31:40] | <alfthecat> | yeah, I have set aegir back as the owner. Yeah it should be. This was all working fine before I migrated |
| [11:31:58] | <bgm> | although usually, aegir.www-data 0664 on files, 0775 on directories, works best, imho |
| [11:32:13] | <bgm> | ok |
| [11:32:27] | <alfthecat> | yeah I'm completely lost here. I tried everything. And it seems to me that this is a common issue |
| [11:32:56] | <alfthecat> | It feels like everyone has this when migrating to a different server. Yet no clue to be found anywhere |
| [11:34:23] | <bgm> | what's the error when you restore? |
| [11:34:58] | <alfthecat> | I'm already at this for hours and this is a live site. I tested everything (I thought). This catches me by surprise completely |
| [11:35:58] | <alfthecat> | Rsync errors at first, for I messed with the files and they couldnt be synced. Now I have fixed that, but, my previous backup had drupal tweaks enabled. And Aegir cant set the max_exec_time because of that. So that restore has failed now too. So now I'm trying an even earlier one |
| [11:37:52] | <bgm> | not sure i understand, why is the max execution time an issue? |
| [11:38:31] | <alfthecat> | It was before, but not anymore. Due to a bad update (mistakenly used the wrong version.) |
| [11:38:49] | <alfthecat> | its not relevant, in other words, its just adding to the pain :) |
| [11:39:02] | <alfthecat> | anyway, i have the EXACT same issue as stated here http://drupal.org/node/1105966 |
| [11:39:03] | <hefring> | http://drupal.org/node/1105966 => Image Cache Issues in Drupal Commons Hosted on Aegir => Drupal Commons, Code, normal, closed (works as designed), 3 comments, 3 IRC mentions |
| [11:39:37] | <alfthecat> | I have hacked the ic module with this http://drupal.org/node/392100#comment-4275250 |
| [11:39:38] | <hefring> | http://drupal.org/node/392100 => warning: mkdir() [function.mkdir]: File exists in /var/www/html/rmysite/sites/default/modules/imagecache/imagecache.module => ImageCache, Code, critical, closed (fixed), 20 comments, 1 IRC mention |
| [11:39:52] | <alfthecat> | i have tried chmodding etc, all no good |
| [11:41:02] | <alfthecat> | i have the site back now, old backup worked |
| [11:41:38] | <alfthecat> | what im contemplating now is to remove the entire imagecache dir on the master and the slave, and then attempt to verify (thus sync) the platform again. Would that be wise? |
| [11:42:25] | <bgm> | should be ok |
| [11:42:36] | <alfthecat> | ok ill try that |
| [11:42:45] | <bgm> | otherwise, when you say that you chmodded files, better to double-check how |
| [11:43:37] | <alfthecat> | I basically followed the pointers throughout the issue queue. Set it all to 777 and such, but that is now undone |
| [11:43:53] | <bgm> | the imagecache permission issue you posted seems like a really simple permission bug, which is the case most of the time why imagecache is not working |
| [11:44:18] | <bgm> | you should still set the owner to aegir, and group to www-data |
| [11:44:23] | <bgm> | and 0664 / 0775 |
| [11:45:23] | <alfthecat> | yeah exactly. But on the master server (where the site resided before) there were no issues. After migrating, i notticed that on the slave, there were different persmissions to the same files. So I duplicated the permissions of the master to the slave manually. Which immediatly broke the verification from the aegir frontend |
| [11:46:08] | <bgm> | btw are your master/slave servers mostly identical? |
| [11:46:17] | <bgm> | i.e. same UID / GID ? (i think this was an issue in the past) |
| [11:46:30] | <alfthecat> | yeah they are pretty much exactly the same. Yes, UID and GID are identical too |
| [11:46:50] | <alfthecat> | I have been thorough in setting the slave up in the past week |
| [11:47:00] | <bgm> | :) |
| [11:47:15] | <bgm> | are you running 1.8? |
| [11:47:22] | <alfthecat> | no im still on 1.6 |
| [11:47:49] | <bgm> | older versions of aegir would sometimes screw up the permissions on css/js aggregation dir, i think, and possibly imagecache |
| [11:48:06] | <bgm> | (after a migration) |
| [11:48:07] | <alfthecat> | yeah that sounds like what I witnessed |
| [11:48:21] | <alfthecat> | I noticed the permissions deviating between slave and master |
| [11:49:24] | <bgm> | well, basically, it would forget to give ww-data write permissions on some directories |
| [11:49:50] | <alfthecat> | but manually changing them is not an option. The thing is, imagecache is also a dependency of a few of my features on this site. So I need to disable those (and risk losing overridden values) if I want to uninstall and re-install imagecache on the slave. And then still, I think it'll run into the same permission trap on rsync. |
| [11:49:56] | <alfthecat> | Long forgotten :) |
| [11:50:58] | <alfthecat> | ok, deleted the imagecache dirs on both machines. Im now running a verify of the platfrm and the site |
| [11:51:05] | <alfthecat> | hope the latter still goes |
| [11:53:02] | <alfthecat> | Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: No such file or directory in imagecache_build_derivative() (line 604 of /var/aegir/platforms/23089-fvzv-6.26.1/sites/all/modules/imagecache/imagecache.module). Warning: mkdir() [<a href='function.mkdir'>function.mkdir</a>]: No such file or directory in imagecache_build_derivative() (line 604 of /var/aegir/platforms/23089-fvzv-6.26.1/sites/all/modules/imagecache/imagecache. |
| [11:53:07] | <alfthecat> | that didnt work |
| [11:53:48] | <bgm> | which user is running that script? aegir or www-data? |
| [11:53:56] | <alfthecat> | what script? |
| [11:54:15] | <bgm> | where does the error message come from? |
| [11:54:41] | <alfthecat> | when i look at a page on the site that holds imagecache presets, I get this error. Or looking at the watchdog |
| [11:55:14] | <bgm> | ok, so www-data can't write to the directory |
| [11:55:29] | <alfthecat> | I think so yeah, |
| [11:56:44] | <bgm> | if (!file_check_directory($dir, FILE_CREATE_DIRECTORY) && !mkdir($dir, 0775, TRUE)) { |
| [11:57:06] | <bgm> | in line 604 of imagecache.module, can do temporarely add a "die($dir);" before that line? |
| [11:57:33] | <bgm> | (to know exactly which path is not having the right permissions) |
| [11:57:38] | <alfthecat> | how would that look exactly? |
| [11:58:00] | <bgm> | die($dir); |
| [11:58:44] | <bgm> | this will output to everyone, btw, so maybe not ideal on a high traffic site |
| [11:58:58] | <bgm> | you can also use: |
| [11:59:04] | <bgm> | drupal_set_message($dir); |
| [11:59:10] | <bgm> | (if drupal is rendering pages) |
| [11:59:14] | <alfthecat> | ok ill use the latter |
| [11:59:50] | <alfthecat> | verifying again to propagate this |
| [12:00:12] | <bgm> | hum, you could have done it directly on the slave? |
| [12:00:28] | <bgm> | you will probably want to remove it as soon as you have the output |
| [12:00:31] | <alfthecat> | Im not sure anymore, for nothing I did there worked |
| [12:00:41] | <alfthecat> | ok im trying to get the output now |
| [12:02:34] | <alfthecat> | it now seems to be able to create the directories, but I still get the 'Failed generating an image..." error but no additional info |
| [12:03:32] | <bgm> | does it show a warning with a path ? |
| [12:03:57] | <alfthecat> | ok, the folder it created (/imagecache/xxx) is automatically owned by www-data. Both group and owner and it is set to 2775 |
| [12:03:59] | * wroxbox has joined #aegir |
| [12:04:18] | <bgm> | ah, i didn't see that it actually says the $dir in the error message.. according to the code :) |
| [12:04:33] | <alfthecat> | yeah it gives the path to where it wanted to generate the image |
| [12:04:54] | <alfthecat> | intuitively, I would presume now that setting the owner to Aegir should do the trick |
| [12:05:06] | <alfthecat> | and maybe 0775 |
| [12:05:38] | <bgm> | i think the 2 in 2775 is for group setgid |
| [12:05:57] | <alfthecat> | yeah true. however, it didnt work |
| [12:05:58] | <bgm> | so if your dir is aegir.www-data, when www-data creates files in there, they will be owned correctly |
| [12:06:16] | <bgm> | yeah, because of the restore probably |
| [12:06:40] | <alfthecat> | dont know. Its gonna be daylight soon |
| [12:07:09] | <bgm> | :) |
| [12:07:11] | <alfthecat> | the folder now gets created, but imagecache cannot put files in there |
| [12:07:31] | <alfthecat> | If i change the owner to aegir, and set the permissions to 755 it still doesnt work |
| [12:08:30] | <alfthecat> | I have now set the imagecache folder to 777 and it still is not working |
| [12:09:32] | <alfthecat> | Failed generating an image from pictures/picture-2548.jpg using imagecache preset |
| [12:09:46] | <alfthecat> | Im now looking at the pictures dir, chmodding it to 777 recursive |
| [12:10:16] | <alfthecat> | still not working |
| [12:13:28] | <bgm> | does imagecache give you the full path when it outputs the warning? |
| [12:14:27] | <alfthecat> | when it refers to the location it does, including http. In the messages it just says "pictures/picture-2548.jpg" |
| [12:16:37] | <alfthecat> | would this be solvable if I migrate the site back to the main server? |
| [12:18:06] | <bgm> | probably |
| [12:18:21] | <bgm> | it should be straight forward usually, but maybe we're not checking for the permissions on the right directory.. |
| [12:18:36] | <bgm> | hard to say from where i am.. |
| [12:19:19] | <bgm> | + i know it's not the time to say this, but there's a reason why here is a new Aegir version.. 1.7 and 1.8 had a ton of bugfixes |
| [12:19:36] | <alfthecat> | I really don't know. But I have really been attacking this since 11pm yesterday, straight. That is 5 hours uninterrupted. I have tried every possible permission |
| [12:20:29] | <alfthecat> | yeah I know, but I killed aegir once when upgrading and that was a pain. So im a bit scared to update, untill I have more servers to make backups and such. So that is where I am now and that seems to fail. |
| [12:20:48] | <bgm> | sysadmin rule: never do upgrades/maintenance on a friday :/ |
| [12:21:35] | <bgm> | (a bug will either ruin your weekend, or no one will notice until monday) |
| [12:21:45] | <alfthecat> | So now I need to get the site back, win time to upgrade aegir, pray the upgrade goes ok, and then return to this issue. Point taken, no more friday plumbing :) Believe it or not, including preparations, today I've clocked over 16 hours |
| [12:21:59] | <alfthecat> | this bug they're gonna notice |
| [12:23:12] | <bgm> | yeah, sorry, i know how it is, i have done my part of havoc on upgrades :) |
| [12:24:18] | <alfthecat> | yeah and im now at a point where i cant afford to lose sites. but using several servers is not an option now either i guess. So i'll have to think of a strategy to secure my backups. Probably local i guess |
| [12:24:27] | <bgm> | in other circumstances, i would have offered to ssh to your server, if your security allows it, but right now i am on a crappy cell phone |
| [12:25:08] | <alfthecat> | im already soooo grateful for your assistance. no worries! |
| [12:26:02] | <bgm> | :) |
| [12:31:20] | <alfthecat> | im gzipping the /files folder as the aegir user, to download them into the new site on the new codebase on the master, and extract them as the aegir user. would that be a good idea? |
| [12:31:37] | * gusaus has quit (Quit: gusaus) |
| [12:33:30] | <bgm> | should work. is the domain name changing? |
| [12:34:00] | <bgm> | (aegir does stuff when the domain name changes, because drupal stores files paths with domain name in the {files} table, + some variable) |
| [12:35:04] | <alfthecat> | no domain name stays the same. It'll migrate the contents of the /files dir off course, i forgot that. getting a bit hard to think straight atm |
| [12:47:46] | * patcon has quit (Ping timeout: 246 seconds) |
| [12:53:26] | <alfthecat> | migration in progress |
| [12:57:42] | <alfthecat> | OK, straight after the migration (havent touched ANYTHING, images are back |
| [12:57:56] | <alfthecat> | how about them apples? ;) |
| [12:57:56] | <alfthecat> | but seriously |
| [12:58:08] | <alfthecat> | how did that happen? |
| [13:08:58] | * kylemathews has joined #aegir |
| [13:10:20] | * Vertice has joined #aegir |
| [13:14:49] | * kylemathews has quit (Ping timeout: 244 seconds) |
| [13:19:32] | <alfthecat> | bgm: thanks again for your support, the saga will continue but for now the crisis is under control and I'm gonna get some sleep. Thx!!! |
| [13:20:06] | * alfthecat has left #aegir () |
| [13:43:44] | * rovo has joined #aegir |
| [14:08:21] | * steveoliver has quit (Ping timeout: 248 seconds) |
| [14:19:04] | * iribarne has quit (Quit: iribarne) |
| [14:20:58] | * iribarne has joined #aegir |
| [14:36:00] | * wamilton has joined #aegir |
| [15:21:01] | * rovo has quit (Remote host closed the connection) |
| [15:26:12] | * iribarne has quit (Quit: iribarne) |
| [15:33:02] | * obicke has quit (Quit: Leaving.) |
| [15:33:34] | * EclipseGc has quit (Quit: EclipseGc) |
| [16:03:00] | * steveoliver has joined #aegir |
| [16:55:59] | * steveoliver has quit (Ping timeout: 256 seconds) |
| [17:02:28] | * AquaticDisorder has joined #aegir |
| [17:48:28] | * Pasqualle has joined #aegir |
| [18:05:18] | * Pasqualle has quit (Ping timeout: 244 seconds) |
| [18:08:44] | * zorki has joined #aegir |
| [18:32:27] | * Pasqualle has joined #aegir |
| [18:36:17] | * wamilton has quit (Ping timeout: 252 seconds) |
| [18:38:43] | * Devyd has joined #aegir |
| [18:48:16] | * wroxbox_ has joined #aegir |
| [19:02:21] | * Pasqualle has quit (Ping timeout: 256 seconds) |
| [19:04:05] | * wroxbox_ has quit (Remote host closed the connection) |
| [20:03:29] | * David_Hernandez has joined #aegir |
| [20:25:35] | * Devyd has quit (Ping timeout: 260 seconds) |
| [20:25:53] | * Devyd has joined #aegir |
| [20:30:47] | * Devyd has quit (Ping timeout: 265 seconds) |
| [20:31:02] | * Devyd has joined #aegir |
| [20:39:53] | * ivanjaros has joined #aegir |
| [20:40:22] | * attiks|away has joined #aegir |
| [20:53:18] | * zorki has quit (Quit: quit) |
| [21:37:48] | * rovo has joined #aegir |
| [21:48:54] | * attiks|away has quit (Quit: ChatZilla 0.9.88.2 [Firefox 12.0/20120420145725]) |
| [22:21:27] | * Egyptian[Laptop] has quit (Ping timeout: 244 seconds) |
| [23:00:15] | * alberto56 has joined #aegir |
| [23:12:32] | * alberto56 has quit (Quit: This computer has gone to sleep) |
| [23:46:53] | * EclipseGc has joined #aegir |
| [23:48:43] | * zombiebeard has joined #aegir |
| [00:12:03] | * drakythe has joined #aegir |
| [00:15:59] | * fatguylaughing has joined #aegir |
| [00:16:54] | * fatguylaughing has quit (Client Quit) |
| [00:17:00] | * cdracars has joined #aegir |
| [00:17:28] | * fatguylaughing has joined #aegir |
| [00:20:17] | * cdracars has quit (Client Quit) |
| [00:31:55] | * EclipseGc has quit (Quit: EclipseGc) |
| [00:34:11] | * alfthecat has joined #aegir |
| [00:49:40] | * zorki has joined #aegir |
| [00:51:25] | <alfthecat> | bgm: thanx again for helping me last night. gonna attack the problem with a fresh brains today :) |
| [00:53:01] | * Egyptian[Laptop] has joined #aegir |
| [01:06:37] | * wamilton has joined #aegir |
| [01:13:56] | * Pasqualle has joined #aegir |
| [01:28:35] | * steveoliver has joined #aegir |
| [01:36:51] | * zorki_ has joined #aegir |
| [01:43:13] | * Pasqualle has quit (Ping timeout: 245 seconds) |
| [02:24:41] | * EclipseGc has joined #aegir |
| [02:24:46] | * Devyd has quit (Ping timeout: 252 seconds) |
| [02:35:31] | * kylemathews has joined #aegir |
| [02:36:12] | * Devyd has joined #aegir |
| [03:04:38] | * sviebrock_ has joined #aegir |
| [03:07:12] | <omega8cc> | hefring: tell realityloop - yes, just edit .barracuda.cnf and run it again, however there is one file where the e-mail needs to be updated manually: /etc/apticron/apticron.conf |
| [03:07:12] | <hefring> | omega8cc: 17 hours 20 min ago <realityloop> tell omega8cc whats the quickest way to update the email address that is used by Barracuda, edit .barracuda.conf then run as if doing an update? |
| [03:07:12] | <hefring> | omega8cc: I'll pass that on when realityloop is around. |
| [03:15:04] | * sviebrock_ has quit (Quit: sviebrock_) |
| [03:17:04] | * sviebrock_ has joined #aegir |
| [03:33:18] | * q0rban is now known as qrbn |
| [03:52:46] | * sviebrock_ has quit (Quit: sviebrock_) |
| [04:05:04] | * zombiebeard has quit (Quit: zombiebeard) |
| [04:10:05] | * Devyd has quit (Ping timeout: 248 seconds) |
| [04:12:03] | * Devyd has joined #aegir |
| [04:23:39] | * august1914 has quit (Read error: Connection reset by peer) |
| [04:41:22] | * august1914 has joined #aegir |
| [04:52:31] | * ronia has joined #aegir |
| [04:57:36] | * gusaus has joined #aegir |
| [05:03:14] | * alfthecat has left #aegir () |
| [05:16:10] | * iribarne has joined #aegir |
| [05:22:21] | * cdracars has joined #aegir |
| [05:22:43] | * cdracars has quit (Client Quit) |
| [05:22:51] | * ronia has quit (Quit: ronia) |
| [05:26:17] | * peterr has joined #aegir |
| [05:27:12] | <peterr> | buenas alguien sabe como copiar un sitio de un aegir en un servidor a otro aegir en otro servidor |
| [05:34:18] | * fatguylaughing has quit (Quit: fatguylaughing) |
| [05:35:03] | * fatguylaughing has joined #aegir |
| [05:36:46] | * EclipseGc has quit (Quit: EclipseGc) |
| [05:37:14] | * drakythe has quit (Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/) |
| [05:49:25] | * fatguylaughing has quit (Quit: fatguylaughing) |
| [06:06:05] | * fatguylaughing has joined #aegir |
| [06:10:37] | * EclipseGc has joined #aegir |
| [06:22:12] | <peterr> | hi, as a site may be copied in a aegir server to on another aegir server? |
| [06:26:43] | * fatguylaughing has quit (Quit: fatguylaughing) |
| [06:42:29] | * august1914 has quit (Quit: caio) |
| [06:44:03] | * alfthecat has joined #aegir |
| [07:06:30] | * David_Hernandez has quit (Remote host closed the connection) |
| [07:23:10] | <peterr> | omega8cc: hi |
| [07:38:04] | * gusaus has quit (Quit: gusaus) |
| [07:50:45] | * sviebrock_ has joined #aegir |
| [08:02:31] | * peterr has quit () |
| [08:13:32] | * ivanjaros has quit (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) |
| [08:22:29] | <mvc> | hefring: tell peterr http://community.aegirproject.org/content/migrate-sites-one-aegir-another |
| [08:22:29] | <hefring> | mvc: I'll pass that on when peterr is around. |
| [08:23:15] | * sviebrock_ has quit (Quit: sviebrock_) |
| [08:36:43] | * wamilton has quit (Ping timeout: 245 seconds) |
| [08:44:20] | * Vertice has quit (Quit: Vertice) |
| [08:50:33] | * alfthecat has left #aegir () |
| [08:50:40] | * zorki has quit (Quit: quit) |
| [08:50:41] | * zorki_ is now known as zorki |
| [08:56:38] | * steveoliver has quit (Ping timeout: 240 seconds) |
| [09:05:01] | * sviebrock has joined #aegir |
| [09:26:48] | * AquaticDisorder has quit (Read error: Connection reset by peer) |
| [09:33:42] | * EclipseGc has quit (Remote host closed the connection) |
| [09:34:02] | * EclipseGc has joined #aegir |
| [09:36:53] | * sviebrock has quit (Quit: sviebrock) |