-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
delete a user from command line ignores the -c switch with config file #17521
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
Comments
You should use the correct Make sure you are using the correct |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@mariuz you likely need to set Gitea as compiled by default is not really intended to get placed in /usr/local/bin or /usr/bin. It makes assumptions about where it is going to find things based upon the location of the binary. These assumptions can be overridden by environment variables and/or command line options but if those are not present the default locations will be used. The contrib systemd conf file sets the correct variables by default but your shell is not (nor should it be expected to). In this case because the data path is not set within the app.ini it is assumed to be the Now, there are several ways of getting round this.
|
Gitea Version
1.15.6
Git Version
git version 2.25.1
Operating System
ubuntu 20.04
How are you running Gitea?
i used the binary version with wget
Database
MySQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
create user from command line works ok and the website is ok , but the issues start when i try to delete a user
(ROOT = /home/git/gitea-repositories and works correctly)
so it tries to write in default folder and ignoring config file /etc/gitea/app.ini
Screenshots
No response
The text was updated successfully, but these errors were encountered: