Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help with socorro

109 views
Skip to first unread message

aza...@gmail.com

unread,
May 16, 2016, 12:17:14 PM5/16/16
to
Hi guys,

I'm trying to install latest version and encounter that problem when I'm trying to access WebUI:

Nginx's error.log:
016/05/16 12:13:39 [debug] 22923#0: posted events 00007F22C49D4348
2016/05/16 12:13:39 [debug] 22923#0: posted event 00007F22C49D4348
2016/05/16 12:13:39 [debug] 22923#0: *11 delete posted event 00007F22C49D4348
2016/05/16 12:13:39 [debug] 22923#0: *11 http keepalive handler
2016/05/16 12:13:39 [debug] 22923#0: *11 malloc: 00007F22C48C63C0:1024
2016/05/16 12:13:39 [debug] 22923#0: *11 recv: fd:14 -1 of 1024
2016/05/16 12:13:39 [debug] 22923#0: *11 recv() not ready (11: Resource temporarily unavailable)
2016/05/16 12:13:39 [debug] 22923#0: *11 free: 00007F22C48C63C0
2016/05/16 12:13:39 [debug] 22923#0: posted event 00007F22C49D42E0
2016/05/16 12:13:39 [debug] 22923#0: *10 delete posted event 00007F22C49D42E0
2016/05/16 12:13:39 [debug] 22923#0: *10 http keepalive handler
2016/05/16 12:13:39 [debug] 22923#0: *10 malloc: 00007F22C48C63C0:1024
2016/05/16 12:13:39 [debug] 22923#0: *10 recv: fd:13 -1 of 1024
2016/05/16 12:13:39 [debug] 22923#0: *10 recv() not ready (11: Resource temporarily unavailable)
2016/05/16 12:13:39 [debug] 22923#0: *10 free: 00007F22C48C63C0
2016/05/16 12:13:39 [debug] 22923#0: posted event 0000000000000000

When I try to find something in Socorro logs - it's empty.

Any ideas?

aza...@gmail.com

unread,
May 20, 2016, 3:41:51 PM5/20/16
to
I've added DEBUG=True to Django and see that error:
Exception Type: CannotConvertError
Exception Value:

In 'database_port', '<type 'int'>' fails to convert ''

Exception Location: /data/socorro/socorro-virtualenv/lib/python2.7/site-packages/configman/option.py in set_value, line 129

And some more:
values_source_list

[{'resource': {'elasticsearch': {'elasticsearch_urls': [u'http://localhost:9200']},
'postgresql': {'database_hostname': 'sqlite.crashstats.db',
'database_name': ':memory:',
'database_port': ''},


Somehow port for PostrgeSQL doesn't transfers to Django, but it is set in envconsul:
#envconsul -prefix socorro/webapp-django env
DATABASE_NAME=breakpad
DATABASE_PORT=5432
DATABASE_USER=breakpad_rw

Adrian Gaudebert

unread,
May 23, 2016, 5:14:43 AM5/23/16
to aza...@gmail.com, tools-socorro
Hello,

I don't have enough data to tell for sure what's wrong, but here are two
things we changed recently in the webapp's configuration.

1. We stopped using DATABASE_* keys in favor of the single DATABASE_URL
one. For example, here is the default value of that key:
``postgres://breakpad_rw:aPassword@localhost:5432/breakpad``. You will need
to use that as the previous keys are not supported anymore.

2. We added another database connection key to handle the non-django
database connections. The new key is IMPLEMENTATIONS_DATABASE_URL, and if
you only have one postgres database, you can skip setting it (it will then
be the same as DATABASE_URL).

Hope that helps!

Cheers,
Adrian
> _______________________________________________
> tools-socorro mailing list
> tools-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/tools-socorro
>

aza...@gmail.com

unread,
May 23, 2016, 4:03:21 PM5/23/16
to
Thanks Adrian, that helped.

Now I encounter problems with Persona.
When I try to login using Persona nothing happens. Login window closes and the page not updating. Pushing "SignIn" button and entering information all over doesn't help.
When I try to find problems via "http://localhost/_debug_login/" page it shows:

'Everything looks good!

Something went wrong during the rendering of this page. Open the web console and look for warnings and errors."

All fields are filled with green text that says about correct work except one field:
BrowserID DOM elements is completely empty

Peter Bengtsson

unread,
May 24, 2016, 7:01:09 AM5/24/16
to aza...@gmail.com, tools-socorro
Can you show a screenshot of that?

Or find me on irc today and ask me there.


> _______________________________________________
> tools-socorro mailing list
> tools-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/tools-socorro
>



--
Peter Bengtsson
Mozilla Tools & Services

aza...@gmail.com

unread,
May 31, 2016, 2:55:23 PM5/31/16
to
Hi guys,

I think I need help with adding new product.

I used setup-socorro.sh postgres to create a DB and now it's there but no data inside.
Which tables I need to add minimum info to make it running?

Adrian Gaudebert

unread,
Jun 1, 2016, 8:57:42 PM6/1/16
to Sergey Panchenko, tools-socorro
We have an admin interface to add products, does that not work for you? You
can reach it at this URL: socorro/admin/products/

Note that you will need to be a superuser to access that page. Once you
have logged in at least once with Persona, you can make yourself a
superuser with this command:

cd webapp-django && ./manage.py makesuperuser your...@example.org

Hope that helps!

Cheers,
Adrian

aza...@gmail.com

unread,
Jun 6, 2016, 1:08:50 PM6/6/16
to
Hi Adrian,

I can't use /admin console on web as I can't login into webUI.

When I click LogIn button it process it and nothing changes. Page stays as it is. When I click LogIn button again login window pop-ups again.

aza...@gmail.com

unread,
Jun 21, 2016, 10:39:48 AM6/21/16
to
Unfortunately the installation and configuration for latest versions goes very slow and mostly unsuccessful.

We have 3 options:
1. Re-install version we use right now (17.2 with our additions) on new instance and start over - it is fastest way.
2. Upgrade our version (17.2) to 17.3.
3. Upgrade our version to latest before major changes were applied. Can you point which version it is, we think it is 43.
4. Continue with latest version 190+ until completely working. That will require more help from you guys to finish it.

Options 2 and 3 can be extended to do some enhancement with Hbase, e.g. use distributed/pseudo-distributed config.

Any suggestions in that plan?
0 new messages