docusealco / docuseal

Open source DocuSign alternative. Create, fill, and sign digital documents ✍️
https://www.docuseal.co
GNU Affero General Public License v3.0
5.61k stars 372 forks source link

Docuseal docker startup error #232

Closed btnalexandre closed 3 months ago

btnalexandre commented 3 months ago

Hello !

When I try to start Docuseal on docker with the following command on an Ubuntu 20.04.6 VPS: docker run --name docuseal -p 3000:3000 -v.:/data docuseal/docuseal

I'm having this problem all the time, and it's the same with the command: docker-compose

If this is a known bug, I'd love to hear about a solution :) !

Error :

=> Booting Puma
=> Rails 7.1.2 application starting in production 
=> Run `bin/rails server --help` for more startup options
Exiting
/usr/local/bundle/gems/rack-2.2.8/lib/rack/server.rb:446:in `delete': Resource busy @ apply2files - /dev/null (Errno::EBUSY)
    from /usr/local/bundle/gems/rack-2.2.8/lib/rack/server.rb:446:in `check_pid!'
    from /usr/local/bundle/gems/rack-2.2.8/lib/rack/server.rb:307:in `start'
    from /usr/local/bundle/gems/railties-7.1.2/lib/rails/commands/server/server_command.rb:38:in `start'
    from /usr/local/bundle/gems/railties-7.1.2/lib/rails/commands/server/server_command.rb:145:in `block in perform'
    from <internal:kernel>:90:in `tap'
    from /usr/local/bundle/gems/railties-7.1.2/lib/rails/commands/server/server_command.rb:136:in `perform'
    from /usr/local/bundle/gems/thor-1.3.0/lib/thor/command.rb:28:in `run'
    from /usr/local/bundle/gems/thor-1.3.0/lib/thor/invocation.rb:127:in `invoke_command'
    from /usr/local/bundle/gems/railties-7.1.2/lib/rails/command/base.rb:178:in `invoke_command'
    from /usr/local/bundle/gems/thor-1.3.0/lib/thor.rb:527:in `dispatch'
    from /usr/local/bundle/gems/railties-7.1.2/lib/rails/command/base.rb:73:in `perform'
    from /usr/local/bundle/gems/railties-7.1.2/lib/rails/command.rb:71:in `block in invoke'
    from /usr/local/bundle/gems/railties-7.1.2/lib/rails/command.rb:149:in `with_argv'
    from /usr/local/bundle/gems/railties-7.1.2/lib/rails/command.rb:69:in `invoke'
    from /usr/local/bundle/gems/railties-7.1.2/lib/rails/commands.rb:18:in `<main>'
    from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /usr/local/bundle/gems/bootsnap-1.17.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
    from /app/bin/rails:4:in `<main>'
omohokcoj commented 3 months ago

@btnalexandre /dev/null is not available on LXC - need to add PIDFILE variable and point it to the /tmp folder https://github.com/docusealco/docuseal/issues/224#issuecomment-1974801465