Using a local Modrinth .mrpack isn't working ("Failed to read modpack index: Archive is not a ZIP archive") #3210
-
Hello all. I'm new to using Docker (and running servers in general) but I recently got the opportunity to spin up a server on my old machine, and this looked like the perfect tool to do it. After several hours of trial and error, I finally decided to ask here and see if I was doing anything wrong that I hadn't noticed. Here is my docker-compose.yaml (with some redaction):
And here is the log I am getting from trying to run it:
You can find the .mrpack file here (I tried pulling from this online repo for ease of updating but that runs into the same issue). Am I doing anything obviously wrong? Am I misunderstanding how this works? I scoured the documentation and it seems to me that I'm doing everything correctly... In any case, I look forward to any help you all might be able to provide. Thanks. EDIT: I can't believe I forgot to mention this; Pulling from the Modrinth website works just fine, and so does using a vanilla install. I just run into this problem using my own file, so I personally suspect that I have done something wrong there. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Did you make sure to download the raw file (vs the github page) And is that mrpack file a zip file? |
Beta Was this translation helpful? Give feedback.
I now feel quite stupid.
For some unknown reason, when I downloaded the .mrpack file to my server, it deleted all of the data it contained, leaving a 0kb .mrpack file of the same name. I never noticed this, because I was using ssh from another machine and the terminal doesn't tell me the sizes of files when using ls (at least, not natively).
In any case, since it was obviously an issue with the file, I finally wizened up and used rsync to pull the file to my main machine and check it against the original, and promptly noticed the issue. I then directly copied a freshly exported file to the server (again using rsync) and then tried it again. It now works as expected (that is to say, it err…