OS Name/Version: Arch Linux 7.0.12
Product Name/Version: 2.8 - 20260625.2
Problem Description: Amp update ends with fatal error. Appears related to themes.
Unsure if this damages current install version.
fatal: could not open ‘/home/amp/.ampdata/instances/ADS01/WebRoot/Themes/AMPThemes/.git/objects/pack/tmp_pack_N5NUiS’ for reading: No such file or directory
fatal: fetch-pack: invalid index-pack output
Steps to reproduce:
- Step 1 sudo su -l
- Step 2 getamp update
- Step 3 repeated this but ends with non-clean exit and fatal error.
Actions taken to resolve so far:
- I cleared data and cache under the store section and repeated update, but error continues. Also did online searches but haven’t found anything how to clear this error. I assume it is because the GIT location for the store is gone, but as there is nothing in the /home/amp/.ampdata/instances/ADS01/WebRoot/Themes/AMPThemes/ directory I am not sure where it is picking up to try to reinstall the theme.
Same issue, did you. manage to resolve it?
Nope. I looked on Discord and someone there also was having the issue but they never got a fix either.
There has to be a config file someplace that needs to be cleared, but I haven’t found it.
As the install is clean otherwise and runs without problem, I haven’t pursued it other than monitoring postings (and trying to help others where I can). The support folks here are a bit overwhelmed, so they don’t seem to monitor the forums as much and a ton of postings here never get responded to. Your more likely to get support on Discord under tech support…
If anyone does get a fix, make sure to post here though for future people as the forum is a lot easier to find solutions on via search than Discord.
Sorry I’ve personally been out sick the majority of the last two weeks.
You should be able to delete that AMPThemes folder and it’ll rebuild it fresh.
Did that per the note in discord (so did the other guy). Didn’t fix it.
Not being critical above…I know you guys do the best you can. That why I post periodically too.
To fix the issue do these steps:
Delete the themes folder and run the update again
after the update errors again then in the themes folder create the two folders AMPThemes and .git
run the update one last time and you will see the update populate the new folders with themes and git files
UPDATE: if you run the update after the folders populate they disappear and throws the error again, just fyi
2nd UPDATE: go to one of your other instances and copy the AMPThemes folder and contents over to your ADS01 themes folder and run the update. it should work as normal after that