On Sep 15, 9:48 pm, Faulteh <
faul...@gmail.com> wrote:
> Got the preview code server working pretty quickly, but noticed bugs
> where my status updates and photos were not being shown on my friend's
> "news feed" (we're both logged into the same server). However I put
> that aside to check out how easy it would be to get going on an
> Apache2 server.
>
> Anyone else tried to get this developer code working with Apache2 with
> the Passenger RoR module? Some features broke (status updates, photo
> uploads, album creation/deletion), with the following culprit
> identified in the log file:
>
> NoMethodError (undefined method `[]' for nil:NilClass):
> /lib/diaspora/websocket.rb:15:in `push_to_user'
> app/controllers/sockets_controller.rb:17:in `outgoing'
> /lib/diaspora/websocket.rb:45:in `unsocket_from_uid'
> app/models/user.rb:196:in `retract'
> app/models/post.rb:51:in `propogate_retraction'
> app/controllers/albums_controller.rb:29:in `destroy'
>
> Log messages very similar to this appear for all the broked features,
> all sharing the NoMethodError in push_to_user
>
> As far as I could see as I was installing there were no errors
> installing all the ruby gems etc. Perhaps it's a file permission issue
> (something needs to be readble/writable by www-data user?)
>