-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syncing won't download files from container #630
Comments
@vroad thanks for reporting this issue! Regarding the fatal error in the newest version, I already fixed this and will rollout a new version pretty soon, thanks for finding and reporting this. Regarding the sync issue, it works for me with the php:7.1.31-fpm image. Could you share your devspace.yaml? In order for me to understand what could have gone wrong could you please also execute the following commands in two separate terminals:
Then send the output of the first command here please. |
Actually the command I used was
|
@vroad thanks for the output! The advantage of |
@vroad: Does the issue still exists when using the latest version of DevSpace? If yes, please provide further details on the sync configuration within your devspace.yaml. |
dev:
terminal:
labelSelector: &phpfpm-pod-selector
app: my-app
service: web-server
containerName: &container-name my-app-phpfpm
sync:
- labelSelector: *phpfpm-pod-selector
containerName: *container-name
localSubPath: ./
excludePaths:
- .git/
- .devspace/
- var/ I've tried |
This comment has been minimized.
This comment has been minimized.
@vroad I found the problem. The php-fpm container default working directory is /var/www/html and we have a bug on the server side with the exclude paths that they are not applied relative to the working directory. Hence the exclude path I will fix this and add this to the next release, which will come out today or tomorrow |
Should be fixed in v3.5.17 |
What happened?
Syncing upload files from local computer, but won't download files from container.
What did you expect to happen instead?
devspace download files from container as well.
How can we reproduce the bug? (as minimally and precisely as possible)
I tried syncing with phpfpm container
Local Environment:
Kubernetes Cluster:
Anything else we need to know?
minikube v1.3.0
devspace 3.5.12
I couldn't try 3.5.14 because both syncing and build is broken:
/kind bug
The text was updated successfully, but these errors were encountered: