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

Fix and add instructions to address local Docker deploy issues #84

Open
griff-rees opened this issue Apr 5, 2023 · 4 comments
Open
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@griff-rees
Copy link
Collaborator

griff-rees commented Apr 5, 2023

Deploying locally on a Mac (this doesn't seem to be an issue on the server) raises these errors:

...
-----------
 213603102
(1 row)

 setval
--------
   1460
(1 row)

ERROR:  could not extend file "base/28309/31037": No space left on device
HINT:  Check free disk space.
ERROR:  could not extend file "base/28309/31039": No space left on device
HINT:  Check free disk space.
ERROR:  could not extend file "base/28309/2606": No space left on device
HINT:  Check free disk space.
...
@griff-rees
Copy link
Collaborator Author

Clearing cache etc following the highest ranked answer on https://stackoverflow.com/questions/30604846/docker-error-no-space-left-on-device doesn't help. The default max docker image size on a local docker mac install may be the culprit. Trying out the suggestion in the Mac FAQ.

@griff-rees
Copy link
Collaborator Author

Screenshot 2023-04-22 at 09 32 49

@griff-rees
Copy link
Collaborator Author

Updating the virtual disk limit addressed that issue in a local deploy.

@griff-rees griff-rees self-assigned this Apr 22, 2023
@griff-rees griff-rees added the bug Something isn't working label Apr 22, 2023
@griff-rees
Copy link
Collaborator Author

Need to split this into multiple issues:

  • Instructions to run docker system prune to free up space
  • Add .dockerignore files to avoid extra build components
  • Export postgres docker images for import speed
    • x86 vs m1 compatibility/speed
    • Manage version of postgres

@griff-rees griff-rees added the documentation Improvements or additions to documentation label Aug 13, 2023
@griff-rees griff-rees added this to the Alpha release v0.1.12 milestone Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant