What are the Slack Archives?
It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi, I have the docker spryker setup with docker-sync and the newest Spryker docker/sdk. Since the de
Hi,
I have the docker spryker setup with docker-sync and the newest Spryker docker/sdk.
Since the debug “-x” flag does not work anymore I have to use the debug cookie.
The Problem:
As soon as the debug session begins the code is frozen, so it is not synced anymore. When I quit the debugging session everything ist fine.
BUT when is start the debug session again the code is again in the state of the first debug session.
It looks like the Spryker debug thing is using a different codebase and is not synchronising my code there. =´(
Comments
-
@ULYHPR789 do you have any suggestions here?
0 -
Hi Fabian,
What OS do you use?
0 -
macOS, but a colleague of mine is using windows and has the same issue
0 -
I know the problem you’ve faced. However it is not reproducible on my side (MacOS). I thought it is Linux issue and CLI only. We have ticket for investigation. I will add that it is not related to OS.
However I have a workaround for you.
Change deploy.dev.yml (or copy to deploy.local.yml)
image: tag: spryker/php:7.3 php: ini: "opcache.revalidate_freq": 0 "opcache.enable_cli": 0 "opcache.enable": 0
run
docker/sdk boot deploy.dev.yml && docker/sdk up
Debugging should work fine. Do not forget to remove that after debugging. 🙂
0 -
Sadly this does not seem to work =(
0 -
It seems you have quite different case.
0 -
Should I write a Bug report?
0 -
I assume that is file sync. If so it is not point to create a bug.
docker/sdk sync logs
- follow if files you changed are synced inside.0 -
The Sync process works perfectly. I even checked the files inside the containers.
0 -
For visualisation purposes here a screen shot where the error occurs in a comment.
That means the code loaded by the error page is the correct one, but the code that got compiled was not (I think).
0 -
If opcache is really disabled (please check), there is no other caching mechanism.
0 -
Can I check it via cli somehow?
0 -
It looks like the Cache is still enabled :0
0 -
You lost
image:php:
look in my example. Sorry, validation is still WIP.0 -
Oh I see sry
0 -
It works :star-struck:
0 -
Tank you
0 -
@ULYHPR789 I am experiencing that syncing problem with xdebug on linux. Tried to apply your suggestion to deactivate opcache, but I cannot boot anymore then. It gets stuck at "Building generator...". Any hint?
0 -
No clue, Jochen. Try
docker/sdk boot -v deploy…
0 -
nothing
0 -
bash -x docker/sdk boot deploy…
0 -
And please list latest several commands when it stuck. Thanks.
0 -
Did it work before?
0 -
It seems generator fails or does not push on host.
0 -
wait sorry my bad, new shot coming
0 -
stuck there, does not exit
0 -
That’s docker issue.
If you can restart docker deamon and prune - do that.0 -
will try later, thanks
0 -
i think my vpn connection went crazy and blocked some docker stuff. works now, thank you!
0 -
Glad it is ok now
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random