Re: [tryton-dev] uri = postgresql:/// depreciated?
El 25/06/17 a les 10:50, Axel Braun ha escrit: Hi Sergi, thanks for your input! I changed connection to TCP and used uri = postgresql://uswer:passwd@localhost:5432 No idea why the former method is not working anymore I give a quick test and posgresql:/// is working correctly for me. -- Sergi Almacellas Abellana www.koolpi.com Twitter: @pokoli_srk -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/204ccbb8-e87d-f1f1-d377-49bba4b2d62b%40koolpi.com.
Re: [tryton-dev] uri = postgresql:/// depreciated?
Am Mittwoch, 21. Juni 2017 09:11:39 UTC+2 schrieb Sergi Almacellas Abellana: > > El 20/06/17 a les 07:12, Axel Braun ha escrit: > > Morning, > > the above connection string was always working fine - now I have some > > trouble in initializing a database using this string - trytond-admin > > always looks for test42.sqlite instead of the test42-db on postgres. > > Trytond is 4.2.4 > > Thanks > > Axel > > If it's looking for sqlite instead of postgres the problem is that the > default config is used. Make sure that: > > - You reference the correct configuration file > - The user running trytond is allowed to read the config file. trytond > will sillently discard the files that is not allowed to read. > - There is no other trytond config file that overrides this setting, in > case that you are using multiple files. > > Hope it helps. > Hi Sergi, thanks for your input! I changed connection to TCP and used uri = postgresql://uswer:passwd@localhost:5432 No idea why the former method is not working anymore Cheers Axel -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/651aeca5-9533-4a23-bb1a-0dc1a4ce34fe%40googlegroups.com.
Re: [tryton-dev] uri = postgresql:/// depreciated?
El 20/06/17 a les 07:12, Axel Braun ha escrit: Morning, the above connection string was always working fine - now I have some trouble in initializing a database using this string - trytond-admin always looks for test42.sqlite instead of the test42-db on postgres. Trytond is 4.2.4 Thanks Axel If it's looking for sqlite instead of postgres the problem is that the default config is used. Make sure that: - You reference the correct configuration file - The user running trytond is allowed to read the config file. trytond will sillently discard the files that is not allowed to read. - There is no other trytond config file that overrides this setting, in case that you are using multiple files. Hope it helps. -- Sergi Almacellas Abellana www.koolpi.com Twitter: @pokoli_srk -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/11df5c7f-0738-66a0-5224-fba642498c8b%40koolpi.com.
[tryton-dev] uri = postgresql:/// depreciated?
Morning, the above connection string was always working fine - now I have some trouble in initializing a database using this string - trytond-admin always looks for test42.sqlite instead of the test42-db on postgres. Trytond is 4.2.4 Thanks Axel -- You received this message because you are subscribed to the Google Groups "tryton-dev" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton-dev/2b36d6b4-150f-434e-ad0a-6ead5a381ee4%40googlegroups.com.