Workspace from custom app not being installed on bench update

Hi!

I have an app with a custom workspace. The files are there, and in my dev environment, the updated workspace shows.

However, when I install the app to a server, the worksapace is not being updated. The workspace exists there already. I thought, it would be updated.

Even if I delete the workspace document before updating, the old workspace is restored after the update.

Any idea?
My frappe is: v14.47.2 (version-14-hotfix)

Best regards,
DoCa

1 Like

By “files are there” are you referring to the workspace files you created?

If not, then you probably need to add fixtures in your hooks for the custom workspace you created.
Then export those fixtures with the bench export fixtures command.

Push it to git and then you’ll be able to install the app with the workspace.

This can be done for any doctype records you want to be auto populated on install of the app. (It won’t bring the stores public/private files though.)

Hi void_moon,

thanks for your tip. I am referring to the workspace files being created. It is definitely there…
However, on re-installing the app with bench update, the workspace is not updated.

regards,
doCa

@doca bench migrate does all the patching of app files , not bench update

Thanks for all your Tips.

I had an old app (which I deleted from my git server) still on the server. :see_no_evil:
That app had a fixture for the workspace. After removing that app also from the server, it works as expected…