Couldn't install with 'run as' username #1930

Closed
opened 2025-11-02 04:18:07 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @rmgui on GitHub (Jun 13, 2018).

Description

I'm trying to install Gitea on a VPS running Ubuntu 16.04.3 LTS using SQLite or MySQL. Whenever I try to start the installation using the web interface, I get an alert notifying me that the username I've provided is not the user running the app (see Screenshot below).
That's the way I set up and ran Gitea:

wget -O gitea https://dl.gitea.io/gitea/1.4.2/gitea-1.4.2-linux-amd64

chmod +x gitea

./gitea web

My username is app - there are no other users than app and root on my VPS. I left all other fields as they were, despite 'run user' and the DB entries.

Screenshots

screenshot_13 06 2018-17 41

Originally created by @rmgui on GitHub (Jun 13, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref):1.4.2 - Git version:2.7.4 - Operating system:Ubuntu 16.04.3 LTS - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist:https://gist.github.com/rmgui/049457c6b4c0daf3b219add19cc7ddc4 ## Description I'm trying to install Gitea on a VPS running Ubuntu 16.04.3 LTS using SQLite or MySQL. Whenever I try to start the installation using the web interface, I get an alert notifying me that the username I've provided is not the user running the app (see Screenshot below). That's the way I set up and ran Gitea: ``` wget -O gitea https://dl.gitea.io/gitea/1.4.2/gitea-1.4.2-linux-amd64 chmod +x gitea ./gitea web ``` My username is app - there are no other users than app and root on my VPS. I left all other fields as they were, despite 'run user' and the DB entries. ## Screenshots ![screenshot_13 06 2018-17 41](https://user-images.githubusercontent.com/32839666/41362212-b3c6c84a-6f28-11e8-9d42-6d499a3bc1d7.png)
Author
Owner

@rmgui commented on GitHub (Jun 13, 2018):

Setting the USER variable to my current user did it, through I couldn't find it before opening this issue.
Sorry.

Issue was solved here.

@rmgui commented on GitHub (Jun 13, 2018): Setting the USER variable to my current user did it, through I couldn't find it before opening this issue. Sorry. Issue was solved [here](https://github.com/go-gitea/gitea/issues/3592).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1930