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

OSError when rebuilding #209

Closed
myleswright2 opened this issue Jul 10, 2024 · 2 comments
Closed

OSError when rebuilding #209

myleswright2 opened this issue Jul 10, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@myleswright2
Copy link

Every time I rebuild my application, I see this error and have to destroy the application to fix it.

ERROR ==> 2024-07-09 16:59:52,719 platformsh.agent DEBUG Running: /etc/platform/commands/open 2024-07-09 16:59:52,808 root INFO Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt 2024-07-09 16:59:52,897 root INFO Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt 2024-07-09 16:59:56,914 platformsh.agent.service DEBUG Entering AppService.open 2024-07-09 16:59:56,915 platformsh.agent.service DEBUG Waiting for services to come online... 2024-07-09 16:59:56,920 platformsh.agent.service DEBUG All services are online. 2024-07-09 16:59:56,920 platformsh.agent.service INFO Initializing service... 2024-07-09 16:59:56,922 platformsh.agent ERROR Error in service config.py: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/platformsh/agent/__init__.py", line 37, in log_and_load yield load(**kwargs) File "/etc/platform/commands/open", line 17, in <module> endpoints = service.open(**kwargs) File "/usr/lib/python2.7/dist-packages/platformsh_app/service.py", line 1119, in open self.boot_initialize() File "/usr/lib/python2.7/dist-packages/platformsh_app/service.py", line 494, in boot_initialize self.fix_runit_perms() File "/usr/lib/python2.7/dist-packages/platformsh_app/service.py", line 484, in fix_runit_perms os.chown("/run/runit/app/supervise", -1, self.web_gid) OSError: [Errno 2] No such file or directory: '/run/runit/app/supervise' Traceback (most recent call last): File "/etc/platform/commands/open", line 17, in <module> endpoints = service.open(**kwargs) File "/usr/lib/python2.7/dist-packages/platformsh_app/service.py", line 1119, in open self.boot_initialize() File "/usr/lib/python2.7/dist-packages/platformsh_app/service.py", line 494, in boot_initialize self.fix_runit_perms() File "/usr/lib/python2.7/dist-packages/platformsh_app/service.py", line 484, in fix_runit_perms os.chown("/run/runit/app/supervise", -1, self.web_gid) OSError: [Errno 2] No such file or directory: '/run/runit/app/supervise'

@myleswright2 myleswright2 added the bug Something isn't working label Jul 10, 2024
@myleswright2
Copy link
Author

To fix this, I ran lando rebuild. It did not work every time but on the occasion that it pulled the app container, it did fix the issue.

@myleswright2
Copy link
Author

Closing; fixed by running lando rebuild

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant