chat.freenode.net #tryton log beginning Wed Jan 22 00:00:02 CET 2014 | ||
2014-01-22 00:02 <b0r7> cedk: thanks, now i see it: the <field name="view" ref="sale_view_form" // ref="sale_view_tree /> explains them, jey. | ||
2014-01-22 00:08 <b0r7> another thing that i don't understand: there is a <field name="search_value" ></field> with no value.. is this where the search value gets 'passed?' the user enters in the search field? | ||
2014-01-22 00:09 <cedk> b0r7: it is a default search value | ||
2014-01-22 00:15 <b0r7> ahh i see, i think its missing in the docs. thinkingloud:maybe i should familiarize myself with contribution doc-wise via hg | ||
2014-01-22 07:43 <Sandra__> Hello everybody | ||
2014-01-22 07:44 <sharoonthomas> Sandra__: hello | ||
2014-01-22 07:44 <Sandra__> I have a problem connecting to the server: | ||
2014-01-22 07:45 <Sandra__> Hi sharronthomas | ||
2014-01-22 07:45 <Sandra__> how are you doing? | ||
2014-01-22 07:45 <sharoonthomas> Sandra__: are you connecting to the server from the same computer (localhost) or from another computer ? | ||
2014-01-22 07:45 <sharoonthomas> Sandra__: good, thanks for asking :) | ||
2014-01-22 07:48 <Sandra___> sorry .. my connection went down | ||
2014-01-22 07:48 <Sandra___> I'm back now | ||
2014-01-22 07:49 <Sandra___> so, the case is: | ||
2014-01-22 07:50 <Sandra___> I'm using VirtualBox, with 2 Virtual machines, on both I'm using opensuse | ||
2014-01-22 07:50 <Sandra___> on Box A I have the server | ||
2014-01-22 07:50 <sharoonthomas> Sandra__: got it, are you able to ping from one to the other ? | ||
2014-01-22 07:50 <Sandra___> yes | ||
2014-01-22 07:51 <sharoonthomas> Sandra___: is the server listing on all interfaces ? | ||
2014-01-22 07:51 <Sandra___> so ,, I have tryton installed on both machines | ||
2014-01-22 07:51 <sharoonthomas> Sandra___: that is defined in the tryton config file | ||
2014-01-22 07:52 <sharoonthomas> Sandra___: by default the tryton server only listens to local connections, you need to explicitly set it to listen to other addresses | ||
2014-01-22 07:52 <Sandra___> I'll copy the trytond.conf fie contents here | ||
2014-01-22 07:52 <sharoonthomas> Sandra___: you can use the pastebin or gist | ||
2014-01-22 07:52 <sharoonthomas> Sandra___: (rather than paste here) | ||
2014-01-22 07:52 <Sandra___> ok | ||
2014-01-22 07:53 <sharoonthomas> Sandra___: see https://github.com/tryton/trytond/blob/develop/etc/trytond.conf#L6 | ||
2014-01-22 07:53 <sharoonthomas> Sandra___: you should probably set that line to 0.0.0.0:8000 | ||
2014-01-22 07:53 <sharoonthomas> Sandra___: where it will listen to all interfaces | ||
2014-01-22 07:53 <Sandra___> yeah I did that already | ||
2014-01-22 07:54 <Sandra___> it was localhost:8000 | ||
2014-01-22 07:54 <Sandra___> still didn't work from BoxB | ||
2014-01-22 07:54 <Sandra___> but from BoxA it is still working perfectly | ||
2014-01-22 07:55 <Sandra___> I changed it to 0.0.0.0:8000 | ||
2014-01-22 07:55 <sharoonthomas> Sandra___: still to be sure its using the same config file, can you check that the server logs a message like: INFO:server:starting JSON-RPC protocol on 0.0.0.0:8000 when it starts ? | ||
2014-01-22 07:56 <Sandra___> mm ,, ok | ||
2014-01-22 07:56 <Sandra___> goive me a sec | ||
2014-01-22 07:56 <Sandra___> I'll stop trytond and start it again to see the log message | ||
2014-01-22 08:00 <Sandra___> yup | ||
2014-01-22 08:00 <Sandra___> it says that | ||
2014-01-22 08:00 <Sandra___> exactly the same :P | ||
2014-01-22 08:00 <sharoonthomas> Sandra___: and you are still not able to connect from Box B ? | ||
2014-01-22 08:00 <Sandra___> not at all | ||
2014-01-22 08:01 <Sandra___> I wonder if the problem is related to VirtualBox rather than my configuration | ||
2014-01-22 08:01 <Sandra___> the problem is that I don't have physical devices to try with | ||
2014-01-22 08:04 <Sandra___> by the way, I'm new to linux and this is the first time I deal with it ,, it took me almost a month trying to get GNU Health work on Ubuntu but I wasn't able to | ||
2014-01-22 08:04 <Sandra___> Finally things worked out perfectly on OpenSUSE when I'm connecting from the localhost | ||
2014-01-22 08:05 <sharoonthomas> Sandra___: are you sure you are using the right profile on Box B to connect to Box A (dbl check the IP) | ||
2014-01-22 08:05 <sharoonthomas> Sandra___: out of curiosity: did you use the Open Suse package or install from sources ? | ||
2014-01-22 08:05 <Sandra___> Open Suse package | ||
2014-01-22 08:05 <Sandra___> the thing is I'm a biomedical engineer | ||
2014-01-22 08:06 <Sandra___> and my computer knowledge is not deep | ||
2014-01-22 08:07 <sharoonthomas> Sandra___: can you open a browser window on box b and open boxA:8000 | ||
2014-01-22 08:08 <Sandra___> so, please be patient with me :P | ||
2014-01-22 08:08 <Sandra___> ok | ||
2014-01-22 08:09 <Sandra___> I'm on it | ||
2014-01-22 08:09 <sharoonthomas> ok | ||
2014-01-22 08:09 <Sandra___> thank you very much for the help | ||
2014-01-22 08:10 <Sandra___> I really appreciate it | ||
2014-01-22 08:12 <Sandra___> mmm , what do you mean by opening a browser windo on boxB and open boxA:8000 | ||
2014-01-22 08:12 <sharoonthomas> Sandra___: type in the ip address of box a and port 8000 | ||
2014-01-22 08:13 <Sandra___> I did that and I'm not getting anything | ||
2014-01-22 08:13 <sharoonthomas> Sandra___: if the tryton server is listening and you are able to connect, it should at least show an error | ||
2014-01-22 08:13 <sharoonthomas> Sandra___: which means Box B is unable to connect to Box A, so networking between your virtual boxes is the culprit | ||
2014-01-22 08:14 <Sandra___> it's keeps trying to connect .. but nothing happens | ||
2014-01-22 08:14 <Sandra___> I'm getting nothing | ||
2014-01-22 08:14 <Sandra___> I'm expecting that the problem is related to the network | ||
2014-01-22 08:14 <sharoonthomas> Sandra___: i guess it is | ||
2014-01-22 08:16 <Sandra___> I'll tell you how I configured VirtualBox to get the connection between the 2 devices | ||
2014-01-22 08:17 <sharoonthomas> Sandra___: not very familiar with virtualbox | ||
2014-01-22 08:17 <Sandra___> ok | ||
2014-01-22 08:17 <Sandra___> that is my problem as well ,, even though it is easy, I've learnt how to deal with it this week | ||
2014-01-22 08:18 <Sandra___> it gives several options how to connect the virtual machines to a network | ||
2014-01-22 08:18 <Sandra___> one of them is called bridging | ||
2014-01-22 08:19 <Sandra___> in this mode ,, it connects the Virtual machine to the Physical network through the computer interface that the hosting computer is using | ||
2014-01-22 08:19 <sharoonthomas> Sandra___: are you using bridging ? | ||
2014-01-22 08:19 <Sandra___> and the Machines get their ip address and default gateways from the router that the host is connecting to | ||
2014-01-22 08:20 <Sandra___> and become just as any other host on that network | ||
2014-01-22 08:20 <Sandra___> so, my laptop has this ip: 192.168.1.2 | ||
2014-01-22 08:20 <Sandra___> Virtual Machine A: 192.168.1.11 | ||
2014-01-22 08:20 <Sandra___> Virtual Machine B: 192.168.1.12 | ||
2014-01-22 08:21 <sharoonthomas> Sandra___: from VM B are you able to ping VM A ? | ||
2014-01-22 08:21 <Sandra___> all of them getting the default gateway as 192.168.1.1 which is the router | ||
2014-01-22 08:21 <Sandra___> yes | ||
2014-01-22 08:21 <Sandra___> ping works with no problems | ||
2014-01-22 08:22 <Sandra___> from my laptop to VM A and VM B | ||
2014-01-22 08:22 <Sandra___> also from VM A to VM B | ||
2014-01-22 08:22 <Sandra___> so ping works between all of them | ||
2014-01-22 08:23 <Sandra___> I though that the firewall on my laptop (running windows) might be the problem blocking the ports needed for the connection to be established | ||
2014-01-22 08:23 <Sandra___> as all traffic passes through my laptop | ||
2014-01-22 08:23 <Sandra___> so I turned it off | ||
2014-01-22 08:24 <Sandra___> but still the problem remained | ||
2014-01-22 08:24 <Sandra___> so, I'm wondering if the problem is related to VirtualBox networking | ||
2014-01-22 08:25 <Sandra___> which ports do we need for the client to connect to the server, only 8000, or their are other ports? | ||
2014-01-22 08:26 <Sandra___> there* | ||
2014-01-22 08:27 <sharoonthomas> Sandra___: only 8000 (commonly used by jsonrpc) | ||
2014-01-22 08:27 <sharoonthomas> Sandra___: check the firewall for box a and check if it is blocking traffic since it works from box a | ||
2014-01-22 08:28 <Sandra___> it's turned off on both of them | ||
2014-01-22 08:28 <Sandra___> I turned off the firewalls on all the machines to make sure it's not the problem | ||
2014-01-22 08:29 <Sandra___> how can I test if there is connectivity between VM A and VM B through port 8000? | ||
2014-01-22 08:29 <Sandra___> is there a Konsole command that I can use? | ||
2014-01-22 08:50 <Sandra___> Still there? | ||
2014-01-22 08:51 <sharoonthomas> Sandra___: an alternate way to check the connection is what we tried with the browser | ||
2014-01-22 08:52 <sharoonthomas> Sandra___: why don't you try from your primary host (the laptop itself) and connect to the tryton server on Box A ? | ||
2014-01-22 08:52 <Sandra___> already tried that :) | ||
2014-01-22 08:52 <Sandra___> didn't work : / | ||
2014-01-22 08:53 <sharoonthomas> Sandra___: IIRC virtual box needs restarting every time a network configuration changes ? | ||
2014-01-22 08:53 <Sandra___> I have tryton installed on the three devices, my Laptop (windows) and the 2 VMs (OpenSUSE) | ||
2014-01-22 08:53 <Sandra___> yes | ||
2014-01-22 08:54 <Sandra___> and I already have done that | ||
2014-01-22 08:55 <Sandra___> by the way: | ||
2014-01-22 08:55 <Sandra___> using Internet Explorer, I got this message after trying 192.168.1.11:8000 | ||
2014-01-22 08:57 <Sandra___> The webpage cannot be displayed | ||
2014-01-22 08:57 <Sandra___> •Some content or files on this webpage require a program that you don't have installed. | ||
2014-01-22 09:00 <sharoonthomas> Sandra___: apparently its able to connect to port 8000 of box A. Can you check you tryton login profile ? | ||
2014-01-22 09:03 <Sandra___> it says: could not connect to the server | ||
2014-01-22 10:20 <Laura87> helloo | ||
2014-01-22 10:33 <Sandra___> hello Laura | ||
2014-01-22 10:34 <Sandra___> sharoon: finally everything is working fine, as I was expecting the problem was related to VirtualBox configuration ,, now everything is working perfectly :) | ||
2014-01-22 10:38 <sharoonthomas> Sandra___: cool | ||
2014-01-22 10:39 <Sandra___> yup :) | ||
2014-01-22 10:39 <Sandra___> man ,, this was a big challenge to make it work | ||
2014-01-22 10:39 <Sandra___> thank you for the help ;) | ||
2014-01-22 10:40 <Sandra___> I would like to ask you about something else ,, do you have experience with backing up servers? | ||
2014-01-22 10:43 <sharoonthomas> I think so, otherwise there are others more knowledgable here | ||
2014-01-22 10:43 <Sandra___> great | ||
2014-01-22 10:44 <Sandra___> this will be my next step | ||
2014-01-22 10:45 <Sandra___> learning how to backup my server | ||
2014-01-22 10:46 <Sandra___> because I can't afford loosing the database once I implement GNU Health in a real production environment | ||
2014-01-22 10:47 <Sandra___> right now everything is working perfectly on my testing environment | ||
2014-01-22 10:47 <sharoonthomas> Sandra___: at openlabs we use only postgres as database. with postgres we use streaming replication for a realtime backup on a different server. From the secondary we take backups using pg_dump and we upload it to Amazon S3 | ||
2014-01-22 10:48 <jeancavallo> Sandra___: It mainly depends on what data availability you need, that is how much time / data you accept to lose. | ||
2014-01-22 10:48 <Sandra___> I need to backup my data every month | ||
2014-01-22 10:49 <Sandra___> I can accept loosing one month of new data | ||
2014-01-22 10:49 <sharoonthomas> Sandra___: then all what you should need is a backup of postgres database taken using a tool like pg_dump | ||
2014-01-22 10:50 <Sandra___> sounds good to me ,, now, remember that I'm a biomedical engineer with no deep knowledge in computer sciences | ||
2014-01-22 10:51 <jeancavallo> Sandra___: Depending on how you decide to go with your hosting, they might provide this kind of service | ||
2014-01-22 10:51 <Sandra___> I have good knowledge related to networking, CISCO and Microsoft ,,, but not much knowledge regarding servers and linux | ||
2014-01-22 10:51 <Sandra___> I will host my server localy | ||
2014-01-22 10:52 <Sandra___> so I have to learn how to do everything by myself as we don't have an IT specialist | ||
2014-01-22 10:53 <jeancavallo> Sandra___: Then indeed you will have to learn a little. Here is a good starting point for a postgres backup script : http://wiki.postgresql.org/wiki/Automated_Backup_on_Linux | ||
2014-01-22 10:53 <Sandra___> yup ,, it is time to learn more things :) | ||
2014-01-22 10:53 <jeancavallo> Sandra___: Engineers usually love that ! | ||
2014-01-22 10:54 <Sandra___> it's always nice to learn something new | ||
2014-01-22 10:56 <Sandra___> seeing GNU Health working in the test environment was worthy the time I spent learning how to implement it ,,, now I would love to see it working at our clinic | ||
2014-01-22 10:57 <Sandra___> what is left for me to learn at this moment is how to backup the data that we will have :) ,, so the next few days I will be reading a lot | ||
2014-01-22 10:57 <Sandra___> I will be in contact with you guys here to share what happens with me | ||
2014-01-22 10:57 <Sandra___> thanks a lot for the help | ||
2014-01-22 10:57 <Sandra___> time to sleep now | ||
2014-01-22 10:58 <jeancavallo> Sandra___: good night then :) | ||
2014-01-22 10:58 <Sandra___> you too | ||
2014-01-22 10:58 <Sandra___> sweet dreams | ||
2014-01-22 10:58 <jeancavallo> Sandra___: Actually its 11AM here :) | ||
2014-01-22 10:58 <Sandra___> here it's 4:58 AM | ||
2014-01-22 10:58 <Sandra___> I'm currently in Colombia ;) | ||
2014-01-22 10:59 <Sandra___> so take care guys | ||
2014-01-22 10:59 <Sandra___> bye sharoon, bye everybody | ||
2014-01-22 10:59 <Sandra___> sweet dreams | ||
2014-01-22 11:00 -!- Sandra___(ba74603b@gateway/web/freenode/ip.186.116.96.59) has left #tryton | ||
2014-01-22 11:15 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton | ||
2014-01-22 17:45 -!- b0r7(~b0r7@p5B2CDECA.dip0.t-ipconnect.de) has left #tryton | ||
2014-01-22 18:51 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!