You are not logged in.
LeeF wrote:maxi_jac wrote:Hi
If someone gets it to work through apache in a subdirectory let me know please !
I managed to get it to work by adapting these instructions, however, I'm not sure if running it like this gives you access to the realtime websocket based features of Diaspora.
http://github.com/diaspora/diaspora/wik … buntu-LAMPI've tried that, but the root of Diaspora is conflicting with my /srv/http root.
To be clear : I host a statusnet install at /srv/http/statusnet. I'd like diaspora to be called from server.com/diaspora or at least server/ but with server/statusnet still working which is not the case, Whatever I do the ruby web server takes the whole apache for itself...
Try a name based virtual host in apache, so diaspora.server.com or whatever, that should get it working.
\ˈlēf\
ArchLinux ---- Because I don't mind reaching under my penguin's skirt and twiddling about to make her behave.
Offline
Diaspora now works with ruby 1.9 from the repos.
http://www.joindiaspora.com/2010/09/27/ … -week.html
No problems here as well.
Offline
what is the package mongodb/mogodb? i can not find it anywhere :-(
Last edited by Labello (2010-10-27 17:46:52)
"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations
Offline
Hmmm... I did a quick search and couldn't find it either, but this AUR package should work.
Offline
you should update yaourt. after the update it could find all needed packages.
now i got diaspora running, but it is on a headless server. but when i connect with:
http://server-host-name:3000
from a machine in local network nothing happens. chrome says that it could not connect :-(
"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations
Offline
*bump*
"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations
Offline
Try checking your /etc/hosts.allow file (on the server), if your using port 3000, then the appropriate service name is hbci... So create a rule like:
hbci : 192.168.0.0/255.255.0.0
Make sure to modify your subnet info accordingly, and if your wondering where I found the service name, it's located in /etc/services
Hope this helps get you sorted.
\ˈlēf\
ArchLinux ---- Because I don't mind reaching under my penguin's skirt and twiddling about to make her behave.
Offline
Thanks!
This is working now!
This rocks!
"They say just hold onto your hope but you know if you swallow your pride you will choke"
Alexisonfire - Midnight Regulations
Offline
cd diaspora
bundle install
Fetching git://github.com/zhitomirskiyi/devise_invitable.git
remote: Counting objects: 1188, done.
remote: Compressing objects: 100% (510/510), done.
remote: Total 1188 (delta 604), reused 1099 (delta 545)
Receiving objects: 100% (1188/1188), 142.40 KiB | 94 KiB/s, done.
Resolving deltas: 100% (604/604), done.
Fetching git://github.com/jnunemaker/twitter.git
remote: Counting objects: 5814, done.
remote: Compressing objects: 100% (2191/2191), done.
remote: Total 5814 (delta 3859), reused 5267 (delta 3469)
Receiving objects: 100% (5814/5814), 1.69 MiB | 232 KiB/s, done.
Resolving deltas: 100% (3859/3859), done.
Fetching git://github.com/Empact/roxml.git
remote: Counting objects: 4397, done.
remote: Compressing objects: 100% (1564/1564), done.
remote: Total 4397 (delta 2748), reused 4364 (delta 2727)
Receiving objects: 100% (4397/4397), 613.94 KiB | 136 KiB/s, done.
Resolving deltas: 100% (2748/2748), done.
Fetching git://github.com/iain/http_accept_language.git
remote: Counting objects: 133, done.
remote: Compressing objects: 100% (79/79), done.
remote: Total 133 (delta 55), reused 117 (delta 47)
Receiving objects: 100% (133/133), 16.63 KiB, done.
Resolving deltas: 100% (55/55), done.
Fetching git://github.com/igrigorik/em-websocket
remote: Counting objects: 773, done.
remote: Compressing objects: 100% (408/408), done.
remote: Total 773 (delta 390), reused 666 (delta 333)
Receiving objects: 100% (773/773), 120.21 KiB | 156 KiB/s, done.
Resolving deltas: 100% (390/390), done.
Fetching source index for http://rubygems.org/
Enter your password to install the bundled RubyGems to your system:
Using rake (0.8.7)
Installing abstract (1.0.0)
Installing activesupport (3.0.3)
Installing builder (2.1.2)
Installing i18n (0.5.0)
Installing activemodel (3.0.3)
Installing erubis (2.6.6)
Installing rack (1.2.1)
Installing rack-mount (0.6.13)
Installing rack-test (0.5.7)
Installing tzinfo (0.3.24)
Installing actionpack (3.0.3)
Installing mime-types (1.16)
Installing polyglot (0.3.1)
Installing treetop (1.4.9)
Installing mail (2.2.15)
Installing actionmailer (3.0.3)
Installing arel (2.0.9)
Installing activerecord (3.0.3)
Installing activeresource (3.0.3)
Installing addressable (2.2.2)
Installing archive-tar-minitar (0.5.2)
Installing http_connection (1.4.0)
Installing uuidtools (2.1.2)
Installing xml-simple (1.0.14)
Installing aws (2.3.32)
is it supposed to stuck here for 30+ min?
using ruby 1.9.2
any idea what I did wrong?
Offline
well i got past that but now it looks like some dependency is missing
Using ruby_core_source (0.1.4)
Installing linecache19 (0.5.11) with native extensions /usr/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/usr/bin/ruby extconf.rb
checking for vm_core.h... no
checking for vm_core.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/ruby
--with-ruby-dir
--without-ruby-dir
--with-ruby-include
--without-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/lib
/usr/lib/ruby/1.9.1/fileutils.rb:243:in `mkdir': Permission denied - /usr/include/ruby-1.9.1/ruby-1.9.2-p180 (Errno::EACCES)
from /usr/lib/ruby/1.9.1/fileutils.rb:243:in `fu_mkdir'
from /usr/lib/ruby/1.9.1/fileutils.rb:217:in `block (2 levels) in mkdir_p'
from /usr/lib/ruby/1.9.1/fileutils.rb:215:in `reverse_each'
from /usr/lib/ruby/1.9.1/fileutils.rb:215:in `block in mkdir_p'
from /usr/lib/ruby/1.9.1/fileutils.rb:201:in `each'
from /usr/lib/ruby/1.9.1/fileutils.rb:201:in `mkdir_p'
from /usr/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby_core_source.rb:59:in `block in create_makefile_with_core'
from /usr/lib/ruby/1.9.1/tempfile.rb:320:in `open'
from /usr/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby_core_source.rb:51:in `create_makefile_with_core'
from extconf.rb:20:in `<main>'
Requesting http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.gz
Downloading http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.gz
Gem files will remain installed in /home/avo/.bundler/tmp/9039/gems/linecache19-0.5.11 for inspection.
Results logged to /home/avo/.bundler/tmp/9039/gems/linecache19-0.5.11/ext/trace_nums/gem_make.out
from /usr/lib/ruby/1.9.1/rubygems/installer.rb:486:in `block in build_extensions'
from /usr/lib/ruby/1.9.1/rubygems/installer.rb:446:in `each'
from /usr/lib/ruby/1.9.1/rubygems/installer.rb:446:in `build_extensions'
from /usr/lib/ruby/1.9.1/rubygems/installer.rb:198:in `install'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/source.rb:96:in `install'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/installer.rb:55:in `block in run'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in `block in each'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in `each'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/spec_set.rb:12:in `each'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/installer.rb:44:in `run'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/installer.rb:8:in `install'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/cli.rb:226:in `install'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/vendor/thor/task.rb:22:in `run'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/vendor/thor.rb:246:in `dispatch'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/vendor/thor/base.rb:389:in `start'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/bin/bundle:13:in `<top (required)>'
from /usr/bin/bundle:19:in `load'
from /usr/bin/bundle:19:in `<main>'
Offline
anyone usin' this regularly? I have virtually none of my irl friends on =/. if anyone's lookin' for extra friends check out my profile
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you." -- Bregol
Offline
anyone usin' this regularly? I have virtually none of my irl friends on =/. if anyone's lookin' for extra friends check out my profile
Is that a different setup than https://joindiaspora.com/aspects ?
Offline
if you mean different seed, yes, but again that's how diaspora is supposed to work . you can add anyone from any seed.
Last edited by chris-kun (2011-03-13 07:11:44)
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you." -- Bregol
Offline
[UPDATE] Fixed:)
I have documented my solution here:
https://wiki.archlinux.org/index.php/Us … m#Diaspora
Hi,
I am trying to get diaspora running. I did:
# pacman -S mysql
# yaourt -S diaspora-git (from aur)
and then
# rc.d start diaspora
mysqld, redis and diaspora get started successfully, but
http://localhost:3000
doesn'nt work...
I also tried to set up RoR:
# gem update --system
# gem update
# gem install rails (to install the ruby on the rails framework)
Unfortunately no success neither.
I have tried to follow these instructions
https://github.com/diaspora/diaspora/wi … g-Diaspora
as my mysql database conains test databases only.
Also there are no files in /opt and I don't know how find config files like
config/app.yml
config/database.yml.example
config/redis.yml
Can maybe anybody update the wiki page:)
Cheers
Harm
Last edited by der_harm (2011-05-22 20:08:05)
Offline
Hi
I followed the wiki instructions, (https://wiki.archlinux.org/index.php/Diaspora) but without success; I could'nt connect to localhost:3000, and htop showed a permanent 100% cpu load by diaspora...
Then I tried the wiki instructions by der_harm and now I have the problem, that I can connect but get an "403 Forbidden nginx/1.0.8" error.
The nginx.error log shows
2011/10/29 03:22:17 [error] 6081#0: *1 directory index of "/usr/share/webapps/diaspora/public/" is forbidden, client: 192.168.1.10, server: localhost, request: "GET / HTTP/1.1", host: "icarus:3000"
2011/10/29 03:22:17 [error] 6081#0: *1 directory index of "/usr/share/webapps/diaspora/public/" is forbidden, client: 192.168.1.10, server: localhost, request: "GET / HTTP/1.1", host: "icarus:3000"
2011/10/29 03:22:17 [error] 6081#0: *1 directory index of "/usr/share/webapps/diaspora/public/" is forbidden, client: 192.168.1.10, server: localhost, request: "GET / HTTP/1.1", host: "icarus:3000"
2011/10/29 03:22:17 [error] 6081#0: *1 directory index of "/usr/share/webapps/diaspora/public/" is forbidden, client: 192.168.1.10, server: localhost, request: "GET / HTTP/1.1", host: "icarus:3000"
This is my nginx.conf
#user http;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
# listen 3000
# root /usr/share/webapps/diaspora/public
#
server {
listen 3000;
server_name localhost;
passenger_enabled on;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
passenger_enabled on;
root /usr/share/webapps/diaspora/public;
index index.html index.htm;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/webapps/diaspora/public;
}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;
# location / {
# root html;
# index index.html index.htm;
# }
#}
# HTTPS server
#
#server {
#
# listen 443;
# server_name localhost;
# ssl on;
# ssl_certificate cert.pem;
# ssl_certificate_key cert.key;
# ssl_session_timeout 5m;
# ssl_protocols SSLv2 SSLv3 TLSv1;
# ssl_ciphers HIGH:!aNULL:!MD5;
# ssl_prefer_server_ciphers on;
# location / {
# root html;
# index index.html index.htm;
# }
#}
}
I strictly followed the instructions... So did I something wrong or are the instructions out-of-date? Are there somewhere newer that are working?
Offline