rtCamp / Frappe-Manager

A CLI tool based on Docker Compose to easily manage Frappe based projects.
MIT License
109 stars 23 forks source link

Custom App was installed but not functional #104

Closed bberppub closed 7 months ago

bberppub commented 7 months ago

Describe the bug I used the solution in FAQ to install some custom app ,the terminal shown it's OK ,but in the site ,the custom apps were not functional and not show in the about list. 微信截图_20240124165951 image image

To Reproduce Steps to reproduce the behavior:

  1. Jump into he frappe docker with "fm shell erpnext",(Site name is "erpnext")
  2. clone the custom apps in the /workspace
  3. bench get-app /workspace/{custom-app}
  4. bench migrate
  5. bench clear-cache

Expected behavior The app should be shown in the "About" card, and should be functional.

System information (please complete the following information):

Attach log [2024-01-24 16:34:53,304] DEBUG: {"Command":"\"docker-entrypoint.s…\"","CreatedAt":"2024-01-24 15:44:17 +0800 CST","ExitCode":0,"Health":"","ID":"5ceb1f7ba918","Image":"redis:alpine","Labels":"com.docker.compose.project=erpnextlocalhost,com.docker.compose.project.config_files=/home/viso/frappe/sites/erpnext.localhost/docker-compose.yml,com.docker.compose.service=redis-cache,com.docker.compose.version=2.24.1,com.docker.compose.config-hash=018933a68318bbd3b21a8e246056370aa78ac069af7d7c4731caf0c0c1193d5f,com.docker.compose.container-number=1,com.docker.compose.depends_on=,com.docker.compose.image=sha256:3900abf4155226f3f62401054b872ce0c85b5c3b47275cae3d16a39c8646e36b,com.docker.compose.oneoff=False,com.docker.compose.project.working_dir=/home/viso/frappe/sites/erpnext.localhost","LocalVolumes":"1","Mounts":"erpnextlocalho…","Name":"erpnextlocalhost-redis-cache","Names":"erpnextlocalhost-redis-cache","Networks":"erpnextlocalhost_default","Ports":"0.0.0.0:32791-\u003e6379/tcp, :::32791-\u003e6379/tcp","Project":"erpnextlocalhost","Publishers":[{"URL":"0.0.0.0","TargetPort":6379,"PublishedPort":32791,"Protocol":"tcp"},{"URL":"::","TargetPort":6379,"PublishedPort":32791,"Protocol":"tcp"}],"RunningFor":"50 minutes ago","Service":"redis-cache","Size":"0B","State":"running","Status":"Up 3 minutes"} [2024-01-24 16:34:53,304] DEBUG: {"Command":"\"docker-entrypoint.s…\"","CreatedAt":"2024-01-24 15:44:17 +0800 CST","ExitCode":0,"Health":"","ID":"f6d0247fd140","Image":"redis:alpine","Labels":"com.docker.compose.project=erpnextlocalhost,com.docker.compose.project.working_dir=/home/viso/frappe/sites/erpnext.localhost,com.docker.compose.container-number=1,com.docker.compose.image=sha256:3900abf4155226f3f62401054b872ce0c85b5c3b47275cae3d16a39c8646e36b,com.docker.compose.oneoff=False,com.docker.compose.project.config_files=/home/viso/frappe/sites/erpnext.localhost/docker-compose.yml,com.docker.compose.service=redis-queue,com.docker.compose.version=2.24.1,com.docker.compose.config-hash=13c8106f7410c4f6baba67b75594b12b1b79a159adcf2eed2ed2d5d55fa4a10a,com.docker.compose.depends_on=","LocalVolumes":"1","Mounts":"erpnextlocalho…","Name":"erpnextlocalhost-redis-queue","Names":"erpnextlocalhost-redis-queue","Networks":"erpnextlocalhost_default","Ports":"0.0.0.0:32792-\u003e6379/tcp, :::32792-\u003e6379/tcp","Project":"erpnextlocalhost","Publishers":[{"URL":"0.0.0.0","TargetPort":6379,"PublishedPort":32792,"Protocol":"tcp"},{"URL":"::","TargetPort":6379,"PublishedPort":32792,"Protocol":"tcp"}],"RunningFor":"50 minutes ago","Service":"redis-queue","Size":"0B","State":"running","Status":"Up 3 minutes"} [2024-01-24 16:34:53,304] DEBUG: {"Command":"\"docker-entrypoint.s…\"","CreatedAt":"2024-01-24 15:44:17 +0800 CST","ExitCode":0,"Health":"","ID":"5ad2dcab29c9","Image":"redis:alpine","Labels":"com.docker.compose.version=2.24.1,com.docker.compose.depends_on=,com.docker.compose.project=erpnextlocalhost,com.docker.compose.project.config_files=/home/viso/frappe/sites/erpnext.localhost/docker-compose.yml,com.docker.compose.project.working_dir=/home/viso/frappe/sites/erpnext.localhost,com.docker.compose.service=redis-socketio,com.docker.compose.config-hash=512068594b4c883a7d76bfe8ad696afb6fd328bd48b9005169dcf5fcd6cd95b2,com.docker.compose.container-number=1,com.docker.compose.image=sha256:3900abf4155226f3f62401054b872ce0c85b5c3b47275cae3d16a39c8646e36b,com.docker.compose.oneoff=False","LocalVolumes":"1","Mounts":"erpnextlocalho…","Name":"erpnextlocalhost-redis-socketio","Names":"erpnextlocalhost-redis-socketio","Networks":"erpnextlocalhost_default","Ports":"0.0.0.0:32793-\u003e6379/tcp, :::32793-\u003e6379/tcp","Project":"erpnextlocalhost","Publishers":[{"URL":"0.0.0.0","TargetPort":6379,"PublishedPort":32793,"Protocol":"tcp"},{"URL":"::","TargetPort":6379,"PublishedPort":32793,"Protocol":"tcp"}],"RunningFor":"50 minutes ago","Service":"redis-socketio","Size":"0B","State":"running","Status":"Up 3 minutes"}

bberppub commented 7 months ago

I am a big fool , I need to 'bench install' the 3rd part app to make it functional ,my bad