Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
A
app
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 40
    • Issues 40
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Site.js
  • app
  • Issues
  • #194

Closed
Open
Opened Jun 22, 2020 by Aral Balkan@aralOwner
  • Report abuse
  • New issue
Report abuse New issue

Provide meaningful error message when server is run as root

Site.js should not be run as root due to security concerns.

Currently, if you try to run it as root, it fails when trying to get the unprivileged account name with a “Could not get account ID” error, which is confusing (see original bug report – thanks, David: https://twitter.com/realdavidpeach/status/1274773479678783488?s=20)

Handle this error properly by detecting if we’re being run as root at that time. “Site.js should not be run as root for security reasons. Please try again from a regular account.”

Assignee
Assign to
15.4.0
Milestone
15.4.0 (Past due)
Assign milestone
Time tracking
None
Due date
None
1
Labels
Improvement
Assign labels
  • View project labels
Reference: site.js/app#194

Like this? Fund us! Your patronage helps keep us independent and going.