Skip to content

Warnings about passenger_native_support #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
serpi90 opened this issue Oct 30, 2018 · 4 comments
Closed

Warnings about passenger_native_support #134

serpi90 opened this issue Oct 30, 2018 · 4 comments
Labels

Comments

@serpi90
Copy link

serpi90 commented Oct 30, 2018

User does not have enough privileges to compile, download locations are not valid. https://oss-binaries.phusionpassenger.com/binaries/passenger/by_release/5.3.5/rubyext-ruby-2.4.5-x86_64-linux.tar.gz does not exist, but 2.4.4 does

redmine_redmine.1.l8pa3ra0w66j@PC51    | The Gemfile's dependencies are satisfied
redmine_redmine.1.l8pa3ra0w66j@PC51    |  [passenger_native_support.so] trying to compile for the current user (redmine) and Ruby interpreter...
redmine_redmine.1.l8pa3ra0w66j@PC51    |      (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
redmine_redmine.1.l8pa3ra0w66j@PC51    |      Warning: compilation didn't succeed. To learn why, read this file:
redmine_redmine.1.l8pa3ra0w66j@PC51    |      /tmp/passenger_native_support-snq30c.log
redmine_redmine.1.l8pa3ra0w66j@PC51    |  [passenger_native_support.so] finding downloads for the current Ruby interpreter...
redmine_redmine.1.l8pa3ra0w66j@PC51    |      (set PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0 to disable)
redmine_redmine.1.l8pa3ra0w66j@PC51    |      Could not download https://github.com/phusion/passenger/releases/download/release-5.3.5/rubyext-ruby-2.4.5-x86_64-linux.tar.gz: 2018-10-30 18:05:01 ERROR 404: Not Found.
redmine_redmine.1.l8pa3ra0w66j@PC51    |      Trying next mirror...
redmine_redmine.1.l8pa3ra0w66j@PC51    |      Could not download https://oss-binaries.phusionpassenger.com/binaries/passenger/by_release/5.3.5/rubyext-ruby-2.4.5-x86_64-linux.tar.gz: 2018-10-30 18:05:05 ERROR 404: Not Found.
redmine_redmine.1.l8pa3ra0w66j@PC51    |      Trying next mirror...
redmine_redmine.1.l8pa3ra0w66j@PC51    |      Could not download https://s3.amazonaws.com/phusion-passenger/binaries/passenger/by_release/5.3.5/rubyext-ruby-2.4.5-x86_64-linux.tar.gz: 2018-10-30 18:05:06 ERROR 403: Forbidden.
redmine_redmine.1.l8pa3ra0w66j@PC51    |  [passenger_native_support.so] will not be used (can't compile or download) 

cat passenger_native_support-8fch7x.log

# current user is: redmine
# mkdir -p /usr/local/bundle/gems/passenger-5.3.5/buildout/ruby/ruby-2.4.5-x86_64-linux
Encountered permission error, trying a different directory...
-------------------------------
# mkdir -p /home/redmine/.passenger/native_support/5.3.5/ruby-2.4.5-x86_64-linux
Encountered permission error, but no more directories to try. Giving up.
@wglambert wglambert added the question Usability question, not directly related to an error with the image label Oct 30, 2018
@wglambert
Copy link

Can you give all the commands you ran and any relevant contextual information or files for reproducing the issue

@serpi90
Copy link
Author

serpi90 commented Oct 30, 2018

docker-compose.yml:

version: "3.1"
services:
  redmine:
    image: redmine:3.4.6-passenger
    depends_on:
      - db
    ports:
      - "8080:3000"
    environment:
      REDMINE_DB_MYSQL: db
      REDMINE_DB_PASSWORD: example
  db:
    image: mysql:5.7
    environment:
      MYSQL_ROOT_PASSWORD: example
      MYSQL_DATABASE: redmine

on a docker swarm run docker stack deploy --compose-file docker-compose.yml redmine
I assume the equivalent command on docker-compose is docker-compose up

@serpi90
Copy link
Author

serpi90 commented Oct 30, 2018

The container starts up, the log lines after that were:

--> Passenger will still operate normally.
redmine_redmine.1.o6j7z5g4u4ty@PC51    | =============== Phusion Passenger Standalone web server started ===============
redmine_redmine.1.o6j7z5g4u4ty@PC51    | PID file: /usr/src/redmine/passenger.3000.pid
redmine_redmine.1.o6j7z5g4u4ty@PC51    | Log file: /usr/src/redmine/log/passenger.3000.log
redmine_redmine.1.o6j7z5g4u4ty@PC51    | Environment: production
redmine_redmine.1.o6j7z5g4u4ty@PC51    | Accessible via: http://0.0.0.0:3000/

@wglambert wglambert added Issue and removed question Usability question, not directly related to an error with the image labels Oct 30, 2018
@tianon
Copy link
Member

tianon commented Oct 30, 2018

Nice, thanks for the report! Should be fixed by #135. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants