Giter Site home page Giter Site logo

make app dir writable about kubero HOT 4 CLOSED

mms-gianni avatar mms-gianni commented on May 25, 2024
make app dir writable

from kubero.

Comments (4)

kdiogenes avatar kdiogenes commented on May 25, 2024 1

I'm unable to run a Rails application due this:

*  Max threads: 5
*  Environment: development
*          PID: 7
Rails Error: Unable to access log file. Please ensure that /app/log/development.log exists and is writable (i.e. make it writable for user and group: chmod 0664 /app/log/development.log). The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.
* Listening on http://0.0.0.0:80
bundler: failed to load command: puma (/app/bundle/bin/puma)
/app/bundle/gems/puma-5.6.7/lib/puma/launcher.rb:259:in `write': Read-only file system @ rb_sysopen - tmp/pids/server.pid (Errno::EROFS)
	from /app/bundle/gems/puma-5.6.7/lib/puma/launcher.rb:259:in `write_pid'
	from /app/bundle/gems/puma-5.6.7/lib/puma/launcher.rb:112:in `write_state'
	from /app/bundle/gems/puma-5.6.7/lib/puma/single.rb:48:in `run'
	from /app/bundle/gems/puma-5.6.7/lib/puma/launcher.rb:193:in `run'
	from /app/bundle/gems/puma-5.6.7/lib/puma/cli.rb:81:in `run'
	from /app/bundle/gems/puma-5.6.7/bin/puma:10:in `<top (required)>'
	from /app/bundle/bin/puma:25:in `load'
	from /app/bundle/bin/puma:25:in `<top (required)>'
	from /app/bundle/gems/bundler-2.4.18/lib/bundler/cli/exec.rb:58:in `load'
	from /app/bundle/gems/bundler-2.4.18/lib/bundler/cli/exec.rb:58:in `kernel_load'
	from /app/bundle/gems/bundler-2.4.18/lib/bundler/cli/exec.rb:23:in `run'
	from /app/bundle/gems/bundler-2.4.18/lib/bundler/cli.rb:492:in `exec'
	from /app/bundle/gems/bundler-2.4.18/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from /app/bundle/gems/bundler-2.4.18/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /app/bundle/gems/bundler-2.4.18/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
	from /app/bundle/gems/bundler-2.4.18/lib/bundler/cli.rb:34:in `dispatch'
	from /app/bundle/gems/bundler-2.4.18/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
	from /app/bundle/gems/bundler-2.4.18/lib/bundler/cli.rb:28:in `start'
	from /app/bundle/gems/bundler-2.4.18/exe/bundle:37:in `block in <top (required)>'
	from /app/bundle/gems/bundler-2.4.18/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
	from /app/bundle/gems/bundler-2.4.18/exe/bundle:29:in `<top (required)>'
	from /usr/local/bin/bundle:25:in `load'
	from /usr/local/bin/bundle:25:in `<main>'

Is there any workaround?

from kubero.

mms-gianni avatar mms-gianni commented on May 25, 2024 1

Well, I obviously need to improve my docs.

I've added this feature more than a year ago

https://github.com/kubero-dev/kubero-operator/blob/main/helm-charts/kuberoapp/templates/deployment-web.yaml#L142

So editing this in your kuberoapp CRD is the workaround.

I'll add this to the UI.

from kubero.

mms-gianni avatar mms-gianni commented on May 25, 2024 1

Here is an example how to add it.

readOnlyAppStorage: false

from kubero.

mms-gianni avatar mms-gianni commented on May 25, 2024

Not yet. But let's prioritize this. I think this is a quick fix.

from kubero.

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.