How to let Gitea root access repository store on remote virtual drive

Hi :slight_smile:
I setup a Gitea on windows 2012 server and want let gitea using remote disk storage which is windows network drives (e.g. w:\gitrepos).
I already specific ROOT in app.ini as below.
[repository]
ROOT = W:/gitrepos1

But when I did create repository via Gitea webgUI got 500 error. and log show.
[…routers/repo/repo.go:146 handleCreateError()] [E] CreatePost: initRepository: InitRepository: chdir W:\gitrepos1\itadmin\test1.git: The system cannot find the path specified.

Please advise.

Regards,
Bowman

I using Gitea 1.4.2 , windows 2012 r2 server.
I tried to using mklink command to creating symbolic links on networked drive that still no useful.
It seems Gitea have problems on access network drive.

D:>mklink /D “d:\gitrepos1” “W:\gitrepos1”
symbolic link created for d:\gitrepos1 <<===>> W:\gitrepos1

D:>net use
New connections will be remembered.
Status Local Remote Network

              W:        \\xyz\gitprod1            xyz Network

The command completed successfully.

#gitea.log
2018/06/13 08:36:53 [I] Log Mode: File(Info)
2018/06/13 08:36:53 [I] XORM Log Mode: File(Info)
2018/06/13 08:36:53 [I] Cache Service Enabled
2018/06/13 08:36:53 [I] Session Service Enabled
2018/06/13 08:36:53 [I] Git Version: 2.16.2
2018/06/13 08:36:54 [I] SQLite3 Supported
2018/06/13 08:36:54 [I] Run Mode: Production
2018/06/13 08:36:55 [I] Listen: http://0.0.0.0:80
2018/06/13 08:36:55 [I] LFS server enabled
2018/06/13 08:38:08 […routers/repo/repo.go:146 handleCreateError()] [E] CreatePost: initRepository: InitRepository: chdir D:\gitrepos1\itadmin\test1.git: The system cannot find the path specified.
2018/06/13 08:38:59 […routers/repo/repo.go:146 handleCreateError()] [E] CreatePost: initRepository: InitRepository: chdir D:\gitrepos1\itadmin\test1.git: The system cannot find the path specified.