No such file or directory on importing repository exported from

Hi all,

I’m trying to achieve export project from to our gitlab CE server (running v. 10.8.3).

Short story - import gitlab export (in tar.gz) format which has been unpacked and then back tar gzipped fails everytime. Even when I try just unpack and repack the original file I’m getting weird errors during the import:

Error importing repository into lpravda/po - No such file or directory @ rb_sysopen - [REPO EXPORT PATH]/lpravda/po/90da80c591c77743a94ceaf4efe713e8/VERSION (the 90da…) directory is arbitrary and changes with every repack.

Long story: I’d like to export repository while preserving authorship of issues, which to my understanding is done by email matching. The problem is that some users are using different email-addresses in the than in our gitlab server, which cannot be changed in the or our server (no ideal why). So my idea was that I unpack the *.tar.gz file. modify the project.json file to reflect user-email address mapping to reflect authorship at our gitlab server. Then tar.gz the whole thing and import it, however I’m getting this supper weird error and I have no idea what is happening.

Hope that makes sense.