I’m trying to edit or launch the app and get the crash page:
Oops! Something went wrong
Please try again using the button below.
If the issue persists, please contact us
The detailed description:
- About a week ago, before implementing the new features, I upgraded the appsmith server v1.7.1 → v1.7.8.
- I’m using Git Sync. There were many automatically added uncomment changes after the upgrading (100+). I created a branch, applied the changes, and merged to master.
- I added new functionality locally (new branch, PR, merge to master)
- I pulled the changes on the remote production server
- Then, I did additional changes on the remote server (new branch, PR, merge to master)
- I pulled the latest
master
changes on the local server. From the beginning, all was OK but later, I got the crash page when I tried to edit the application (themaster
branch). The launch worked OK.
Oops! Something went wrong
Please try again using the button below.
If the issue persists, please contact us
- At the same time, the edit mode opened without problems when I manually specified the other branch in the address line (e.g.
http://127.0.0.1/app/app-name/main-62dxxxxbb/edit?branch=other-branch
) - I thought that it was some “one-time strange error”, shut down the appsmith docker, deleted the
stacks
folder, and created all from the very beginning - created the organization and imported the application from the repository.- App imported OK and works without any problem
- I didn’t change the app since that time (non locally nor on the remote server)
- Today, I tried to open the app locally and got the crash on edit and on launch
- On the remote server, the launch works, but I get the crash on edit
- At the same time, I have one more application there. And it works absolutely fine (BUT, I didn’t apply automatically added system-generated uncomment changes yet).
I’ve analyzed the error a little, and I think that cause of the error might be because of the new organizationId
field, which was added to almost every file after the update:
"organizationId": "6239d62fcb54ff0bc4489b95",
- When I’m looking into the
/stacks/git-storage/
folder of the remote server, I can see the folder with such ID - When I’m looking into the
/stacks/git-storage/
folder of the local server - we have a different ID here - But, both apps on different servers use the same repository, and the repository ID is stored in files…
- Probably, when a server tries to load the application, it can’t find the specified organization.
Please see the attached logs also: 2022-07-27_appsmith-error-logs.zip - Google Drive