Actions
Bug #7233
closed[Documentation] API script create_superuser_token.rb has trouble on Ubuntu
Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
Documentation
Target version:
-
Story points:
-
Description
The Git install guide tells you to run this command from the API server:
sudo -u webserver-user RAILS_ENV=production `which rvm-exec` default bundle exec ./script/create_superuser_token.rb
We have multiple reports that this doesn't work on Ubuntu—one precise, one trusty.
Updated by Brett Smith over 10 years ago
- Target version set to Arvados Future Sprints
Updated by Brett Smith over 10 years ago
- Target version deleted (
Arvados Future Sprints)
I had trouble reproducing this. I took the current ubuntu:trusty Docker image, and built it up following the API server install guide. After I finished that, I was able to run the line without any issues (except the usual .git warnings).
One person suggested that the ownerships of /var/www/arvados-api needed to be set to www-data; and www-data needed a real shell (it's nologin on trusty). However, my Docker container has root ownership on that directory, and nologin as the shell, and the line still works.
Updated by Joshua Randall over 10 years ago
Just as a note - Emyr had this issue on Precise, not Trusty.
Updated by Brett Smith over 10 years ago
- Subject changed from [Documentation] API script create_superuser_token.rb has trouble on Ubuntu 14.04 to [Documentation] API script create_superuser_token.rb has trouble on Ubuntu
- Description updated (diff)
Actions