Answer the question
In order to leave comments, you need to log in
How to install umami on heroku?
I decided to abandon third-party metrics in favor of umami (rather for educational purposes). It was not possible to install on a regular hosting (gino, timeweb). Required vds/vps. I also wanted to install a telegram bot from git . Also needed vds/vps. Moved to heroku. I made clones of the bot and umami on my github, I seem to do everything according to written instructions, but it didn’t work out.
Buildlog
/tmp/build_2bd02fd4/lang/ro-RO.json -> /tmp/build_2bd02fd4/build/ro-RO.json
/tmp/build_2bd02fd4/lang/ru-RU.json -> /tmp/build_2bd02fd4/build/ru-RU.json
/tmp/build_2bd02fd4/lang/sk-SK.json -> /tmp/build_2bd02fd4/build/sk-SK.json
/tmp/build_2bd02fd4/lang/sv-SE.json -> /tmp/build_2bd02fd4/build/sv-SE.json
/tmp/build_2bd02fd4/lang/ta-IN.json -> /tmp/build_2bd02fd4/build/ta-IN.json
/tmp/build_2bd02fd4/lang/tr-TR.json -> /tmp/build_2bd02fd4/build/tr-TR.json
/tmp/build_2bd02fd4/lang/uk-UA.json -> /tmp/build_2bd02fd4/build/uk-UA.json
/tmp/build_2bd02fd4/lang/zh-CN.json -> /tmp/build_2bd02fd4/build/zh-CN.json
/tmp/build_2bd02fd4/lang/zh-TW.json -> /tmp/build_2bd02fd4/build/zh-TW.json
$ formatjs compile-folder --ast build public/lang
$ node scripts/build-geo.js
Saved geo database: /tmp/build_2bd02fd4/public/geo/GeoLite2-Country.mmdb
$ npm-run-all copy-db-schema build-db-client
$ node scripts/copy-db-schema.js
/tmp/build_2bd02fd4/scripts/copy-db-schema.js:20
throw new Error('Missing or invalid database');
^
Error: Missing or invalid database
at Object.<anonymous> (/tmp/build_2bd02fd4/scripts/copy-db-schema.js:20:9)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "copy-db-schema" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "build-db" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
-----> Build failed
We're sorry this build is failing! You can troubleshoot common issues here:
https://devcenter.heroku.com/articles/troubleshooting-node-deploys
If you're stuck, please submit a ticket so we can help:
https://help.heroku.com/
Love,
Heroku
! Push rejected, failed to compile Node.js app.
! Push failed
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question