You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first start up after an upgrade results in errors from the ".next" "chunks".
I suspect this is because the 'cached'/'generated' page still exists in the .next folder, but the code itself has changed and some of the dynamic pieces is trying to use an old 'chunk'. I think likely there just has to be a process to remove the '.next' folder when doing an upgrade from one version to the next perhaps?
Got this error repeated in the logs until I first logged in
karrio.dashboard | [auth][error] UnknownAction: Cannot parse action at /api/auth/_log. Read more at https://errors.authjs.dev#unknownaction
karrio.dashboard | at /app/.next/server/chunks/8481.js:1:79564
karrio.dashboard | at nr (/app/.next/server/chunks/8481.js:1:79734)
karrio.dashboard | at ca (/app/.next/server/chunks/8481.js:1:178046)
karrio.dashboard | at t (/app/.next/server/chunks/8481.js:1:188408)
karrio.dashboard | at /app/.next/server/app/api/auth/[...nextauth]/route.js:1:4071
karrio.dashboard | at s (/app/.next/server/chunks/4084.js:1:32311)
karrio.dashboard | at /app/.next/server/app/api/auth/[...nextauth]/route.js:1:4063
karrio.dashboard | at status (/app/.next/server/chunks/4084.js:1:29071)
karrio.dashboard | at s (/app/.next/server/chunks/4084.js:1:32311)
karrio.dashboard | at /app/.next/server/chunks/4084.js:1:29065
I believe it is probably just 'stale' generated nextjs stuff? Could there be a step in the migration to clear the nextjs cache (i.e. rm .next) so it will rebuild on first hit -- or, do we want to force the build of the nextjs system whenever a new image is spun up?
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Oh, and I think this is likely also I had a tab open that was redirected to the login page as well and perhaps there is some script in the auth.js stuff which is trying to do the refreshes or something?
Describe the bug
The first start up after an upgrade results in errors from the ".next" "chunks".
I suspect this is because the 'cached'/'generated' page still exists in the .next folder, but the code itself has changed and some of the dynamic pieces is trying to use an old 'chunk'. I think likely there just has to be a process to remove the '.next' folder when doing an upgrade from one version to the next perhaps?
Got this error repeated in the logs until I first logged in
I believe it is probably just 'stale' generated nextjs stuff? Could there be a step in the migration to clear the nextjs cache (i.e. rm .next) so it will rebuild on first hit -- or, do we want to force the build of the nextjs system whenever a new image is spun up?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: