Error upgrading to latest - 404 page not found

* Describe the bug

I have upgraded from 0.20 to latest (1.3.52) and after that I cannot access the system anymore. I get a 404 error message.

* Environment

  • NocoBase version: latest (1.3.52)
  • Database type and version: postgres 14
  • OS: linux
  • Deployment Methods: docker swarm
  • Docker image version: nocobase/nocobase:latest
  • NodeJS version:

* How To Reproduce

Expected behavior

Screenshots

Logs

ERR Association “collection” not found in model “uiSchemaTemplates” | meta={“err”:“Error: Association "collection" not found in model "uiSchemaTemplates"\n at traverseIncludeOption (/app/nocobase/node_modules/@nocobase/database/lib/eager-loading/eager-loading-tree.js:122:17)\n at EagerLoadingTree.buildFromSequelizeOptions (/app/nocobase/node_modules/@nocobase/database/lib/eager-loading/eager-loading-tree.js:157:5)\n at _Repository.find (/app/nocobase/node_modules/@nocobase/database/lib/repository.js:282:75)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async listWithNonPaged (/app/nocobase/node_modules/@nocobase/actions/lib/actions/list.js:89:16)\n at async list (/app/nocobase/node_modules/@nocobase/actions/lib/actions/list.js:96:5)\n at async triggerWorkflowActionMiddleware (/app/nocobase/node_modules/@nocobase/plugin-workflow-action-trigger/dist/server/ActionTrigger.js:46:7)\n at async dataTemplate (/app/nocobase/node_modules/@nocobase/server/lib/middlewares/data-template.js:36:3)”} module=uiSchemaTemplates submodule=list method=error-handler app=main reqId=329af657-0d21-4766-ab94-262097351174 dataSourceKey=main timestamp=2024-11-27 14:36:30

ERR response /api/uiSchemaTemplates:list?appends%5B%5D=collection&paginate=false | method=GET path=/api/uiSchemaTemplates:list?appends%5B%5D=collection&paginate=false res=[{“message”:“Association "collection" not found in model "uiSchemaTemplates"”}] action={“actionName”:“list”,“resourceName”:“uiSchemaTemplates”,“params”:{“appends”:[“collection”],“paginate”:“false”,“resourceName”:“uiSchemaTemplates”,“actionName”:“list”}} userId=1 status=500 cost=7 app=main reqId=329af657-0d21-4766-ab94-262097351174 bodySize=94 timestamp=2024-11-27 14:36:30

upgrade to 1.0 first: Major Update! NocoBase V1.0 Officially Released - NocoBase

Still the same error. As a matter a fact I have tried to start a fresh new install, created new database and different storage volume.

After installing i still get the 404 page.

I am using traefik as reverse proxy i wonder if that has anything to do with it.

i got it to work with a new installation. I reviewed and changed the compose file to match the current compose file template, created new database and volume.