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
2
votes
3 answers

Cronjob not working on webfaction

I've created the following cronjob to run every 5 minutes, but for some reason it doesn't. */05 * * * * ~/webapps/django/shop/update When I try to run the script from the shell, it runs perfectly. The contents of the script (trying to run a custom…
iman453
  • 9,105
  • 16
  • 54
  • 70
2
votes
0 answers

Why does Django encouter ModuleNotFoundError in production server (WebFaction) while it can run well with development server?

I'm new to Django and this is a first time I'm trying to deploy my Django application on WebFaction. I searched on StackOverflow but did not find someone who encountered the same problem. My app was developed using Django 2.2 and Python 3.7.3. I…
Mark Nguyen
  • 91
  • 2
  • 6
2
votes
1 answer

Django Postgres not reading DB password from environment variable

I have set the environment variable for DB password in the .bash_profile file but the same is not being read by the PASSWORD field of PostgreSQL. Also, I can print the password in production.py file successfully but the same won't be used by…
Saurabh_Jhingan
  • 190
  • 5
  • 20
2
votes
3 answers

How to restart PM2 itself when the server processes are killed?

I use PM2 to run my node.js app. It works fine, however, sometimes my web hosting provider WebFaction (hello!) kills all the processes on my part of the shared server when my app goes beyond the memory limit (it's actually a java-based neo4j graph…
Aerodynamika
  • 7,883
  • 16
  • 78
  • 137
2
votes
2 answers

Batch filename rename with conditional or math operation

this is my firt question here. Thanks in advance. I have automatically uploaded hundreds of images to a Webfaction server with an incorrect timestamp in the filename and now I have to rename them. Here is an…
2
votes
1 answer

Different django processes same log

This is an open ended question about logging when you have different django processes. How can I get the output of different django processes in the same log file? How would you approach this issue? Now to my current setup. I have a django webapp…
Martin Massera
  • 1,718
  • 1
  • 21
  • 47
2
votes
4 answers

django, multiple databases, configuration issue: "Error importing database router"

I've followed these instructions to set up Django with multiple databases. It's working as intended in my local dev environment (win7), however, when I upload the project to my live server (webfaction), I get ImproperlyConfigured: Error importing…
Hoff
  • 38,776
  • 17
  • 74
  • 99
2
votes
1 answer

Redirecting a subdomain to AWS instance

I have a domain example.com that is being host on webfaction. However i would like to redirect its subdomain (e.g sub.example.com) to one of my AWS instance which has public DNS…
Jeremy
  • 2,516
  • 8
  • 46
  • 80
2
votes
4 answers

webfaction auto start mongodb

I read the docs on webfaction and install the mongodb with the steps and it said : To start the database, run $HOME/webapps/application/mongodb-linux-architecture-version/bin/mongod --auth --dbpath $HOME/webapps/application/data/ --port number. To…
user2492364
  • 6,543
  • 22
  • 77
  • 147
2
votes
2 answers

Problems with memory usage of mongo db server

I have a mongod process running in a webfaction server with 512MB RAM. I have a MongoDB database with two collections sizing 10MB and 2GB. Whenever I run a query on my collections through mongo shell, the RAM usage grows exceptionally high and the…
graphicmist
  • 71
  • 3
  • 15
2
votes
2 answers

Sender Address rejected. Django + webfaction email

The code I am using is what I found on webfaction EMAIL_HOST = 'smtp.webfaction.com' EMAIL_HOST_USER = '' EMAIL_HOST_PASSWORD = '' DEFAULT_FROM_EMAIL = '' SERVER_EMAIL = '' I keep on getting…
Nader Alexan
  • 2,127
  • 22
  • 36
2
votes
2 answers

template not found, deploying Pyramid on Webfaction

I'm trying to deploy my webapp to Webfaction, the basic example is working correctly, I got a TemplateNotFound in a template that extends a basic template using Jinja2. Here is my project tree: /webapps /myapp development.ini …
PepperoniPizza
  • 8,842
  • 9
  • 58
  • 100
2
votes
1 answer

Ruby on Rails Mongoid and Webfaction: Not Authorized For Query (Error 16550)

I am using version 2.4.4, followed the procedures at http://docs.webfaction.com/software/mongodb.html and am using Mongoid with Ruby on Rails. I also have created a user at the db I am using with the "userAdminAnyDatabase" permission and am using it…
yretuta
  • 7,963
  • 17
  • 80
  • 151
2
votes
2 answers

Tornado web server in webfaction

I am starting with web development. I am trying to develop and webapp using the Instagram API and Django. I was looking that a lot of people it's using Tornado Web Server for Real Time Subscriptions. So I am using Webfaction as a host and found this…
2
votes
1 answer

Scrapy project can't find django.core.management

I'm trying to follow the method here to 'Scrapy' data from the web and simultaneously save that data directly to my Django database using Scrapy's item pipeline. However, when I try to run scrapy crawl spidername, I'm getting the error:…
GChorn
  • 1,267
  • 1
  • 19
  • 36