Hey guys, was just rebuilding my app to add a MaxMindDB API key and now all of a sudden the app wont rebuild and I’m not sure why it fails or what i need to do to fix it.
Here’s the log:
output.txt (3.1 KB)
The user crcoli7307 encountered a rebuild failure on bundle exec rake themes:update assets:precompile after adding a MaxMindDB API key. The issue was traced to a 401 error during a file download attempt in the discourse_ip_info.rb file, which occurred when trying to fetch the MaxMind database pfaffman. Initial troubleshooting involved removing plugins, but the problem persisted. Eventually, commenting out the MaxMind key resolved the issue, indicating a problem with the API key itself crcoli7307. darkpixlz admitted to providing an incorrect key, which was likely the root cause crcoli7307. The community noted that the error message could be improved to better indicate the issue with the API key.
Hey guys, was just rebuilding my app to add a MaxMindDB API key and now all of a sudden the app wont rebuild and I’m not sure why it fails or what i need to do to fix it.
Here’s the log:
output.txt (3.1 KB)
Can you share your app.yml file please?
Can you try rebuilding without plugin and seeing if the error persists? There is at least one broken plugin on this list.
I told him a bit ago to remove imgflip so I suggest he tries that
removing the broken plugin did not seem to fix the problem
I believe Falco meant to try rebuilding without any plugins at all.
Can you confirm you’ve tried this? It’s possible that more than one plugin has issues.
Sure i can try removing all the plugins and rebuilding
It’s going to be tedious but add plugins back one by one
even without plugins i get the same error
Add the plugins back and remove the maxmind from the app and then try?
I think the maxmind key should be in quotes ![]()
Well that would explain it.
Nope putting it in quotes still didnt fix it
Without any plugins right?
both with and without
Well this stretches beyond my understanding them.
it doesnt matter if it fails without plugins then theres a bigger problem
What you can do is try downloading a backup from the soonest and then reinstalling Discourse, to restore from the backup.
how am i supposed to do that without the app running??