I’ve been using Docker builds to deploy and upgrade custom apps, following the guidelines from this reference.
While upgrading using the following apps.json, all other apps functioned properly, but HelpDesk stopped working.
I checked the /frappe-bench/sites/assets/helpdesk/desk directory and confirmed that the files mentioned in the console logs are present. However, for some reason, the system is unable to locate them.
Previously, upgrades to HelpDesk versions 1.4.0 and 1.5.0 were successful without any issues.
Can anyone help me identify the root cause?
@revant_one
Before installing new assets, I ran the following commands:
docker exec -it <redis-cache-container> redis-cli FLUSHALL
docker exec -it <redis-queue-container> redis-cli FLUSHALL
There don’t seem to be any asset-related issues with other apps like ERPNext or HRMS—only with HelpDesk.
It would be really helpful if you could install HelpDesk v1.6.0 on your system and check if you encounter any issues. This would help me confirm whether the problem is on my end or if it’s a HelpDesk-specific issue.
HelpDesk has been using Node.js 18 for the past two years, so it’s unlikely to be the issue. As, I’ve been using and upgrading HelpDesk for the last three months and that too using Node 20.x. Changing it now could impact other apps, ERPNext and HRMS, I’m running.
@revant_one
I have identified the issue as follows:
When using HelpDesk v1.5.0, the contents of the assets folder are:
However, after upgrading to HelpDesk v1.6.0, the contents of the assets folder change to:
It seems that HelpDesk assets are not being generated in v1.6.0. I suspect that some recent code changes in HelpDesk are preventing the asset creation. Since I have already attached my apps.json file in the issue description, we can confirm that HelpDesk is indeed included.
Can you help me determine why upgrading HelpDesk to v1.6.0 results in missing assets?
P.S - It would be really helpful if you could replicate the issue on your side.
I resolved the issue by running the following command in backend container:
bench build --app helpdesk --force
Since all other apps were building correctly, I only needed to manually trigger the build for HelpDesk.
However, I still believe there’s an issue in the HelpDesk codebase that is preventing its assets from being built automatically.