Hello

I've tried to move all existing repos with largefiles enable from old server (Debian 8.11 HG 3.1.2) to new one (Debian 10 HG 4.8.2)

That what I've done is to move with rsync but have problem with user pushes in repos with largefiles:

|mod_wsgi (pid=3945): Exception occurred processing WSGI script '/var/www/vhost/hg/cgi-bin/hgwebdir.w Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mercurial/hgweb/hgwebdir_mod.py", line 352, in run_wsgi for r in self._runwsgi(req, res): File "/usr/lib/python2.7/dist-packages/mercurial/hgweb/hgweb_mod.py", line 307, in run_wsgi for r in self._runwsgi(req, res, repo): File "/usr/lib/python2.7/dist-packages/mercurial/hgweb/hgweb_mod.py", line 333, in _runwsgi rctx, req, res, self.check_perm) File "/usr/lib/python2.7/dist-packages/mercurial/wireprotoserver.py", line 221, in handlewsgireque _callhttp(repo, req, res, proto, cmd) File "/usr/lib/python2.7/dist-packages/mercurial/wireprotoserver.py", line 436, in _callhttp rsp = wireprotov1server.dispatch(repo, proto, cmd) File "/usr/lib/python2.7/dist-packages/mercurial/wireprotov1server.py", line 74, in dispatch return func(repo, proto, *args) File "/usr/lib/python2.7/dist-packages/mercurial/wireprotov1server.py", line 196, in batch result = func(repo, proto, *[data[k] for k in keys]) File "/usr/lib/python2.7/dist-packages/hgext/largefiles/proto.py", line 89, in statlfile filename = lfutil.findfile(repo, sha) File "/usr/lib/python2.7/dist-packages/hgext/largefiles/lfutil.py", line 111, in findfile elif inusercache(repo.ui, hash): File "/usr/lib/python2.7/dist-packages/hgext/largefiles/lfutil.py", line 100, in inusercache path = usercachepath(ui, hash) File "/usr/lib/python2.7/dist-packages/hgext/largefiles/lfutil.py", line 71, in usercachepath return os.path.join(_usercachedir(ui), hash) File "/usr/lib/python2.7/dist-packages/hgext/largefiles/lfutil.py", line 97, in _usercachedir raise error.Abort(_('unknown %s usercache location') % name) Abort: unknown largefiles usercache location|

Also tried with clone old-repo >> push new-repo but again HTTP 500 error as above

--

*Best regards: D.Maznekov*
DevTeam ThermalVision department
Senior IT
Optix Co. Bulgaria
www.optixco.com


---------------------------------------------------------------------------------------
OPTIX Co. Disclaimer ISO 27001:2013 [ F1 ]
This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail
in error, please notify the sender by replying to this message and delete this 
e-mail immediately.
OPTIX Co. is an industry leader in the field of optics, opto-mechanical devices and opto-electronic systems.We provide the most comprehensive solutions of custom designs for both civil and defense application.

-----------------------------------------------------------------------------------------
_______________________________________________
Mercurial mailing list
[email protected]
https://www.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to