1. 16 Nov, 2021 10 commits
    • Kirill Smelkov's avatar
      wendelin.core: v↑ 0.13 -> 2.0.alpha1 · e256ed97
      Kirill Smelkov authored
      Update to wendelin.core 2, which reached its alpha state.
      
      Even though it is wendelin.core 2, it continues to work by default in
      wendelin.core 1 mode with providing the same stability guarantees as
      before. This mode works with all ZODB4, ZODB4-wc2 and ZODB5. However
      every Zope has its own private cache for ZBigFile data which wastes RAM,
      prevents us to use as many Zopes as there are CPU cores, and potentially
      leads to OOM issues where one Zope tend to allocate whole memory while
      other Zopes cannot allocate even a single page. This mode, as well as
      previous Wendelin.core 1, is also subject to data-corruption that can
      happen on ZBigFile's BTree topology change:
      
      wendelin.core@8c32c9f6
      
      WCFS mode - that is what wendelin.core 2 actually provides over
      wendelin.core 1 - is currently opt-in. When used in "WCFS mode", all
      Zopes share cache for ZBigFile data and there should be no data
      corruption. This mode works with both ZODB4-wc2 and ZODB5, but not with
      plain ZODB4. The way to opt-in into this mode for a software-release is
      to set `erp5-defaults:wcfs-enable-default = true`, like SlapOS Master
      currently does:
      
          # SlapOS Master needs to use Wendelin.core 2.
          # Wendelin.core 2 works with either ZODB4-wc2, or ZODB5, but not with ZODB4.
          # ERP5 does not currently work with ZODB5.
          # -> this leaves ZODB4-wc2 as the only choice.
          [ZODB]
          major = 4-wc2
      
          [erp5-defaults]
          wcfs-enable-default = true
      
      Remove activate-WC2-preview.cfg as wendelin.core 2 is no longer draft
      and there should be no need to use my personal repository and dirty
      branch anymore.
      e256ed97
    • Jérome Perrin's avatar
      Metabase 0.41.2 · e870252f
      Jérome Perrin authored
      Update metabase and fix a few minor problems, mostly:
       - use proper passwords for keystore and for postgresql
       - use Eclipse Temurin JRE, where the SSH tunnels work
      
      
      See merge request nexedi/slapos!1077
      e870252f
    • Łukasz Nowak's avatar
      caddy-frontend: Support not resolving backend hostnames · 14d90bcd
      Łukasz Nowak authored
      The setup "last,libc,none" allows lazy resolving of backend servers which is
      crucial in order to being able to start when the domain does not exists (yet).
      14d90bcd
    • Łukasz Nowak's avatar
      component/caddy: Use golang 1.17 · eff1c1ff
      Łukasz Nowak authored
      Follows dae1747d
      eff1c1ff
    • Jérome Perrin's avatar
      software/metabase: configure fonts and tempdir · f2eb74db
      Jérome Perrin authored
      This is needed for xlsx export
      f2eb74db
    • Jérome Perrin's avatar
      c147f794
    • Jérome Perrin's avatar
      46c9fd3e
    • Jérome Perrin's avatar
    • Jérome Perrin's avatar
      software/metabase: use temurin JRE · 79f48da7
      Jérome Perrin authored
      This solves the issue that ssh tunnels can not be used for database
      connections, with sun's java they fail with an error containing:
      
          JCE cannot authenticate the provider BC
      79f48da7
    • Jérome Perrin's avatar
      component/java: add temurin JRE · fd74c5d3
      Jérome Perrin authored
      This is an alternate JRE from https://projects.eclipse.org/projects/adoptium.temurin
      
      This version is the one used in metabase docker images
      fd74c5d3
  2. 15 Nov, 2021 5 commits
  3. 12 Nov, 2021 7 commits
  4. 11 Nov, 2021 7 commits
  5. 10 Nov, 2021 3 commits
    • Kirill Smelkov's avatar
      fixup! wendelin.core: Add way to run tests · a9ae5aa4
      Kirill Smelkov authored
      In 805374b4 I established the way to run wendelin.core test.  There
      component/wendelin.core/test-common.cfg preamble mimics what is setup
      by software/neoppod/software-common.cfg in parts for NEO. However I
      copied only neoppod into parts without neoppod-develop, and this results
      in NEO being installed from PyPI instead of from git checkout.
      
      Let's fix this because everything else - e.g. ERP5 and Wendelin software
      releases - use NEO from git checkout which today diverged significantly
      from what was last released to PyPI in April of 2019.
      
      Thanks to @jerome for helping to find this out.
      a9ae5aa4
    • Boxiang Sun's avatar
      caucase: set up a host file which specified for it · 7c3f6497
      Boxiang Sun authored
      See merge request nexedi/slapos!1074
      7c3f6497
    • Ivan Tyagov's avatar
      Disable DBUS support for zbar as: · 3397d76d
      Ivan Tyagov authored
      - it's not used in a SlapOS system (seems only used for webcam support)
      - it breaks the concept of SlapOs containerization
      - finally it tries to create a DBUS file in /etc/dbus-1/system.d/ which is NOT
        allowed (rightfully) for a slapsoft user
      3397d76d
  6. 09 Nov, 2021 3 commits
  7. 05 Nov, 2021 2 commits
  8. 04 Nov, 2021 2 commits
    • Jérome Perrin's avatar
    • Jérome Perrin's avatar
      stack/erp5: use %Ta for timing of haproxy requests · be8c2a39
      Jérome Perrin authored
      %Tt was not good, because it also included the idle time from previous
      request when the connection was reused, causing times recorded in log
      files to be much longer the actual request duration.
      
      %Ta - which is described as total active time for the HTTP request,
      between the moment the proxy received the first byte of the request
      header and the emission of the last byte of the response body - is much
      more suitable for our use case of measuring requests durations and is
      similar to apache's %D
      be8c2a39
  9. 29 Oct, 2021 1 commit