*** replaceafill has joined #novawebdev | 09:54 | |
*** replaceafill_ has joined #novawebdev | 10:00 | |
*** replaceafill has joined #novawebdev | 10:15 | |
*** mr_german has joined #novawebdev | 18:07 | |
*** replaceafill has joined #novawebdev | 18:08 | |
replaceafill | mr_german, no google doc on helios, right? | 18:08 |
---|---|---|
mr_german | yep | 18:08 |
mr_german | :( | 18:08 |
replaceafill | mr_german, https://drive.google.com/drive/folders/1_RfNDM60_V9oQFNe0PzKmr80LWzrN2mH | 18:11 |
replaceafill | mr_german, canonical folder for helios stuff | 18:11 |
mr_german | oh, ok | 18:11 |
replaceafill | mr_german, i just put Eric Sanz doc there | 18:12 |
mr_german | replaceafill, Oh.. I did that 5 seconds ago | 18:12 |
mr_german | lol | 18:12 |
replaceafill | mr_german, np just make sure we can edit it | 18:13 |
replaceafill | mr_german, delete the one we can't change | 18:13 |
mr_german | ok | 18:13 |
replaceafill | mr_german, set up doc: https://docs.google.com/document/d/1crQkidp6XfAGMpucGQRRD0gNfeHVviStTJGgNbjRrmw/edit | 18:14 |
replaceafill | mr_german, write there all the known issues/hacks needed for setting it up | 18:14 |
replaceafill | mr_german, so we don't forget | 18:14 |
replaceafill | mr_german, and the issues you're having are probably already logged in the channel | 18:14 |
replaceafill | mr_german, so you can just use the search feature there | 18:15 |
replaceafill | http://novawebdevelopment.com/irclogs/search?q=helios | 18:15 |
replaceafill | mr_german, what's the issue you're currently having? | 18:15 |
mr_german | https://pastebin.com/6mAZVXYw | 18:16 |
replaceafill | mr_german, i think that means you need the postgresql dev libraries | 18:17 |
replaceafill | mr_german, hold on | 18:17 |
replaceafill | mr_german, https://stackoverflow.com/questions/11618898/pg-config-executable-not-found | 18:18 |
replaceafill | mr_german, apt-get install libpq-dev | 18:18 |
replaceafill | mr_german, please write all of this issues in that doc | 18:18 |
replaceafill | "if you run XXX and you get YYY the solution is here: http://..., so you need to: apt-get..." | 18:19 |
replaceafill | mr_german, get it? | 18:19 |
replaceafill | mr_german, any issue you find | 18:19 |
replaceafill | mr_german, you can work on the doc afterwards | 18:20 |
mr_german | replaceafill, oh ok | 18:20 |
replaceafill | mr_german, can you try the apt command and see if that fixes it | 18:20 |
mr_german | wait | 18:23 |
replaceafill | mr_german, you need postgresql installed | 18:23 |
replaceafill | mr_german, did you do that? | 18:23 |
mr_german | replaceafill, the last version or 8.4 | 18:24 |
mr_german | ? | 18:24 |
replaceafill | mr_german, last version should be fine | 18:25 |
replaceafill | mr_german, please write the whole set up procedure in the doc too | 18:26 |
mr_german | replaceafill, I found this issue | 18:26 |
mr_german | https://pastebin.com/hZRdBLJf | 18:27 |
replaceafill | mr_german, you need the python-dev package too | 18:27 |
replaceafill | mr_german, again, add that to the first steps.... | 18:28 |
replaceafill | mr_german, we basically want a doc that we can point Marco or Edzon or anyone to | 18:28 |
replaceafill | mr_german, they can follow ONLY THAT DOC | 18:29 |
replaceafill | mr_german, and be done with it, have it running without any inconvenient | 18:29 |
replaceafill | mr_german, again.... work on that after this meeting | 18:29 |
replaceafill | mr_german, the goal of this meeting is to have your running firts | 18:29 |
replaceafill | mr_german, not documenting the process | 18:30 |
replaceafill | mr_german, you can take care of that on your own | 18:30 |
replaceafill | mr_german, any progress? | 18:35 |
mr_german | replaceafill, done, I did not get any problem | 18:35 |
replaceafill | mr_german, is it fully working? | 18:36 |
mr_german | replaceafill, with the installation | 18:36 |
replaceafill | mr_german, cool | 18:36 |
mr_german | replaceafill, no. | 18:36 |
mr_german | replaceafill, wait | 18:37 |
mr_german | https://pastebin.com/btPKyMUb | 18:37 |
mr_german | that's my last issue | 18:37 |
replaceafill | mr_german, we've been there... | 18:38 |
replaceafill | mr_german, look in the irc logs and you'll figure it out | 18:38 |
replaceafill | mr_german, always try that first | 18:38 |
replaceafill | mr_german, irclogs, google then me :/ | 18:38 |
mr_german | replaceafill, ok... | 18:39 |
replaceafill | mr_german, i mean, i'm not trying to be an asshole | 18:39 |
replaceafill | mr_german, it's just that we've faced these issues or most of them before | 18:39 |
replaceafill | mr_german, and we solved them already | 18:40 |
replaceafill | mr_german, but we're dumb and we didn't record any of that | 18:40 |
replaceafill | mr_german, that's what we should fix this time | 18:40 |
replaceafill | mr_german, record everything | 18:40 |
replaceafill | mr_german, https://stackoverflow.com/questions/34198538/cannot-import-name-uuid-generate-random-in-heroku-django | 18:41 |
replaceafill | dear lord, june 2017.... http://novawebdevelopment.com/irclogs/2017-06-09.log.html#t2017-06-09T17:32:03 | 18:42 |
mr_german | replaceafill, wait. | 18:44 |
mr_german | replaceafill, when I try to run it says "django.db.utils.OperationalError: FATAL: database "helios" does not exist" | 18:49 |
mr_german | replaceafill, I thing we changed this before | 18:49 |
replaceafill | mr_german, did you run this: https://github.com/benadida/helios-server/blob/master/reset.sh | 18:50 |
mr_german | yep | 18:50 |
replaceafill | mr_german, full traceback | 18:51 |
mr_german | https://pastebin.com/58FzF54F | 18:51 |
mr_german | replaceafill, let me see if I can fix it | 18:52 |
replaceafill | mr_german, i said full | 18:52 |
replaceafill | mr_german, this doesn't show the command you ran | 18:52 |
mr_german | https://pastebin.com/jr6yNUqJ | 18:53 |
replaceafill | mr_german, this is the real issue: createdb: database creation failed: ERROR: permission denied to create database | 18:54 |
replaceafill | mr_german, what's on your settings.py for the database? | 18:54 |
mr_german | https://github.com/gfbot/helios-server/blob/master/settings.py | 18:56 |
replaceafill | mr_german, i think the safest is to just add 'USER': 'helios' to the database settings | 18:59 |
replaceafill | mr_german, and follow this: https://www.a2hosting.com/kb/developer-corner/postgresql/managing-postgresql-databases-and-users-from-the-command-line | 18:59 |
replaceafill | mr_german, to create the database and user | 18:59 |
mr_german | replaceafill, what are you saying is to keep the current setting.py without any changes right? | 19:00 |
replaceafill | mr_german, no | 19:00 |
replaceafill | mr_german, in the database settings add 'USER' | 19:00 |
replaceafill | mr_german, https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-USER | 19:00 |
replaceafill | mr_german, you'll probably need 'PASSWORD' too | 19:01 |
mr_german | ok, let me do this. | 19:02 |
replaceafill | mr_german, at some point you'll hit also this: https://github.com/benadida/helios-server/issues/178 | 19:02 |
replaceafill | mr_german, i remember you did last time | 19:02 |
replaceafill | mr_german, can i call you? | 19:04 |
mr_german | sure | 19:04 |
replaceafill | CREATE USER helios WITH PASSWORD 'helios'; | 19:12 |
replaceafill | alter role helios superuser | 19:13 |
replaceafill | GRANT ALL PRIVILEGES ON DATABASE helios TO helios; | 19:14 |
replaceafill | ALTER ROLE helios WITH PASSWORD 'helios'; | 19:17 |
replaceafill | User.update_or_create('password', 'gorito', info={'password': 'gorito'}) | 20:12 |
replaceafill | User.objects.get(info__name='gorito') | 20:18 |
replaceafill | gorito = User.objects.all()[0] | 20:19 |
replaceafill | german = User.objects.all()[1] | 20:19 |
replaceafill | gorito.admin_p = True | 20:19 |
replaceafill | german.admin_p = True | 20:19 |
replaceafill | gorito.save() | 20:19 |
replaceafill | german.save() | 20:19 |
replaceafill | gorito.admin_p | 20:20 |
replaceafill | User.objects.all()[0].admin_p = True | 20:21 |
replaceafill | User.objects.all()[0].save() | 20:21 |
replaceafill | gorito = User.objects.all()[0] | 20:21 |
replaceafill | https://docs.google.com/document/d/1TcIuK5t4RTiHBqgjKVkeROHIPIG6rUiESLbxvu1fDAM/edit | 20:23 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!