kontron / redmine_oauth

Redmine authentication through OAuth.
GNU General Public License v2.0
61 stars 27 forks source link

Docker restart after oauth2 gem install: Could not find server "" #40

Closed GregTheDeViL5 closed 5 months ago

GregTheDeViL5 commented 5 months ago

Hi,

hope you can help me...

i have the actual 5.1.2 redmine bookworm release of docker. everytime after installing the 'oauth2' gem and restarting the docker container i will get an error

Could not find server "". 
Run `bin/rails server --help` for more options.
The Gemfile's dependencies are satisfied
W, [2024-06-11T09:32:17.963778 #20]  WARN -- : Creating scope :system. Overwriting existing method Enumeration.system.
W, [2024-06-11T09:32:18.153968 #20]  WARN -- : Creating scope :sorted. Overwriting existing method User.sorted.
W, [2024-06-11T09:32:18.183327 #20]  WARN -- : Creating scope :visible. Overwriting existing method Principal.visible.

i have to recreate the docker container. Thats not a status for a production server in the future ;)

Hope you can help me, Greg

GregTheDeViL5 commented 5 months ago

Hi,

found the issue, i removed the "gem 'puma'" at the end of the Gemfile because it was two times in the Gemfile. Than the error comes on rebooting the container. Now i removed the "gem 'puma'" which was in the middle of the Gemfile and the server reboots without error.