-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Clean install from Docker gitea/gitea:latest ends with error 'open /data/gitea/LOG: is a directory' #13023
Comments
Can we see your app.ini ? |
Since the move to common leveldb and common redis the disk queue code will check the connection string before defaulting to the DATADIR. Therefore we should ensure that the connection string is kept empty unless it is actually set. Fix go-gitea#13023 Signed-off-by: Andrew Thornton <art27@cantab.net>
I think I've worked it out. Sorry about this. |
Oh, sorry for delay, idk if it help you now (looks like you managed without it 😄 ), but there it is: (Just APP_NAME = Gitea: Git with a cup of tea
RUN_MODE = dev
[repository]
ROOT = /data/git/repositories
[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
[repository.upload]
TEMP_PATH = /data/gitea/uploads
[server]
APP_DATA_PATH = /data/gitea
DOMAIN = localhost
SSH_DOMAIN = localhost
HTTP_PORT = 3000
ROOT_URL =
DISABLE_SSH = false
SSH_PORT = 22
SSH_LISTEN_PORT = 22
LFS_START_SERVER = false
LFS_CONTENT_PATH = /data/git/lfs
[database]
PATH = /data/gitea/gitea.db
DB_TYPE = mysql
HOST = gitea-db:3306
NAME = gitea
USER = root
PASSWD = 123
[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
[session]
PROVIDER_CONFIG = /data/gitea/sessions
[picture]
AVATAR_UPLOAD_PATH = /data/gitea/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
[attachment]
PATH = /data/gitea/attachments
[log]
ROOT_PATH = /data/gitea/log
[security]
INSTALL_LOCK = true
SECRET_KEY = 456
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE2MDE3NDYxMjJ9.M-DDo3tvsyce80q914k4HlRB5P8Uszd23BHNJheYlSs
[service]
DISABLE_REGISTRATION = false
REQUIRE_SIGNIN_VIEW = true
[oauth2]
JWT_SECRET = stx0JlLb-1LZZBz1rHzoiga5_Vtma_Kwxzgw-dAZCEs (please note that i simplified |
Workaround for the moment is to set the CONN_STR for each of the queues individually - which is a bit crap - or have a common queue:
Hopefully we'll get the PR merged very soon though |
image: gitea/gitea:latest
[x]
):Description
Brand new instalation from Docker with
gitea/gitea:latest
(sorry, guys, no idea what current version is, but this one ) ends with errorLog (i formated it a little, it was one-liner):
(looks like you guys are trying to open log directory as a file? IDK 😃 )
When i pull older version (
image: gitea/gitea:1.12.5
) everything works. Still, cant update to:latest
with the same error message.The text was updated successfully, but these errors were encountered: