Arnzok
10/25/2021, 8:34 AMJacopo
10/25/2021, 8:51 AMls -la
in the orchest
directory and report the result here?Arnzok
10/25/2021, 8:51 AMLambert@DESKTOP-1K50E6H MINGW64 /c/workspaces/orchest (master)
$ ls -la
total 293
drwxr-xr-x 1 Lambert 197121 0 oct. 25 09:34 ./
drwxr-xr-x 1 Lambert 197121 0 oct. 25 10:27 ../
-rw-r--r-- 1 Lambert 197121 236 oct. 25 09:28 .dockerignore
-rw-r--r-- 1 Lambert 197121 493 oct. 25 09:28 .flake8
drwxr-xr-x 1 Lambert 197121 0 oct. 25 09:33 .git/
-rw-r--r-- 1 Lambert 197121 14 oct. 25 09:28 .gitattributes
drwxr-xr-x 1 Lambert 197121 0 oct. 25 09:28 .github/
-rw-r--r-- 1 Lambert 197121 2486 oct. 25 09:28 .gitignore
-rw-r--r-- 1 Lambert 197121 7 oct. 25 09:28 .nvmrc
-rw-r--r-- 1 Lambert 197121 1032 oct. 25 09:28 .pre-commit-config.yaml
-rw-r--r-- 1 Lambert 197121 56 oct. 25 09:28 .prettierignore
-rw-r--r-- 1 Lambert 197121 268 oct. 25 09:28 .readthedocs.yaml
drwxr-xr-x 1 Lambert 197121 0 oct. 25 09:28 cypress/
drwxr-xr-x 1 Lambert 197121 0 oct. 25 09:28 docs/
drwxr-xr-x 1 Lambert 197121 0 oct. 25 09:28 lib/
-rw-r--r-- 1 Lambert 197121 35184 oct. 25 09:28 LICENSE
-rwxr-xr-x 1 Lambert 197121 2627 oct. 25 10:31 orchest*
drwxr-xr-x 1 Lambert 197121 0 oct. 25 09:28 orchest-sdk/
-rw-r--r-- 1 Lambert 197121 896 oct. 25 09:28 package.json
-rw-r--r-- 1 Lambert 197121 188372 oct. 25 09:28 pnpm-lock.yaml
-rw-r--r-- 1 Lambert 197121 152 oct. 25 09:28 pnpm-workspace.yaml
-rw-r--r-- 1 Lambert 197121 482 oct. 25 09:28 pyproject.toml
-rw-r--r-- 1 Lambert 197121 7029 oct. 25 09:28 README.md
drwxr-xr-x 1 Lambert 197121 0 oct. 25 09:28 scripts/
drwxr-xr-x 1 Lambert 197121 0 oct. 25 09:28 services/
-rw-r--r-- 1 Lambert 197121 424 oct. 25 09:28 tsconfig.json
drwxr-xr-x 1 Lambert 197121 0 oct. 25 09:28 userdir/
Jacopo
10/25/2021, 9:03 AMorchest version
or orchest version --ext
)
Moreover, are you launching Orchest with sudo? Just looking for nitpicks at the user or permissions levelArnzok
10/25/2021, 9:11 AMJacopo
10/25/2021, 9:15 AM./orchest debug --compress --ext
. It will write a debug named debug-dump.tar.gz
that does a number of checks to helps us troubleshoot. It might very well be that said command will give you an error because of the issue you are facing, either case we will get some more information.Arnzok
10/25/2021, 9:20 AMGenerating debug data: configuration.
Error during generation of debug data: configuration.
Generating debug data: containers version.
Generating debug data: containers logs.
Generating debug data: running containers.
Generating debug data: health check.
Generating debug data: database.
Generating debug data: celery.
Generating debug data: webserver.
cp: cannot create regular file '/orchest-host/debug-dump.tar.gz': No such file or directory
Complete! Wrote debug dump to: ./debug-dump.tar.gz
Yannick
10/25/2021, 9:23 AMorchest
file, like this: -v "//var/run/docker.sock:/var/run/docker.sock"
where is supposed to be the orchest-host folder ?The
orchest-host
get's mounted inside the orchest
file when starting the CLIJacopo
10/25/2021, 9:23 AMorchest
directory as orchest-host
, the error is pretty much telling me that Orchest is failing to mount the directoryArnzok
10/25/2021, 9:29 AMGenerating debug data: configuration.
Error during generation of debug data: configuration.
Generating debug data: containers version.
Generating debug data: containers logs.
Generating debug data: running containers.
Generating debug data: health check.
Generating debug data: database.
Generating debug data: celery.
Generating debug data: webserver.
cp: cannot create regular file '/orchest-host/debug-dump.tar.gz': No such file or directory
Complete! Wrote debug dump to: ./debug-dump.tar.gz
Jacopo
10/25/2021, 9:34 AMError during generation of debug data: configuration.
error tells us that the config directory mount is either
⢠failing
⢠the directory of the wrong user is being mounted, i.e. one that does not contain the config file
@Arnzok what do you get from echo "${XDG_CONFIG_HOME:-$HOME/.config}/orchest"
? Is the config file actually there?wsl2
Yannick
10/25/2021, 9:41 AMArnzok
10/25/2021, 9:42 AMLambert@DESKTOP-1K50E6H MINGW64 /c/workspaces/orchest (master)
$ ./orchest debug --compress --ext
/c/workspaces/orchest
/c/Users/Lambert/.config/orchest
/c/workspaces/orchest/userdir
linux
/c/Users/Lambert/.config/orchest
for : echo $DIR
echo $HOST_CONFIG_DIR
echo $HOST_USER_DIR
echo $HOST_OS
echo "${XDG_CONFIG_HOME:-$HOME/.config}/orchest"
Jacopo
10/25/2021, 9:42 AMArnzok
10/25/2021, 9:42 AMJacopo
10/25/2021, 9:44 AMArnzok
10/25/2021, 10:01 AMi still get the same error $ ./orchest start
Traceback (most recent call last):
File "/usr/local/bin/orchest", line 8, in <module>
sys.exit(__entrypoint())
File "/usr/local/lib/python3.8/site-packages/app/cli/main.py", line 84, in __entrypoint
typer_app()
File "/usr/local/lib/python3.8/site-packages/typer/main.py", line 214, in __call__
return get_command(self)(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1637, in invoke
super().invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/typer/main.py", line 500, in wrapper
return callback(**use_params) # type: ignore
File "/usr/local/lib/python3.8/site-packages/app/cli/start.py", line 50, in _default
reg(port, log_level, cloud, dev)
File "/usr/local/lib/python3.8/site-packages/app/cli/start.py", line 93, in reg
container_config = get_container_config(port, cloud, dev, log_level)
File "/usr/local/lib/python3.8/site-packages/app/spec.py", line 131, in get_container_config
config = get_reg_container_config(port, env)
File "/usr/local/lib/python3.8/site-packages/app/spec.py", line 168, in get_reg_container_config
env = utils.get_env()
File "/usr/local/lib/python3.8/site-packages/app/utils.py", line 50, in get_env
env["ORCHEST_HOST_GID"] = str(os.stat("/orchest-host/orchest").st_gid)
FileNotFoundError: [Errno 2] No such file or directory: '/orchest-host/orchest'
Jacopo
10/25/2021, 10:06 AMArnzok
10/25/2021, 10:13 AMJacopo
10/25/2021, 10:18 AMRick Lamers
10/25/2021, 10:39 AMgit clone <https://github.com/orchest/orchest>
and run your ./orchest ...
commands.Arnzok
10/25/2021, 10:47 AMRick Lamers
10/25/2021, 10:54 AMpip install -r requirements.txt
in the environment build script and have a requirements.txt in the root of the project (File Manager > projects > <your project> > requirements.txt). You can also add this file in the JupyterLab editor.Arnzok
10/25/2021, 10:55 AMJacopo
10/25/2021, 10:55 AM