# Logfile for Gitea not starting

**URL:** <https://forum.gitea.com/t/logfile-for-gitea-not-starting/6979>\
**Category:** Install/Maintain/Configure\
**Created:** [March 28, 2023, 9:39pm UTC](https://forum.gitea.com/t/logfile-for-gitea-not-starting/6979 "2023-03-28T21:39:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![williew](https://avatars.discourse-cdn.com/v4/letter/w/a3d4f5/32.png) [@williew](https://forum.gitea.com/u/williew)\
**Post date:** [March 28, 2023, 9:39pm UTC](https://forum.gitea.com/t/logfile-for-gitea-not-starting/6979/1 "2023-03-28T21:39:42Z")

</div>

Mar 26 22:16:00 dub20 systemd[1]: Started Gitea (Git with a cup of tea).  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 cmd/web.go:105:runWeb() [I] Starting Gitea on PID: 1913129  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 cmd/web.go:159:runWeb() [I] Global init  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:118:GlobalInitInstalled() [I] Git Version: 2.30.2, Wire Protocol Version 2 Enabled (home: /var/lib/gitea/data/home)  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:119:GlobalInitInstalled() [I] AppPath: /usr/local/bin/gitea  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:120:GlobalInitInstalled() [I] AppWorkPath: /var/lib/gitea  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:121:GlobalInitInstalled() [I] Custom path: /var/lib/gitea/custom  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:122:GlobalInitInstalled() [I] Log path: /var/lib/gitea/log  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:123:GlobalInitInstalled() [I] Configuration file: /etc/gitea/app.ini  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:124:GlobalInitInstalled() [I] Run Mode: Prod  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:125:GlobalInitInstalled() [I] Gitea v1.19.0-rc0 built with GNU Make 4.1, go1.20.1 : bindata, sqlite, sqlite\_unlock\_notify  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …dules/setting/log.go:331:initLogFrom() [I] Gitea Log Mode: Console(Console:info)  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …dules/setting/log.go:286:generateNamedLogger() [I] Router Log: Console(console:info)  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …les/setting/cache.go:75:loadCacheFrom() [I] Cache Service Enabled  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …les/setting/cache.go:90:loadCacheFrom() [I] Last Commit Cache Service Enabled  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …s/setting/session.go:74:loadSessionFrom() [I] Session Service Enabled  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …s/storage/storage.go:175:initAttachments() [I] Initialising Attachment storage with type:  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …les/storage/local.go:45:NewLocalStorage() [I] Creating new Local Storage at /var/lib/gitea/data/attachments  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …s/storage/storage.go:165:initAvatars() [I] Initialising Avatar storage with type:  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …les/storage/local.go:45:NewLocalStorage() [I] Creating new Local Storage at /var/lib/gitea/data/avatars  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …s/storage/storage.go:191:initRepoAvatars() [I] Initialising Repository Avatar storage with type:  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …les/storage/local.go:45:NewLocalStorage() [I] Creating new Local Storage at /var/lib/gitea/data/repo-avatars  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …s/storage/storage.go:185:initLFS() [I] Initialising LFS storage with type:  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …les/storage/local.go:45:NewLocalStorage() [I] Creating new Local Storage at /var/lib/gitea/data/lfs  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …s/storage/storage.go:197:initRepoArchives() [I] Initialising Repository Archive storage with type:  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …les/storage/local.go:45:NewLocalStorage() [I] Creating new Local Storage at /var/lib/gitea/data/repo-archive  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …s/storage/storage.go:207:initPackages() [I] Initialising Packages storage with type:  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …les/storage/local.go:45:NewLocalStorage() [I] Creating new Local Storage at /var/lib/gitea/data/packages  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:143:GlobalInitInstalled() [I] SQLite3 support is enabled  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/common/db.go:21:InitDBEngine() [I] Beginning ORM engine initialization.  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/common/db.go:28:InitDBEngine() [I] ORM engine initialization attempt #1/10…  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 cmd/web.go:163:runWeb() [I] PING DATABASE mysql  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:148:GlobalInitInstalled() [W] Table system\_setting Column version db default is , struct default is 1  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:148:GlobalInitInstalled() [W] Table project column board\_type db type is INT(10) UNSIGNED, struct type is INT UNSIGNED  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:148:GlobalInitInstalled() [W] Table project column card\_type db type is INT(10) UNSIGNED, struct type is INT UNSIGNED  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:148:GlobalInitInstalled() [W] Table project column type db type is INT(10) UNSIGNED, struct type is INT UNSIGNED  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:149:GlobalInitInstalled() [I] ORM engine initialization successful!  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …xer/stats/indexer.go:38:populateRepoIndexer() [I] Populating the repo stats indexer with existing repositories  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …er/issues/indexer.go:173:func2() [I] [6420fc60-26] PID 1913129: Initializing Issue Indexer: bleve  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:89:syncAppConfForGit() [I] AppPath changed from ‘’ to ‘/usr/local/bin/gitea’  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:94:syncAppConfForGit() [I] CustomConf changed from ‘’ to ‘/etc/gitea/app.ini’  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:100:syncAppConfForGit() [I] re-sync repository hooks …  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:103:syncAppConfForGit() [I] re-write ssh public keys …  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 …y\_authorized\_keys.go:136:RewriteAllPublicKeys() [E] Unable to MkdirAll(/home/git/.ssh): mkdir /home/git: permission denied  
Mar 26 22:16:00 dub20 gitea[1913129]: 2023/03/26 22:16:00 routers/init.go:61:mustInit() [F] [Gitea - Code](http://code.gitea.io/gitea/models/asymkey.RewriteAllPublicKeys) failed: mkdir /home/git: permission denied  
Mar 26 22:16:00 dub20 systemd[1]: gitea.service: Main process exited, code=exited, status=1/FAILURE  
Mar 26 22:16:00 dub20 systemd[1]: gitea.service: Failed with result ‘exit-code’.
