api-umbrella icon indicating copy to clipboard operation
api-umbrella copied to clipboard

Development Setup Failing - "No such file or directory"

Open jaysboyd opened this issue 4 years ago • 5 comments

I am trying to setup a local api-umbrella development environment using the instructions here:https://api-umbrella.readthedocs.io/en/latest/developer/dev-setup.html .

I am working with an unmodified version of the master branch.

Running docker-compose up results fails with the following errors.

Any help is appreciated. Thank you!

`

  • mkdir -p /app/build/work/stage/opt/api-umbrella/embedded/apps/core/releases/0
  • rsync -a --delete-after --delete-excluded '--filter=:- /app/.gitignore' --include=/templates/etc/perp/.boot '--exclude=.' '--exclude=/templates/etc/test-env' '--exclude=/templates/etc/perp/test-env*' --exclude=/src/api-umbrella/web-app/spec --exclude=/src/api-umbrella/web-app/app/assets '--include=/bin/' '--include=/config/' --include=/LICENSE.txt '--include=/templates/' '--include=/src/' '--exclude=*' /app/ /app/build/work/stage/opt/api-umbrella/embedded/apps/core/releases/0/
  • mkdir -p /app/build/work/stage/opt/api-umbrella/embedded/apps/core/releases/0/build/dist
  • rsync -a --delete-after /app/build/work/tasks/app/admin-ui/build/_persist/dist/ /app/build/work/stage/opt/api-umbrella/embedded/apps/core/releases/0/build/dist/admin-ui/ rsync: change_dir "/app/build/work/tasks/app/admin-ui/build/_persist/dist" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2] task: Failed to run task "default": task: Failed to run task "all": task: Failed to run task "app": task: Failed to run task "app:core": exit status 23 Makefile:24: recipe for target 'task-passthrough' failed make: *** [task-passthrough] Error 1

`

jaysboyd avatar Jan 20 '21 16:01 jaysboyd

Hi.

I have the same problem. I'm trying to build API Umbrella using docker-compose.yml. However, running docker-compose up results fails with the same error.

TakashiAbe0309 avatar Aug 19 '21 02:08 TakashiAbe0309

Did you ever find a solution to this? I'm encountering the same problem. Thanks.

jaumetriay avatar Sep 18 '21 21:09 jaumetriay

Have any of you found a solution? I'm currently struggling with it and haven't found a workaround.

nicocanela avatar Feb 16 '23 18:02 nicocanela

It was also brought up on #481 but issue was closed with no replies. @GUI would you happen to know any piece of advice to fix it up?

nicocanela avatar Feb 16 '23 19:02 nicocanela

Unfortunately, we never moved past this issue. At the time of the original post, we were evaluating candidate solutions to simplify maintenance and enable us to add more functionality to our existing proxy. I am sure we would have found things we liked in api-umbrella but we didn't get off to a good start.

We ended up selecting the open source version of the Kong Gateway, https://docs.konghq.com/gateway/latest/. We had been using a OpenResty proxy before Kong so it was a pretty easy transition since they are both based on Nginx. One feature that we really liked was how Kong implemented plugins. The plugin structure made it easier to add new functionality and apply it to your site, service, or routes.

jaysboyd avatar Feb 17 '23 00:02 jaysboyd