Questions tagged [webfaction]

Webfaction is a hosting company which offers managed shared or dedicated servers.

Webfaction is an hosting company which offers managed shared or dedicated servers. A very popular feature is the one-click installer for various web frameworks (django, ruby et al.) and services (wordpress, drupal et al.) . Their services are based on SoftLayer's data centers in US, Amsterdam and Singapore.

209 questions
68
votes
6 answers

Cloning a Mercurial repository over SSH

I'm having some difficulty cloning my mercurial repository over ssh. Here's what I have tried: hg clone ssh://username@username.webfactional.com/path/to/projectname projectname It's giving me this error: remote: bash: hg: command not found abort:…
Josh
  • 4,427
  • 5
  • 28
  • 27
38
votes
5 answers

Flask request.remote_addr is wrong on webfaction and not showing real user IP

I just deployed a Flask app on Webfaction and I've noticed that request.remote_addr is always 127.0.0.1. which is of course isn't of much use. How can I get the real IP address of the user in Flask on Webfaction? Thanks!
Ignas Butėnas
  • 6,061
  • 5
  • 32
  • 47
31
votes
3 answers

Setting up Redis on Webfaction

What are the steps required to set up Redis database on Webfaction shared hosting account?
Akseli Palén
  • 27,244
  • 10
  • 65
  • 75
24
votes
6 answers

Django Webfaction 'Timeout when reading response headers from daemon process'

My Django app on my production server hosted on Webfaction was working fine until I just tried to restart it after pushing a change to the settings.py file. I ran apache2/bin/restart as usual. Then I tried to access my app on my browser, and I got…
Nick
  • 1,864
  • 5
  • 27
  • 49
20
votes
11 answers

Choose test database?

I'm trying to run ./manage.py test But it tells me Got an error creating the test database: permission denied to create database Obviously it doesn't have permission to create the database, but I'm on a shared server, so there's not much I can do…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
19
votes
3 answers

Setting Up Node.js on Webfaction

What are the steps required for setting up a Node.js application on Webfaction shared hosting account?
Akseli Palén
  • 27,244
  • 10
  • 65
  • 75
13
votes
1 answer

Django: Postgres connection not closing

I have the problem that my django application accumulates postgres connections over time. It seems that about every 30min a new connection is established and the old connections don't close (see screen). As max connections is set to 100 after some…
ilse2005
  • 11,189
  • 5
  • 51
  • 75
13
votes
3 answers

Why am I getting a "destination path '.' already exists" error when trying clone from my webfaction server?

I'm trying to use git clone to download the codes from my webfaction server $ cd ../webapps/nameofwebapp/ $ git clone git@github.com:github-username/github-repo.git ./ AND there is error : fatal: destination path '.' already exists and is not an…
user2492364
  • 6,543
  • 22
  • 77
  • 147
10
votes
2 answers

Safari xhr drag'n'drop file upload seems to occur twice

It can be related to Webfaction configuration (they have nginx proxy, and my app is webpy running under apache2+mod_wsgi) because it works in my dev cherrypy server. Here are some bits from javascript code I use for upload: /* Bind drop events */ …
Andrey Kuzmin
  • 4,479
  • 2
  • 23
  • 28
8
votes
1 answer

Postgres pg_dump times out

I am running this command on Webfaction: ionice -c2 -n6 pg_dump --blobs -U mhjohnson_flavma -f dump.sql pg_dump: SQL command failed pg_dump: Error message from server: ERROR: canceling statement due to statement timeout Any ideas on how to change…
Flaviu
  • 6,240
  • 4
  • 35
  • 33
8
votes
2 answers

.htaccess: Serve static files, route everything else to index.php

I want to use an .htaccess file to check if the requested path is a file in the public/ directory. If yes, serve it, else forward request to /index.php. I can't seem to get this to work. Here's what I've got: Options +FollowSymLinks RewriteEngine…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
7
votes
1 answer

How can I enable GeoDjango on an already-existing postgres database on Webfaction?

I'm running Django 1.8.4 on a Webfaction shared host, and I need to enable GeoDjango. These are the steps I took: Converted my project to use GeoDjango as per the documentation. In the Webfaction UI, added the PostGIS extension to my database. Ran…
seddonym
  • 16,304
  • 6
  • 66
  • 71
7
votes
2 answers

Current directory (os.getcwd) from within Django determined how?

I'm using Django 1.7 over Python 2.7 and noticed a strange behaviour on my production host (Webfaction) versus development machine (mac os x). On my dev machine, when I get current working directory via the cmds import os dirspot =…
RossGK
  • 515
  • 2
  • 7
  • 19
7
votes
1 answer

STATIC_ROOT in Django on Server

I'm 2hours stuck in a issue about STATIC_URL and STATIC_ROOT when I try to make run the webapp on my server at webfactional. when I load the webpage all the requests works well, except by the fact that any link with {{ STATIC_URL}} is working or…
cleliodpaula
  • 819
  • 2
  • 11
  • 27
6
votes
2 answers

Deno on CentOS 7: 'GLIBC_2.18' not found

How to run Deno on Webfaction's CentOS 7 (64-bit)? It gives an error: deno: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by deno)
Miroslav Popov
  • 3,294
  • 4
  • 32
  • 55
1
2 3
13 14