Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with setup of Poderopedia #12

Open
vsusarla opened this issue Sep 6, 2013 · 4 comments
Open

Problem with setup of Poderopedia #12

vsusarla opened this issue Sep 6, 2013 · 4 comments
Assignees

Comments

@vsusarla
Copy link

vsusarla commented Sep 6, 2013

Hi Folks,

I am getting a

ProgrammingError: ('ERROR', '42P01', 'relation "auth_user" does not exist') when I try to run the poderopedia application from http://localhost:8000/admin/default/site.

The traceback shows (among many others), this line

File "C:\Program Files\AIA\Project\web2py\applications\poderopedia\models\db_colaboracion.py", line 15, in

When change the migrate = True to False in the db_colaboracion.py (table name: actualizacion)

It create the table, but I get another error

ERROR', '42P01', 'relation "plugin_stats" does not exist'). I am a newbie and have limited knowledge of web2py and poderopedia. Any help would be greatly appreciated

@ghost ghost assigned juaneduardo Sep 6, 2013
@juaneduardo
Copy link
Member

Hi vsusarla:

What database are you using for the backend? Is sqlite?
The perfomance of sqlite doesn't well in a concurrency model. We recomend that you use another database such as postgresql or mysql.

Also, I think that you have a prior version of plug and play installed. You must update the repo from github....

Feel free to send questions

@vsusarla
Copy link
Author

vsusarla commented Sep 8, 2013

Hi Juan,

Thank you very much for the response!

I have Postgres as my DB. I have downloaded the zip of the latest version (after the last update). I looked at the models and the db.py has no mention of the table (which I think what 'relation' means in the error) user_auth. The same version has had a smooth installation in a linux system.

As I said I am a newbie and might be missing something very trivial.

Thanks a lot for your help!

Regards,
Venkat

@ericjze
Copy link

ericjze commented Sep 17, 2013

I talked with Venkat and he is switching his development platform to ubuntu. Here are the steps to get poderopedia up and running:

cd /home/venkat/
wget http://www.web2py.com/examples/static/web2py_src.zip
unzip web2py_src.zip
cd web2py/scripts/
chmod +x setup-web2py-nginx-uwsgi-ubuntu.sh
sudo ./setup-web2py-nginx-uwsgi-ubuntu.sh
cd /home/www-data/web2py/
sudo cp parameters_443.py parameters_80.py
sudo -u postgres createdb poderopediadatabase
sudo chown -R www-data /home/www-data/web2py/
cd /home/www-data/web2py/applications
sudo git clone https://github.com/poderopedia/plug-and-play-1.0-RC.git
cd plug-and-play-1.0-RC
sudo mv * ../
sudo mkdir /home/www-data/web2py/applications/template_app/uploads
sudo ln -s /home/www-data/web2py/applications/template_app/uploads /home/www-data/web2py/applications/admin_app/uploads

Then:
change migrate.settings in admin_app & template_app 0.py's from True to False

@juaneduardo
Copy link
Member

Hi Venkat, have you solved the issues or is still open?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants