IQSS logo

IRC log for #dataverse, 2017-11-01

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
03:08 axfelix joined #dataverse
03:32 axfelix joined #dataverse
03:33 axfelix joined #dataverse
10:52 donsizemore joined #dataverse
10:53 donsizemore @pdurbin - thank you!
12:20 donsizemore joined #dataverse
13:05 rebecabarros joined #dataverse
13:17 rebecabarros pameyer I comment out rsync symlink and scp symlink (scp is already in /bin/scp too). Now I'm getting error in dcm group task. The dcmu user and group are created by the playbook? If so, could be this since I've create this user before.
13:18 rebecabarros the error: fatal: []: FAILED! => {"changed": false, "failed": true, "msg": "groupmod: GID '1000' already exists\n", "name": "dcmu"}
13:23 razorsharph joined #dataverse
13:44 pdurbin rebecabarros: you're probably right since it says "already exists". You could look for the user in /etc/passwd
13:46 pdurbin donsizemore: you're welcome. Are you up to no good? :)
14:03 rebecabarros pdurbin: do you know if the user should be created by the playbook? Because I've created before, so I could try delete this user and wait for the playbook. Other doubt is, this user will be created in both machines (DCM and DV) ou only in DCM?
14:10 donsizemore @pdurbin we're toying with a separate, arabic-capable dataverse (and possibly internationalization support in the process)
14:36 donsizemore joined #dataverse
14:44 Thalia_UM joined #dataverse
15:07 pameyer joined #dataverse
15:49 pameyer joined #dataverse
16:10 pameyer joined #dataverse
16:16 pameyer rebecabarros: if you manually created `dcmu` with a different UID than in the playbook/variables, that might be why it's failing.  otherwise, ansible should be checking to see that there's a user with that name and UID/GID, and continuing if there are no changes to be made
16:16 pameyer also - which distro are you installing on?
16:19 rebecabarros joined #dataverse
16:22 rebecabarros pameyer: it's CentOS 7. I've deleted the user but the message remains.
16:24 pameyer did you delete the group too?
16:27 rebecabarros I did. The error refers to the DV ip address, it's suppose to create user/group in DV machine or in the DCM?
16:35 pameyer DCM - it shouldn't need to touch the DV machine
16:36 rebecabarros I've changed DCM_UID and DCM_GID in main.yml (1000 was been used by other user). It worked.
16:37 pdurbin rebecabarros: great! I just mentioned to pameyer that you're the one who got TwoRavens installed. You never give up. :)
16:48 rebecabarros pdurbin: yes =) haha. i'm moving from one error to another but we keep going. And you guys are really patient and helpful, making the things more easy to go.
16:49 pdurbin rebecabarros: that reminds me. Are you interested in making a pull request some day for https://github.com/IQSS/dataverse/issues/4136 ?
16:53 rebecabarros pdurbin: I am. As soon as I get more time to do it properly, I will do it.
16:57 pdurbin rebecabarros: great! I just assigned the issue to you. :) When the time comes, please let me know if you need any help!
16:57 axfelix joined #dataverse
17:05 rebecabarros Ok, I will. Thanks
17:24 pameyer joined #dataverse
17:24 Thalia_UM Hiiii !!! Good morning! :D
17:24 Thalia_UM :)
17:25 pameyer hi Thalia_UM
17:31 rebecabarros pameyer: moving to task glassfish group. how should I set gfuser.yml?
17:32 pameyer let me take a look - might need some changes for running glassfish as root
17:33 pameyer gfuser.yml won't be needed - but scn/post_upload.bash has a `chown -R glassfish:glassfish` that should be commented out
17:34 pameyer it's already got a TODO for that to be less ugly
17:36 pdurbin Ugly working code is better than code that doesn't work. :)
17:36 rebecabarros I agree with pdurbin.
17:41 rebecabarros I've commented the line in /scn/post_upload.bash but still getting:
17:41 rebecabarros fatal: [172.16.9.36]: FAILED! => {"failed": true, "msg": "The task includes an option with an undefined variable. The error was: 'glassfish_gid' is undefined\n\nThe error appears to have been in '/usr/local/dcm/ansible/ro​les/dcm/tasks/gfuser.yml': line 5, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# groups\n- name: \"glassfish group\"\n  ^ here\n\nexception type:
17:43 pameyer if you uncomment `- include:gfuser.yml` in the dcm main task, that should get past that
17:53 pameyer joined #dataverse
18:01 pameyer joined #dataverse
18:01 axfelix joined #dataverse
18:04 pameyer joined #dataverse
18:14 rebecabarros pameyer: I'm getting ' Rsync script not available!' from the GUI and {"status":"ERROR","message":"Something went wrong attempting to download rsync script: When making the upload request, rather than 200 the status code was 500. The body was '<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n         \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"ht
18:45 Thalia_UM What is $Dataverse_alias??
19:05 pameyer joined #dataverse
19:20 axfelix joined #dataverse
19:28 axfelix joined #dataverse
19:48 axfelix joined #dataverse
19:49 Thalia_UM What is $DATAVERE_ALIAS at SWORD?
20:04 pameyer joined #dataverse
20:10 pdurbin Thalia_UM: it could be "root" for example
20:10 pdurbin pameyer: man, it sounds like she's close
20:10 pameyer rebecabarros: not sure, but it looks like the dcm url in dataverse isn't pointing to the dcm
20:11 pameyer potentially something going wrong with lighttpd on the dcm - but I don't think that would send xml
20:12 pameyer running $DCM_HOST:/root/scripts/dcm-test01.sh might give you more information
20:26 pameyer joined #dataverse
20:57 donsizemore joined #dataverse
21:14 Thalia_UM I fell asleep at work
21:15 Thalia_UM Do I have to be in a directory to execute curl commands?
21:29 pameyer not unless you're using a file in a directory for upload data or form data
21:34 Thalia_UM Thank you pameyer
21:36 pameyer you're welcome, Thalia_UM
22:31 axfelix joined #dataverse
22:42 axfelix joined #dataverse
23:30 jri joined #dataverse

| Channels | #dataverse index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Connect via chat.dataverse.org to discuss Dataverse (dataverse.org, an open source web application for sharing, citing, analyzing, and preserving research data) with users and developers.