Gomertronic Gomertronic
  • Login
Welcome to the Gomertronic StatusNet site, home of the bearded monkey! Accounts are available, but invite only to prevent spammers. Let me know if you want an account.
  • Public

    • Public
    • Groups
    • Recent tags
    • Popular
    • Directory

Conversation

Notices

  1. Daniel Martí Daniel Martí

    I subscribe to two people. Fastcgi crashes. Instance down. init.d reload. Up again. This is going to be such fun!

    Tuesday, 03-Jan-12 16:20:00 UTC from identi.ca at 41°23'19"N 2°9'32"E
    • Psychedelic Squid Psychedelic Squid

      Sounds a little problematic.

      Tuesday, 03-Jan-12 16:22:11 UTC
    • Daniel Martí Daniel Martí Psychedelic Squid

      I use nginx, which doesn't crash. Nevertheless, the external cgi daemon did for some reason.

      Tuesday, 03-Jan-12 16:24:01 UTC
    • Psychedelic Squid Psychedelic Squid

      Yep, I was using it as well, but I had significant problems making SN behave with my system, so I eventually moved to @windigo‘s instance.

      Tuesday, 03-Jan-12 16:26:26 UTC
    • Psychedelic Squid Psychedelic Squid

      It’s good that people are succeeding with nginx-based instances, but something I did with mine was evidently not the correct thing. :(

      Tuesday, 03-Jan-12 16:27:24 UTC
    • Daniel Martí Daniel Martí Psychedelic Squid

      I have set up nginx wrong sooo many times already. It seems stable now.

      Tuesday, 03-Jan-12 16:29:43 UTC
    • Jeff Ratliff Jeff Ratliff Psychedelic Squid

      Makes me glad I stuck with apache. It's boring, but it works.

      Tuesday, 03-Jan-12 16:31:16 UTC
    • jonkulp jonkulp Jeff Ratliff

      @gomerx any chance you could change your avatar again for testing? Such an annoying problem I'm having...

      Tuesday, 03-Jan-12 16:35:19 UTC
    • Psychedelic Squid Psychedelic Squid Jeff Ratliff

      Oh, don’t get me wrong, nginx is reliable, and pretty easy to configure. It’s that intersection with SN (and me) that was the problem.

      Tuesday, 03-Jan-12 16:36:22 UTC
    • Sander Sander Jeff Ratliff

      @gomerx you're boring

      Tuesday, 03-Jan-12 16:40:39 UTC
    • Jeff Ratliff Jeff Ratliff Sander

      Yes. But I don't crash often.

      Tuesday, 03-Jan-12 16:42:15 UTC
    • Jeff Ratliff Jeff Ratliff jonkulp

      OK. Changed. I don't believe I've used this one before.

      Tuesday, 03-Jan-12 16:45:42 UTC
    • Jeff Ratliff Jeff Ratliff Psychedelic Squid

      Right. I decided to use the more tested setup first. Plus I already know apache quite well.

      Tuesday, 03-Jan-12 16:46:50 UTC
    • jonkulp jonkulp Jeff Ratliff

      @gomerx Woohoo!!! I see you!!

      Tuesday, 03-Jan-12 16:49:38 UTC
    • Psychedelic Squid Psychedelic Squid Sander

      You’re a crash.

      Tuesday, 03-Jan-12 16:50:35 UTC
    • jonkulp jonkulp IdentiCurse , Jeff Ratliff

      @gomerx but you know if I'd just stick to !identicurse this whole "avatar problem" wouldn't be a problem at all haha!

      Tuesday, 03-Jan-12 16:50:40 UTC
    • Sander Sander Jeff Ratliff

      @gomerx I crash every night

      Tuesday, 03-Jan-12 16:50:43 UTC
    • x1101 x1101 Jeff Ratliff

      @gomerx just an update, I can’t see your avatar (from #Fragdev/#Heybuddy) since your change.

      Tuesday, 03-Jan-12 16:50:52 UTC
    • ⒿⓅⓄⓅⒺ ⒿⓅⓄⓅⒺ Psychedelic Squid

      I recently tried to setup SN on nginx on a EC2 instance. Failed miserably. Gave up and played with MediaGoblin instead. ;) media.jpope.org

      Tuesday, 03-Jan-12 16:51:51 UTC
    • Sander Sander Psychedelic Squid

      @psquid you're a psycho squid

      Tuesday, 03-Jan-12 16:51:54 UTC
    • jonkulp jonkulp Jeff Ratliff

      @gomerx maybe there's just a problem going *back* to old avatars. Wonder if you renamed original one, then uploaded it as avatar wd it work?

      Tuesday, 03-Jan-12 16:52:04 UTC
    • Jeff Ratliff Jeff Ratliff Sander

      That's because you spend so much time playing with your configuration before you go to bed.

      Tuesday, 03-Jan-12 16:52:53 UTC
    • Charles Roth Charles Roth IdentiCurse , jonkulp , Jeff Ratliff

      @jonkulp maybe you could download a pic of @gomerx as your desktop wallpaper? :)

      Tuesday, 03-Jan-12 16:52:55 UTC
    • ⒿⓅⓄⓅⒺ ⒿⓅⓄⓅⒺ IdentiCurse , jonkulp

      Not until we have ascii avatars. :P

      Tuesday, 03-Jan-12 16:53:16 UTC
    • Psychedelic Squid Psychedelic Squid IdentiCurse , ⒿⓅⓄⓅⒺ

      Or “asciitars” for short.

      Tuesday, 03-Jan-12 16:55:06 UTC
    • jonkulp jonkulp IdentiCurse , Charles Roth

      @parlementum well I don't really have a desktop in openbox but if I did...

      Tuesday, 03-Jan-12 16:55:06 UTC
    • Jeff Ratliff Jeff Ratliff x1101

      Which is the problem. Everytime I update my avatar to fix one instance, it breaks another one.

      Tuesday, 03-Jan-12 16:55:19 UTC
    • Jeff Ratliff Jeff Ratliff IdentiCurse , jonkulp

      Yes.

      Tuesday, 03-Jan-12 16:55:31 UTC
    • sazius sazius Jeff Ratliff

      I got your new avatar immediately as well. Seems running daemons as root works. Still confused as to why.

      Tuesday, 03-Jan-12 16:56:21 UTC
    • Sander Sander Jeff Ratliff

      @gomerx Is that another name for it? I never heard of that.

      Tuesday, 03-Jan-12 16:59:28 UTC
    • x1101 x1101 Jeff Ratliff

      @gomerx likely because the ones that break have the avatar you remove cached and have not yet applied you discovered fixes.

      Tuesday, 03-Jan-12 17:00:38 UTC
    • Jeff Ratliff Jeff Ratliff Sander

      This is a family show. I was trying to be discreet.

      Tuesday, 03-Jan-12 17:00:55 UTC
    • x1101 x1101 Jeff Ratliff

      @gomerx wait, that avatar I see, but as your old one. did you change back?

      Tuesday, 03-Jan-12 17:01:47 UTC
    • Jeff Ratliff Jeff Ratliff x1101

      Makes me wonder why StatusNet switches to a default avatar rather than just using the last known good one.

      Tuesday, 03-Jan-12 17:01:53 UTC
    • Jeff Ratliff Jeff Ratliff x1101

      Yes. I just changed back.

      Tuesday, 03-Jan-12 17:02:47 UTC
    • x1101 x1101 Jeff Ratliff

      @gomerx looks like. When your avatar is not found, I get the default pawn looking figure

      Tuesday, 03-Jan-12 17:03:31 UTC
    • Jeff Ratliff Jeff Ratliff jonkulp , Jeff Ratliff

      And my avatar is fixed on @jonkulp's instance also. My work here is done.

      Tuesday, 03-Jan-12 17:03:58 UTC
    • ⒿⓅⓄⓅⒺ ⒿⓅⓄⓅⒺ Jeff Ratliff

      And I managed to see every change you made. #shrug

      Tuesday, 03-Jan-12 17:05:09 UTC
    • jonkulp jonkulp Jeff Ratliff

      @gomerx Wow! You're really back! I missed what you did...

      Tuesday, 03-Jan-12 17:05:38 UTC
    • Jeff Ratliff Jeff Ratliff ⒿⓅⓄⓅⒺ

      Yes.

      Tuesday, 03-Jan-12 17:06:49 UTC
    • Jeff Ratliff Jeff Ratliff jonkulp

      Nothing. Just changed avatars. Your instance decided to pick up the change.

      Tuesday, 03-Jan-12 17:07:38 UTC
    • sazius sazius Jeff Ratliff

      @gomerx And your change back made it safely to my instance as well. Everything has worked perfectly since switching to root-owned daemons.

      Tuesday, 03-Jan-12 17:13:46 UTC
    • Jeff Ratliff Jeff Ratliff sazius

      Now if we could figure out why the change broke fragdev...

      Tuesday, 03-Jan-12 17:14:35 UTC
    • laurelrusswurm laurelrusswurm Identi.ca , Jeff Ratliff , Identi.ca Support

      @gomerx Your avatar does not appear on !identica @support (and you aren't the only one)

      Tuesday, 03-Jan-12 17:24:28 UTC
    • bavatar bavatar laurelrusswurm , Evan Prodromou

      @laurelrusswurm @evan wrote something yesterday evening IIRC that he has landed on the beach and is looking into the avatar thing ;-)

      Tuesday, 03-Jan-12 17:31:41 UTC
    • Jeff Ratliff Jeff Ratliff laurelrusswurm

      Yes. It's a known problem. You probably can't change your own avatar either.

      Tuesday, 03-Jan-12 17:32:34 UTC
    • march march Identi.ca , Jeff Ratliff , laurelrusswurm

      @laurelrusswurm @gomerx what @bavatar said -> https://evan.status.net/notice/1334923

      Tuesday, 03-Jan-12 17:37:51 UTC
    • laurelrusswurm laurelrusswurm Jeff Ratliff

      @gomerx I decided a long time ago to have one static avatar. I find it easier to recognize who I am talking to when avatars stay the same.

      Tuesday, 03-Jan-12 17:38:05 UTC
    • Satipera Satipera laurelrusswurm

      @Laurelrusswurm Ditto, I have also been known to moan at people I follow who do not have avatars.

      Tuesday, 03-Jan-12 17:39:57 UTC
    • tekk tekk laurelrusswurm

      that's a good idea, mine is just because of #laziness(don't feel like making a new one)

      Tuesday, 03-Jan-12 17:40:58 UTC
    • sazius sazius Jeff Ratliff

      @gomerx perhaps fragdev has the same avatar user/group setup that I had?

      Tuesday, 03-Jan-12 17:43:12 UTC
    • Jeff Ratliff Jeff Ratliff sazius

      I'd thinking that since you initially ran daemons as root then changed, later daemons couldn't over-write them.

      Tuesday, 03-Jan-12 17:46:38 UTC
    • Jeff Ratliff Jeff Ratliff sazius

      Anyone who started as root then later followed your tutorial would have this problem (if that's the problem).

      Tuesday, 03-Jan-12 17:47:22 UTC
    • Satipera Satipera tekk

      @Tekk How about as a compromise you just use a CC image you like which will take 2 mins and then make one should you feel the inclination?

      Tuesday, 03-Jan-12 17:49:15 UTC
    • sazius sazius Jeff Ratliff

      @gomerx I'm pretty sure that wasn't the case since I did check that all files in avatar dir had rw access to www-data. And dir itself.

      Tuesday, 03-Jan-12 17:49:19 UTC
    • Jeff Ratliff Jeff Ratliff laurelrusswurm

      That would be great, except when my avatar doesn't show up, people want me to change it to fix the problem... which breaks other instances.

      Tuesday, 03-Jan-12 17:49:46 UTC
    • sazius sazius Jeff Ratliff

      @gomerx I even took a "Permission denied" line from log, and su www-data and ran the same command manually, and that worked.

      Tuesday, 03-Jan-12 17:50:05 UTC
    • tekk tekk Satipera

      the cropping still takes work ;) (this image is cc-by-sa 3.0 like the rest of my dent stuff, btw)

      Tuesday, 03-Jan-12 17:57:53 UTC
    • sazius sazius Jeff Ratliff

      @gomerx to make this more concrete this was the error I got: http://saz.im/log_warning

      Tuesday, 03-Jan-12 17:59:30 UTC
    • laurelrusswurm laurelrusswurm bavatar , Evan Prodromou , march , tekk

      @tekk can't you just copy-paste from your old identica avatar? (after @evan has it fixed, that is - thx @march and @bavatar)

      Tuesday, 03-Jan-12 18:02:04 UTC
    • Jeff Ratliff Jeff Ratliff sazius

      I'm confused when I read that PHP code around the rename function. Looks more like a move than a rename to me.

      Tuesday, 03-Jan-12 18:08:10 UTC
    • Jeff Ratliff Jeff Ratliff sazius

      Also, before you ran the rename command, did you check to see if the avatar was owned by root or www-data? May have got fixed some other way

      Tuesday, 03-Jan-12 18:11:42 UTC
    • sazius sazius Jeff Ratliff

      @gomerx No, that is one thing I thought about, but never checked. It is possible it was owned by root at that point and later got chown'ed.

      Tuesday, 03-Jan-12 18:14:54 UTC
    • sazius sazius Jeff Ratliff

      @gomerx But after queuedaemon failed to rename it, it was owned by www-data.

      Tuesday, 03-Jan-12 18:15:34 UTC
    • Jeff Ratliff Jeff Ratliff sazius

      But per the error message you posted, once the quedaemon failed to rename it, it didn't exist. That's why the chmod failed.

      Tuesday, 03-Jan-12 18:17:08 UTC
    • tekk tekk laurelrusswurm

      oh yes, this IS my old identica avatar.

      Tuesday, 03-Jan-12 18:18:55 UTC
    • Jeff Ratliff Jeff Ratliff sazius

      It looks like the first line is where the problem is. The temp file doesn't get moved to the avatar directory because of "Permission denied"

      Tuesday, 03-Jan-12 18:19:13 UTC
    • sazius sazius Jeff Ratliff

      @gomerx OTOH the tmp file is created just a few line before that in same script (Ostatus_profile.php). Can't be owned by root.

      Tuesday, 03-Jan-12 18:20:04 UTC
    • sazius sazius Jeff Ratliff

      @gomerx I mean the /tmp-file was owned by www-data. Sorry, I'm being unclear. I'm blaming the 140 char limit :)

      Tuesday, 03-Jan-12 18:21:43 UTC
    • Jeff Ratliff Jeff Ratliff sazius

      To be clear, when you did the rename, you where running the PHP script? If you use /usr/bin/rename to do this, it fails silently.

      Tuesday, 03-Jan-12 18:23:31 UTC
    • Jeff Ratliff Jeff Ratliff sazius

      You can not rename a file from one directory to another with /usr/bin/rename. That's a move.

      Tuesday, 03-Jan-12 18:24:09 UTC
    • sazius sazius Jeff Ratliff

      @gomerx Yep, exactly. And since tmp file is still there I was able to try do the rename/move manually, which worked fine => me confuse.

      Tuesday, 03-Jan-12 18:24:28 UTC
    • sazius sazius Jeff Ratliff

      @gomerx I tried both with mv and then with a php script containing just the php rename command.

      Tuesday, 03-Jan-12 18:26:33 UTC
    • sazius sazius Jeff Ratliff

      @gomerx there's also the C function rename (2) which is basically mv. Except it might not work across partitions (?).

      Tuesday, 03-Jan-12 18:27:47 UTC
    • laurelrusswurm laurelrusswurm Identi.ca , tekk

      @tekk what I see is the chess pawn that is the new !identica "no avatar" default

      Tuesday, 03-Jan-12 18:27:53 UTC
    • Jeff Ratliff Jeff Ratliff sazius

      But if you do it manually using a different method (mv), then the results are irellevant.

      Tuesday, 03-Jan-12 18:30:47 UTC
    • Jeff Ratliff Jeff Ratliff sazius

      The reason the php command succeeded may be that you fixed the problem with mv.

      Tuesday, 03-Jan-12 18:33:18 UTC
    • sazius sazius Jeff Ratliff

      @gomerx Rename in PHP is basically the same as shell mv (or C rename). But I also tried it with PHP rename directly. Worked fine as well.

      Tuesday, 03-Jan-12 18:34:59 UTC
    • sazius sazius Jeff Ratliff

      @gomerx I tried with different files of course :) I had many of those "Permission denied" errors :)

      Tuesday, 03-Jan-12 18:35:57 UTC
    • x1101 x1101 jonkulp , Jeff Ratliff , sazius

      @gomerx probably because @windigo hasn’t made the undocumented fixes that you gents have @sazius @jonkulp

      Tuesday, 03-Jan-12 18:38:03 UTC
    • tekk tekk laurelrusswurm

      I'm thinking it's an #identica thing. I see peoples' avatars just fine.

      Tuesday, 03-Jan-12 18:40:03 UTC
    • laurelrusswurm laurelrusswurm tekk

      @tekk yes.

      Tuesday, 03-Jan-12 18:42:55 UTC
    • ⒿⓅⓄⓅⒺ ⒿⓅⓄⓅⒺ x1101

      How can it be considered ‘hacking’ if we document everything? :P

      Tuesday, 03-Jan-12 18:45:19 UTC
    • jonkulp jonkulp ⒿⓅⓄⓅⒺ , x1101

      @jpope @x1101 says "undocumented fixes" as if it's a bad thing. ;)

      Tuesday, 03-Jan-12 18:53:50 UTC
    • x1101 x1101 jonkulp

      @jonkulp I do indeed.

      Tuesday, 03-Jan-12 18:56:24 UTC
    • jonkulp jonkulp x1101

      @x1101 do they become ok after they're documented?

      Tuesday, 03-Jan-12 18:59:29 UTC
    • x1101 x1101 jonkulp

      @jonkulp verily. Its not fixed if you’re the only one who can fix it.

      Tuesday, 03-Jan-12 19:01:09 UTC
    • jonkulp jonkulp x1101

      @x1101 actually I'm pretty sure I've changed everything back to the way it was before today's flurry of activity.

      Tuesday, 03-Jan-12 19:01:13 UTC
    • sazius sazius x1101

      @x1101 as far as I can remember all my "fixes" are documented on my wiki :)

      Tuesday, 03-Jan-12 19:03:57 UTC
    • x1101 x1101 sazius

      @sazius I don’t even run my own instance (yet, I am considering it), I am just interested in helping create a good !feds documentation repo

      Tuesday, 03-Jan-12 19:04:32 UTC
    • jonkulp jonkulp jonkulp , Jeff Ratliff

      @jonkulp well, everything except changing the SN tree's ownership as per @gomerx's suggestion.

      Tuesday, 03-Jan-12 19:05:09 UTC
    • Charles Roth Charles Roth x1101

      @x1101 that would be wonderful. I Will post some stuff and send you the link if I may?

      Tuesday, 03-Jan-12 19:07:15 UTC
    • sazius sazius x1101

      @x1101 That is a good idea. ATM everyone has got their own blog posts, wikis etc. spread out.

      Tuesday, 03-Jan-12 19:08:13 UTC
    • x1101 x1101 Charles Roth

      @parlementum I think you have to be signed in to post (I dont remember). If you have any issues, let me know.

      Tuesday, 03-Jan-12 19:14:13 UTC
    • x1101 x1101 sazius

      @sazius yeah. I am trying to spread the word throughout the !feds to pass links my way. Even if my wiki is just a collection of links.

      Tuesday, 03-Jan-12 19:14:57 UTC
    • Charles Roth Charles Roth x1101

      @x1101 where are we posting? the sn wiki?

      Tuesday, 03-Jan-12 19:16:50 UTC
    • x1101 x1101 Charles Roth

      @parlementum I have my own collection of stuff @ wiki.x1101.net

      Tuesday, 03-Jan-12 19:19:29 UTC
    • sazius sazius x1101

      @x1101 yeah, even a collection of useful links is an improvement at this point. I try to document what I'm doing at least on my own wiki.

      Tuesday, 03-Jan-12 19:21:35 UTC
    • Charles Roth Charles Roth x1101

      @x1101 ok, I'll add a commented config, and a few tips I learned.

      Tuesday, 03-Jan-12 19:25:20 UTC
    • jonkulp jonkulp sazius , x1101

      @sazius I don't think I've done any config I did not read about at one of the places listed on @x1101's wiki. This is a good resource. :)

      Tuesday, 03-Jan-12 19:25:23 UTC
    • x1101 x1101 jonkulp

      @jonkulp I am little more than a curator. @windigo and @gnomerx have done a lionshare of the work.

      Tuesday, 03-Jan-12 19:38:59 UTC
    • sazius sazius Jeff Ratliff

      @gomerx I just might have found the problem: php rename() in safe-mode wants dirs to have same owner as script: http://ur1.ca/77g46

      Tuesday, 03-Jan-12 19:46:52 UTC
    • sazius sazius Jeff Ratliff

      @gomerx My target dir (avatar) was owned by root, www-data group had write access though. Not enough for safe-mode apparently.

      Tuesday, 03-Jan-12 19:48:03 UTC
    • jonkulp jonkulp x1101

      @x1101 s/gnomerx/gomerx/ :)

      Tuesday, 03-Jan-12 20:07:25 UTC
    • windigo windigo Psychedelic Squid

      Hah, from bad to worse! ;)

      Wednesday, 04-Jan-12 02:44:16 UTC
    • windigo windigo x1101

      Bah, fixes are overrated…

      Wednesday, 04-Jan-12 02:48:53 UTC
Cornify

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Gomertronic is a microblogging service brought to you by Gomer_X. It runs the StatusNet microblogging software, version 1.0.1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Gomertronic content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.