Skip to content
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

Update doesn't work in case of strapi running on docker container #22

Closed
rmssoftwaretech opened this issue May 23, 2018 · 9 comments
Closed

Comments

@rmssoftwaretech
Copy link

Update doesn't work in case of strapi running on docker container. Doesn't update the record or the image attached.

1 | [2018-05-23T01:53:12.539Z] debug GET /content-manager/explorer/events/5b047065098ddd77ae3c4307?source=content-manager (48 ms)
api_1 | [2018-05-23T01:53:12.547Z] debug GET /content-manager/layout?source=content-manager (25 ms)
api_1 | [2018-05-23T01:53:19.538Z] error this.updateRelations is not a function
api_1 | [2018-05-23T01:53:19.540Z] debug PUT /content-manager/explorer/events/5b047065098ddd77ae3c4307?source=content-manager (42 ms)

@lucaperret
Copy link
Contributor

Hello @rmssoftwaretech, do you try to upload files ?

@rmssoftwaretech
Copy link
Author

Regular update is not working. It displays the original data.

@lucaperret
Copy link
Contributor

Have you tried outside of the container ?

@rmssoftwaretech
Copy link
Author

Yeah it works fine outside the container. !!

@rmssoftwaretech
Copy link
Author

It fails with the error in container : error this.updateRelations is not a function

@lucaperret
Copy link
Contributor

Could you try to use the 3.0.0-alpha.12 as it's the version used in this docker image.

@lucaperret
Copy link
Contributor

Could you retry with the last docker image that includes the v3.0.0-alpha.12.4 ?

@manishsg
Copy link

Sure. Let me try and confirm if it works. Thanks

@lucaperret
Copy link
Contributor

This is more linked to the core Strapi's package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants