diff --git a/src/ai/backend/install/cli.py b/src/ai/backend/install/cli.py index f06146d7a7..571fcc92cc 100644 --- a/src/ai/backend/install/cli.py +++ b/src/ai/backend/install/cli.py @@ -59,11 +59,9 @@ async def install(self, dist_info: DistInfo) -> None: # prerequisites await ctx.check_prerequisites() # install - await ctx.install_halfstack() await ctx.install() # configure await ctx.configure() - await ctx.load_fixtures() # post-setup await ctx.dump_etcd_config() except asyncio.CancelledError: @@ -114,11 +112,9 @@ async def install(self, dist_info: DistInfo) -> None: dist_info.target_path = Path(value) await ctx.check_prerequisites() # install - await ctx.install_halfstack() await ctx.install() # configure await ctx.configure() - await ctx.load_fixtures() # post-setup await ctx.dump_etcd_config() except asyncio.CancelledError: diff --git a/src/ai/backend/install/context.py b/src/ai/backend/install/context.py index 12e3e6f395..a35f24ae5a 100644 --- a/src/ai/backend/install/context.py +++ b/src/ai/backend/install/context.py @@ -763,6 +763,7 @@ async def _verify_package(self, name: str, *, fat: bool) -> None: csum_path = dst_path.with_name(pkg_name + ".sha256") await self._validate_checksum(dst_path, csum_path) csum_path.unlink() + dst_path.chmod(0o755) dst_path.rename(dst_path.with_name(f"backendai-{name}")) async def _install_package(self, name: str, vpane: Vertical, *, fat: bool) -> None: