Closed KonstantinReido closed 2 years ago
My installation of v1.29.2 on Heroku produces a 500 server error when I try to pull up the dashboard. I've had to roll it back for now.
Same
Same
same here also, any fixes?
Heroku gives me:
We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy.
The same for v1.30.0 π
+1 same here on Heroku and same also on Railway.
As a "workaround", I ended up deploying to Vercel w/ a managed PostgreSQL database on Railway. Deploying everything to Railway didn't work w/ a custom script name for me (Umami didn't track a website usage when the script was renamed, despite TRACKER_SCRIPT_NAME
env variable being set.)
any solution
any solution
deploy to railway
any solution
Quickest (and probably laziest) fix: revert to the last stable version that works on Heroku. You won't need to change anything else!
Run:
git checkout 2b4ddb5388d6d9a3a1760f71acbe373acdb4dec5
(takes you to v1.28.0)
git push -f heroku HEAD:master
Works also on Railway but I think the Heroku trouble must be fixed or removed from the βHow to install Umamiβ because it simply doesnβt work.
We're going to revert to Next 12.1.0 in the next version until Heroku fixes their issues.
Fixed in version v1.31.0
@mikecao it's happened again with v1.36.1
π
On each request I see in logs:
2022-07-27T20:07:35.055637+00:00 app[web.1]: TypeError: (0 , react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV) is not a function
2022-07-27T20:07:35.055647+00:00 app[web.1]: at App (webpack-internal:///./pages/_app.js:68:96)
2022-07-27T20:07:35.055647+00:00 app[web.1]: at d (/app/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:33:498)
2022-07-27T20:07:35.055647+00:00 app[web.1]: at bb (/app/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:36:16)
2022-07-27T20:07:35.055648+00:00 app[web.1]: at a.b.render (/app/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:42:43)
2022-07-27T20:07:35.055648+00:00 app[web.1]: at a.b.read (/app/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:41:83)
2022-07-27T20:07:35.055650+00:00 app[web.1]: at Object.exports.renderToString (/app/node_modules/react-dom/cjs/react-dom-server.node.production.min.js:52:138)
2022-07-27T20:07:35.055650+00:00 app[web.1]: at Object.renderPage (/app/node_modules/next/dist/server/render.js:756:46)
2022-07-27T20:07:35.055651+00:00 app[web.1]: at Object.defaultGetInitialProps (/app/node_modules/next/dist/server/render.js:369:51)
2022-07-27T20:07:35.055651+00:00 app[web.1]: at Function.getInitialProps (webpack-internal:///./node_modules/next/dist/pages/_document.js:21:20)
2022-07-27T20:07:35.055651+00:00 app[web.1]: at Object.<anonymous> (/app/node_modules/next/dist/shared/lib/utils.js:103:33)
Also, I noticed that during system load was the next error:
2022-07-27T20:07:10.871243+00:00 app[web.1]: error - ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[7].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[7].use[2]!./node_modules/@fontsource/inter/400.css
2022-07-27T20:07:10.871252+00:00 app[web.1]: Error: Cannot find module 'postcss-rtlcss'
2022-07-27T20:07:10.871253+00:00 app[web.1]: Require stack:
2022-07-27T20:07:10.871254+00:00 app[web.1]: - /app/node_modules/next/dist/build/webpack/config/blocks/css/plugins.js
2022-07-27T20:07:10.871254+00:00 app[web.1]: - /app/node_modules/next/dist/build/webpack/config/blocks/css/index.js
2022-07-27T20:07:10.871255+00:00 app[web.1]: - /app/node_modules/next/dist/build/webpack/config/index.js
2022-07-27T20:07:10.871255+00:00 app[web.1]: - /app/node_modules/next/dist/build/webpack-config.js
2022-07-27T20:07:10.871255+00:00 app[web.1]: - /app/node_modules/next/dist/server/dev/hot-reloader.js
2022-07-27T20:07:10.871255+00:00 app[web.1]: - /app/node_modules/next/dist/server/dev/next-dev-server.js
2022-07-27T20:07:10.871256+00:00 app[web.1]: - /app/node_modules/next/dist/server/next.js
2022-07-27T20:07:10.871256+00:00 app[web.1]: - /app/node_modules/next/dist/server/lib/start-server.js
2022-07-27T20:07:10.871256+00:00 app[web.1]: - /app/node_modules/next/dist/cli/next-start.js
2022-07-27T20:07:10.871257+00:00 app[web.1]: - /app/scripts/start-env.js
2022-07-27T20:07:10.871257+00:00 app[web.1]: at Array.map (<anonymous>)
Environment: Heroku
@KonstantinReido We've upgraded to the latest version of Next.js in recent versions. We can't remain stuck on an old version just to support Heroku, especially since Heroku is the only provider that has this problem.
Your options are to:
Updated on the latest version 1.29.2. Deployed on Heroku. Faced with the next issue (appears on any request to my server)
Deployment logs: