irc.libera.chat #tryton log beginning Mon Aug 28 12:10:01 AM CEST 2023 | ||
-!- mrichez(~Maxime@2a02:a03f:c2e8:f900:db7c:11fb:1fc6:3112) has joined #tryton | 05:04 | |
-!- springwurm(~springwur@2a01:76c0:100:f500:8d66:cd0e:943b:91bf) has joined #tryton | 05:07 | |
-!- OscarQ(~OscarQ@91.126.38.246) has joined #tryton | 05:09 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 06:36 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 06:36 | |
-!- rpit(~rpit@p5deaed57.dip0.t-ipconnect.de) has joined #tryton | 09:11 | |
-!- LordVan(~LordVan@gentoo/developer/lordvan) has joined #tryton | 09:54 | |
LordVan | Hi. quick question: I want to change report cache storage to be in filesystem (due to increasing DB backup sizes that are a pain) is there anything to watch out for/do before? | 09:55 |
---|---|---|
LordVan | I also plan to run cedk's script from there https://discuss.tryton.org/t/how-to-migrate-binary-field-to-filestorage/3856 | 09:56 |
LordVan | cuz from what I did find online I only need to change the config for this to work | 09:56 |
cedk | LordVan: normally the change is backward compatible from DB -> FS | 09:57 |
cedk | because DB is the fallback | 09:57 |
LordVan | yes of course | 09:58 |
LordVan | I was thinking of setting up a edms system (mayan) and writing a backend for that if we end up using it - of course foss ^^ | 09:58 |
LordVan | do a lot of people use DB only btw? | 09:58 |
LordVan | it seems like a bad idea regarding DB size (especiall with backups) to me | 09:59 |
cedk | LordVan: only for small projects where few data is expected | 09:59 |
LordVan | that's what I thought - even with our small company we have a lot of invoices in there already | 10:00 |
pokoli | LordVan: we always use filesystem storage for stroing report cache | 10:08 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 10:52 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 10:52 | |
LordVan | pokoli, that was my plan anyway i just ran it a while with just DB for testing | 11:14 |
LordVan | btw i was trying to run trytond wiht uwsgi ini but somehow it is not working .. any idea what is wrong with it?: https://dpaste.org/Mf22u (found this online somewhere but it is not working and i'm not sure why(probably something simple/stupid)) | 11:17 |
LordVan | or is the preferred way to use uwsgi emperor? | 11:18 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 11:29 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 11:29 | |
-!- acaubet(~Thunderbi@194.224.31.235) has joined #tryton | 11:29 | |
-!- springwurm(~springwur@2a01:76c0:100:f500:baf8:758a:cb5f:4a06) has joined #tryton | 12:03 | |
-!- rpit(~rpit@p200300de472ae100adf5d03f035d2c8a.dip0.t-ipconnect.de) has joined #tryton | 12:03 | |
mrichez | LordVan: did you install 'uwsgi-plugin-python3' ? in my ini : plugins=python3 and i have also env=TRYTOND_DATABASE_URI=postgresql://username:password@server:5432 | 12:13 |
cedk | TRYTOND_DATABASE_URI is not necessary if it is defined in trytond.conf | 12:17 |
cedk | LordVan: what is not working? | 12:18 |
LordVan | mrichez, yes i instalel dthe plugins with various python versions so I picked python310 same as trytond uses .. | 12:18 |
LordVan | shouldn'T supplying the TRYTOND_CONFIG be enough for DB data? | 12:18 |
LordVan | cedk, https://dpaste.org/6M3cQ | 12:20 |
cedk | LordVan: looks like it does not find trytond.application:app | 12:23 |
LordVan | yes but i am not sure why | 12:24 |
LordVan | adding --plugins=python3 [or python310/311] does not work either | 12:27 |
LordVan | ok this is weir | 12:30 |
LordVan | https://dpaste.org/5sLxe | 12:30 |
LordVan | if i specify all in the command line it seems to find it but then has this odd error | 12:31 |
cedk | LordVan: is not the client connecting with SSL while uwsgi is not | 12:50 |
LordVan | ah yes that could be I did not think of that for just testing | 12:50 |
cedk | LordVan: check our new warning: https://docs.tryton.org/projects/client-desktop/en/latest/usage.html#appendix | 12:58 |
LordVan | ah i did not see that. will check now. thanks | 12:58 |
-!- tbruyere(~Thunderbi@mail.saluc.com) has joined #tryton | 13:24 | |
LordVan | cedk, but should I not be able to run it without ssl as well (for testing only ofc) | 13:45 |
cedk | LordVan: yes if you have not configuration to force SSL | 13:47 |
LordVan | cedk, on the client you mean? | 13:50 |
cedk | LordVan: yes | 13:50 |
LordVan | thanks i shall look what the syntax is for that | 13:50 |
cedk | LordVan: to remove SSL, you just need to delete the line for the host in known_hosts (a little bit like the openssh known_hosts) | 13:53 |
LordVan | now i get invalid request block size: 21327 (max 4096)...skip .. I think I'll properly set up SSL later and re-try then on the dev box itself thanks for the pointers. I hope i figure out the issue | 13:57 |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 14:30 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 14:30 | |
-!- rpit(~rpit@p200300de472ae100724269e72d43e6fe.dip0.t-ipconnect.de) has joined #tryton | 19:28 | |
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | 22:00 | |
-!- ChanServ changed mode/#tryton -> +o cedk | 22:00 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!