Code Monkey home page Code Monkey logo

Comments (11)

monotek avatar monotek commented on September 4, 2024 2

Does it work if you add "--set zammadConfig.initContainers.postgresql.securityContext.readOnlyRootFilesystem=false" to your helm upgrade command or set in your values.yaml file?

from zammad-helm.

greedybro avatar greedybro commented on September 4, 2024

Hello !

I have the same error trying to upgrade to chart 9.0.2 from 8.2.2

from zammad-helm.

greedybro avatar greedybro commented on September 4, 2024

No change with the readOnlyRootFilesystem=false in values, still the same error.

Note that I now have to set the following in the value or the data-chmod container fails with a "permission denied". Not sure it's related, but since most of the change in the chart are volume related...

securityContext:
  runAsUser: 0
  runAsGroup: 0
  runAsNonRoot: false

from zammad-helm.

sniper7kills avatar sniper7kills commented on September 4, 2024

Does it work if you add "--set zammadConfig.initContainers.postgresql.securityContext.readOnlyRootFilesystem=false" to your helm upgrade command or set in your values.yaml file?

Yes; that allows the postgresql-init container to finish starting. Thank you!

(Note; this was needed for the elasticsearch init; railsserver; scheduler; and websocket container as well to get it started but the custom brand logo is still missing)

from zammad-helm.

monotek avatar monotek commented on September 4, 2024

maybe adding the fix from zammad/zammad#4684 would help.
hopefully i can find some time the next days to test it.

from zammad-helm.

alexkorotysh avatar alexkorotysh commented on September 4, 2024

Errno::ENOENT: No such file or directory @ rb_sysopen - /opt/zammad/storage/fs/3bc5/897d/001f9/61170/e3344f4/877996c/8854fe4f3194c99a9943f8b7c7f380a0
getting this error, just a nightmare, cause changed directory

from zammad-helm.

monotek avatar monotek commented on September 4, 2024

I've created an pr which hopefully workarouds the issue: #197

You might test it via my branch: https://github.com/monotek/zammad-helm/tree/storage

from zammad-helm.

monotek avatar monotek commented on September 4, 2024

fixed in: #197

from zammad-helm.

rmuehlbauer avatar rmuehlbauer commented on September 4, 2024

@monotek for me to finally get it working again - even after #197 - I had to manually make some additional changes:

changes to the postgresql and elasticsearch init containers:

  • also "dual-mount" the fs under /opt/zammad/var AND /opt/zammad/storage here
  • set readOnlyRootFilesystem: false

for the zammad-railsserver, zammad-scheduler and zammad-websocket container I had to set

  • readOnlyRootFilesystem: false
    to prevent getting some kind of "Read-only file system" errors in all the mentioned containers

And there is still one thing I cant get to work - the logo on the login page ist gone. Even if I set a new logo, it wont show again...weird.

from zammad-helm.

bo0ts avatar bo0ts commented on September 4, 2024

@monotek I second that. Even with the #197 the upgrade failed.

from zammad-helm.

monotek avatar monotek commented on September 4, 2024

Possible fix in: #206

from zammad-helm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.