question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Installation]: MLRun 1.0.4 with Jupyter notebook (via Compose)

See original GitHub issue

Installation check

Installation OS

Windows

Installation Method

Docker

Kubernetes Cluster Type

N/A - Docker

MLRun Kit Helm Chart Version

v3io-stable/mlrun-kit 0.3.3 MLRUn Open Source Stack

Issue Description

I installed MLRun with MLRun Jupyter image (based on see https://docs.mlrun.org/en/latest/install/local-docker.html#use-mlrun-with-mlrun-jupyter-image) all was fine with TAG-1.0.2 but it was a issue in case of use TAG-1.0.4 (in file ‘compose.with-jupyter.yaml’).

It was not possible to run Jupyter notebook (via http://localhost:8888/)

I attached log see docker-compose-TAG-1.0.4-with-Jupyter-log.txt

You can see in log a few warnings and errors (the file ‘mlrun.db’ was not created).

Installation Logs

C:\Users\jiri.steuer>set HOST_IP=127.0.0.1

C:\Users\jiri.steuer>set SHARED_DIR=c:\apps\mlrun-data

C:\Users\jiri.steuer>mkdir c:\apps\mlrun-data
A subdirectory or file c:\apps\mlrun-data already exists.

C:\Users\jiri.steuer>docker-compose -f "c:\Apps\Desktop Docker Tools\compose.with-jupyter.yaml" up
time="2022-08-13T17:46:40+02:00" level=warning msg="Found orphan containers ([desktopdockertools-mlrun-api-1]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up."
[+] Running 3/3
 - Container desktopdockertools-mlrun-ui-1  Recreated                                                              0.2s
 - Container desktopdockertools-jupyter-1   Recreated                                                              0.3s
 - Container desktopdockertools-nuclio-1    Created                                                                0.0s
Attaching to desktopdockertools-jupyter-1, desktopdockertools-mlrun-ui-1, desktopdockertools-nuclio-1
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: using the "epoll" event method
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: nginx/1.20.2
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: built by gcc 10.3.1 20210424 (Alpine 10.3.1_git20210424)
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: OS: Linux 5.10.16.3-microsoft-standard-WSL2
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: getrlimit(RLIMIT_NOFILE): 1048576:1048576
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: start worker processes
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: start worker process 11
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: start worker process 12
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: start worker process 13
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: start worker process 14
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: start worker process 15
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: start worker process 16
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: start worker process 17
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: start worker process 18
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: start worker process 19
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: start worker process 20
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: start worker process 21
desktopdockertools-mlrun-ui-1  | 2022/08/13 15:46:43 [notice] 10#10: start worker process 22
desktopdockertools-nuclio-1    | Running in parallel
desktopdockertools-nuclio-1    | Starting dashboard
desktopdockertools-nuclio-1    | Starting nginx
desktopdockertools-nuclio-1    | 22.08.13 15:46:43.801 hboard.healthcheck.server (I) Listening {"listenAddress": ":8082"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:43.802 rd.platform.docker.runner (D) Executing {"command": "docker version --format \"{{json .}}\""}
desktopdockertools-nuclio-1    | 22.08.13 15:46:43.879 rd.platform.docker.runner (D) Command executed successfully {"output": "{\"Client\":{\"Platform\":{\"Name\":\"Docker Engine - Community\"},\"Version\":\"19.03.14\",\"ApiVersion\":\"1.40\",\"DefaultAPIVersion\":\"1.40\",\"GitCommit\":\"5eb3275\",\"GoVersion\":\"go1.13.15\",\"Os\":\"linux\",\"Arch\":\"amd64\",\"BuildTime\":\"Tue Dec  1 19:14:24 2020\",\"Experimental\":false},\"Server\":{\"Platform\":{\"Name\":\"Docker Desktop 4.9.0 (80466)\"},\"Components\":[{\"Name\":\"Engine\",\"Version\":\"20.10.16\",\"Details\":{\"ApiVersion\":\"1.41\",\"Arch\":\"amd64\",\"BuildTime\":\"Thu May 12 09:15:42 2022\",\"Experimental\":\"false\",\"GitCommit\":\"f756502\",\"GoVersion\":\"go1.17.10\",\"KernelVersion\":\"5.10.16.3-microsoft-standard-WSL2\",\"MinAPIVersion\":\"1.12\",\"Os\":\"linux\"}},{\"Name\":\"containerd\",\"Version\":\"1.6.4\",\"Details\":{\"GitCommit\":\"212e8b6fa2f44b9c21b2798135fc6fb7c53efc16\"}},{\"Name\":\"runc\",\"Version\":\"1.1.1\",\"Details\":{\"GitCommit\":\"v1.1.1-0-g52de29d\"}},{\"Name\":\"docker-init\",\"Version\":\"0.19.0\",\"Details\":{\"GitCommit\":\"de40ad0\"}}],\"Version\":\"20.10.16\",\"ApiVersion\":\"1.41\",\"MinAPIVersion\":\"1.12\",\"GitCommit\":\"f756502\",\"GoVersion\":\"go1.17.10\",\"Os\":\"linux\",\"Arch\":\"amd64\",\"KernelVersion\":\"5.10.16.3-microsoft-standard-WSL2\",\"BuildTime\":\"2022-05-12T09:15:42.000000000+00:00\"}}\n", "stderr": "", "exitCode": 0}
desktopdockertools-nuclio-1    | 22.08.13 15:46:43.879 rd.platform.docker.runner (D) Executing {"command": "docker version --format \"{{json .}}\""}
desktopdockertools-nuclio-1    | 22.08.13 15:46:43.949 rd.platform.docker.runner (D) Command executed successfully {"output": "{\"Client\":{\"Platform\":{\"Name\":\"Docker Engine - Community\"},\"Version\":\"19.03.14\",\"ApiVersion\":\"1.40\",\"DefaultAPIVersion\":\"1.40\",\"GitCommit\":\"5eb3275\",\"GoVersion\":\"go1.13.15\",\"Os\":\"linux\",\"Arch\":\"amd64\",\"BuildTime\":\"Tue Dec  1 19:14:24 2020\",\"Experimental\":false},\"Server\":{\"Platform\":{\"Name\":\"Docker Desktop 4.9.0 (80466)\"},\"Components\":[{\"Name\":\"Engine\",\"Version\":\"20.10.16\",\"Details\":{\"ApiVersion\":\"1.41\",\"Arch\":\"amd64\",\"BuildTime\":\"Thu May 12 09:15:42 2022\",\"Experimental\":\"false\",\"GitCommit\":\"f756502\",\"GoVersion\":\"go1.17.10\",\"KernelVersion\":\"5.10.16.3-microsoft-standard-WSL2\",\"MinAPIVersion\":\"1.12\",\"Os\":\"linux\"}},{\"Name\":\"containerd\",\"Version\":\"1.6.4\",\"Details\":{\"GitCommit\":\"212e8b6fa2f44b9c21b2798135fc6fb7c53efc16\"}},{\"Name\":\"runc\",\"Version\":\"1.1.1\",\"Details\":{\"GitCommit\":\"v1.1.1-0-g52de29d\"}},{\"Name\":\"docker-init\",\"Version\":\"0.19.0\",\"Details\":{\"GitCommit\":\"de40ad0\"}}],\"Version\":\"20.10.16\",\"ApiVersion\":\"1.41\",\"MinAPIVersion\":\"1.12\",\"GitCommit\":\"f756502\",\"GoVersion\":\"go1.17.10\",\"Os\":\"linux\",\"Arch\":\"amd64\",\"KernelVersion\":\"5.10.16.3-microsoft-standard-WSL2\",\"BuildTime\":\"2022-05-12T09:15:42.000000000+00:00\"}}\n", "stderr": "", "exitCode": 0}
desktopdockertools-nuclio-1    | 22.08.13 15:46:43.949                 dashboard (D) Initializing platform {"platformType": "local"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:43.949 dashboard.platform.docker (D) Executing in container {"containerID": "nuclio-local-storage-reader", "execOptions": {"Command":"/bin/sh -c \"/bin/cat /etc/nuclio/store/projects/nuclio/default.json\"","Stdout":"","Stderr":"","Env":null}}
desktopdockertools-nuclio-1    | 22.08.13 15:46:43.949 rd.platform.docker.runner (D) Executing {"command": "docker exec  nuclio-local-storage-reader /bin/sh -c \"/bin/cat /etc/nuclio/store/projects/nuclio/default.json\""}
desktopdockertools-nuclio-1    | 22.08.13 15:46:44.004 rd.platform.docker.runner (D) Failed to execute command {"output": "Error: No such container: nuclio-local-storage-reader\n", "stderr": "", "exitCode": 1, "err": "exit status 1"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:44.007 dashboard.platform.docker (D) Failed to execute command in container {"err": "stdout:\nError: No such container: nuclio-local-storage-reader\n\nstderr:\n", "errVerbose": "\nError - exit status 1\n    /nuclio/pkg/cmdrunner/shellrunner.go:96\n\nCall stack:\nstdout:\nError: No such container: nuclio-local-storage-reader\n\nstderr:\n\n    /nuclio/pkg/cmdrunner/shellrunner.go:96\nstdout:\nError: No such container: nuclio-local-storage-reader\n\nstderr:\n", "stdout": "Error: No such container: nuclio-local-storage-reader\n", "stderr": ""}
desktopdockertools-nuclio-1    | 22.08.13 15:46:44.008 dashboard.platform.docker (D) Running container {"imageName": "gcr.io/iguazio/alpine:3.15", "runOptions": {"Ports":null,"ContainerName":"nuclio-local-storage-reader","Env":null,"Labels":null,"Volumes":{"nuclio-local-storage":"/etc/nuclio/store"},"Remove":true,"Command":"/bin/sh -c \"/bin/sleep 6h\"","Stdout":"","Stderr":null,"Attach":false,"ImageMayNotExist":true,"Network":"","RestartPolicy":null,"GPUs":"","MountPoints":null,"RunAsUser":null,"RunAsGroup":null,"FSGroup":null}}
desktopdockertools-nuclio-1    | 22.08.13 15:46:44.008 rd.platform.docker.runner (D) Executing {"command": "docker run -d --rm --name nuclio-local-storage-reader --volume nuclio-local-storage:/etc/nuclio/store  gcr.io/iguazio/alpine:3.15 /bin/sh -c \"/bin/sleep 6h\""}
desktopdockertools-jupyter-1   | Executing the command: jupyter lab --ip=0.0.0.0 --port=8888 --NotebookApp.token= --NotebookApp.password= --NotebookApp.default_url=/lab
desktopdockertools-nuclio-1    | 22.08.13 15:46:44.963 rd.platform.docker.runner (D) Command executed successfully {"output": "dec1845b54700382b540edae3bf9c86d0cc4efa7cb2f07030cc8aefc9ec3665e\n", "stderr": "", "exitCode": 0}
desktopdockertools-nuclio-1    | 22.08.13 15:46:44.964 dashboard.platform.docker (D) Executing in container {"containerID": "nuclio-local-storage-reader", "execOptions": {"Command":"/bin/sh -c \"/bin/cat /etc/nuclio/store/projects/nuclio/default.json\"","Stdout":"","Stderr":"","Env":null}}
desktopdockertools-nuclio-1    | 22.08.13 15:46:44.964 rd.platform.docker.runner (D) Executing {"command": "docker exec  nuclio-local-storage-reader /bin/sh -c \"/bin/cat /etc/nuclio/store/projects/nuclio/default.json\""}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.169 rd.platform.docker.runner (D) Command executed successfully {"output": "eyJtZXRhIjp7Im5hbWUiOiJkZWZhdWx0IiwibmFtZXNwYWNlIjoibnVjbGlvIn0sInNwZWMiOnt9LCJzdGF0dXMiOnsidXBkYXRlZEF0IjoiMjAyMi0wNi0xNlQxNTo1NzowNS44NTM0OTYzMzhaIn19\n", "stderr": "", "exitCode": 0}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.170                 dashboard (D) Fetching function templates from git repository {"templatesGitRepository": "https://github.com/nuclio/nuclio-templates.git", "templatesGitRef": "refs/heads/master"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.189 itFunctionTemplateFetcher (D) Fetching templates from git {"ref": "refs/heads/master"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.822 itFunctionTemplateFetcher (D) Got function template directory structure from git {"dirEntryNames": ["CONTRIBUTING.md", "Jenkinsfile", "README.md", "enrich-stream", "kafka-to-kv", "kafka-to-tsdb", "mysql-to-kv-delta", "mysql-to-kv", "natural-lang", "string-manipulator"]}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.822 itFunctionTemplateFetcher (D) Got function template directory structure from git {"dirEntryNames": ["enrich-stream.py", "function.yaml.template", "function.yaml.values"]}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.822 itFunctionTemplateFetcher (D) Got function template directory structure from git {"dirEntryNames": ["function.yaml.template", "function.yaml.values", "kafka-to-kv.py"]}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.823 itFunctionTemplateFetcher (D) Got function template directory structure from git {"dirEntryNames": ["function.yaml.template", "function.yaml.values", "kafka-to-tsdb.py"]}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.823 itFunctionTemplateFetcher (D) Got function template directory structure from git {"dirEntryNames": ["function.yaml.template", "function.yaml.values", "mysql-to-kv-delta.py"]}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.824 itFunctionTemplateFetcher (D) Got function template directory structure from git {"dirEntryNames": ["function.yaml.template", "function.yaml.values", "ingest_from_mysql.py"]}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.824 itFunctionTemplateFetcher (D) Got function template directory structure from git {"dirEntryNames": ["function.yaml.template", "function.yaml.values", "natural-lang.py"]}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.824 itFunctionTemplateFetcher (D) Got function template directory structure from git {"dirEntryNames": ["function.yaml.template", "function.yaml.values", "string-manipulator.py"]}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.824 itFunctionTemplateFetcher (D) Fetched templates from git {"numberOfFunctionTemplates": 7}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.824                 dashboard (I) Starting dashboard {"name": "local", "noPull": false, "offline": false, "defaultCredRefreshInterval": "", "defaultNamespace": "@nuclio.selfNamespace", "version": "Label: 1.8.15, Git commit: a916cd7ec0e3b22baa7cee6beba0b3c613faf1b1, OS: linux, Arch: amd64, Go version: go1.17.10", "platformConfiguration": {"kind":"local","webAdmin":{"enabled":true,"listenAddress":":8081"},"healthCheck":{"enabled":true,"listenAddress":":8082"},"logger":{"sinks":{"stdout":{"kind":"stdout"}},"system":[{"level":"debug","sink":"stdout"}],"functions":[{"level":"debug","sink":"stdout"}]},"metrics":{},"scaleToZero":{"multiTargetStrategy":"random"},"autoScale":{},"cronTriggerCreationMode":"processor","functionReadinessTimeout":"2m0s","ingressConfig":{},"kube":{"defaultServiceType":"ClusterIP","defaultFunctionPodResources":{"requests":{},"limits":{}}},"local":{"FunctionContainersHealthinessEnabled":false,"FunctionContainersHealthinessTimeout":5000000000,"FunctionContainersHealthinessInterval":30000000000},"imageRegistryOverrides":{},"opa":{"address":"127.0.0.1:8181","clientKind":"nop","requestTimeout":10,"permissionQueryPath":"/v1/data/iguazio/authz/allow","permissionFilterPath":"/v1/data/iguazio/authz/filter_allowed"},"streamMonitoring":{"webapiURL":"http://v3io-webapi:8081","v3ioRequestConcurrency":64},"containerBuilderConfiguration":{"Kind":"docker","BusyBoxImage":"busybox:stable","KanikoImage":"gcr.io/kaniko-project/executor:v1.8.1","KanikoImagePullPolicy":"IfNotPresent","JobPrefix":"kanikojob","JobDeletionTimeout":1800000000000,"DefaultRegistryCredentialsSecretName":"","DefaultBaseRegistryURL":"","DefaultOnbuildRegistryURL":"quay.io","CacheRepo":"","InsecurePushRegistry":false,"InsecurePullRegistry":false,"PushImagesRetries":3}}, "containerBuilderKind": "docker"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.826   dashboard.docker.runner (D) Executing {"command": "docker version --format \"{{json .}}\""}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.903   dashboard.docker.runner (D) Command executed successfully {"output": "{\"Client\":{\"Platform\":{\"Name\":\"Docker Engine - Community\"},\"Version\":\"19.03.14\",\"ApiVersion\":\"1.40\",\"DefaultAPIVersion\":\"1.40\",\"GitCommit\":\"5eb3275\",\"GoVersion\":\"go1.13.15\",\"Os\":\"linux\",\"Arch\":\"amd64\",\"BuildTime\":\"Tue Dec  1 19:14:24 2020\",\"Experimental\":false},\"Server\":{\"Platform\":{\"Name\":\"Docker Desktop 4.9.0 (80466)\"},\"Components\":[{\"Name\":\"Engine\",\"Version\":\"20.10.16\",\"Details\":{\"ApiVersion\":\"1.41\",\"Arch\":\"amd64\",\"BuildTime\":\"Thu May 12 09:15:42 2022\",\"Experimental\":\"false\",\"GitCommit\":\"f756502\",\"GoVersion\":\"go1.17.10\",\"KernelVersion\":\"5.10.16.3-microsoft-standard-WSL2\",\"MinAPIVersion\":\"1.12\",\"Os\":\"linux\"}},{\"Name\":\"containerd\",\"Version\":\"1.6.4\",\"Details\":{\"GitCommit\":\"212e8b6fa2f44b9c21b2798135fc6fb7c53efc16\"}},{\"Name\":\"runc\",\"Version\":\"1.1.1\",\"Details\":{\"GitCommit\":\"v1.1.1-0-g52de29d\"}},{\"Name\":\"docker-init\",\"Version\":\"0.19.0\",\"Details\":{\"GitCommit\":\"de40ad0\"}}],\"Version\":\"20.10.16\",\"ApiVersion\":\"1.41\",\"MinAPIVersion\":\"1.12\",\"GitCommit\":\"f756502\",\"GoVersion\":\"go1.17.10\",\"Os\":\"linux\",\"Arch\":\"amd64\",\"KernelVersion\":\"5.10.16.3-microsoft-standard-WSL2\",\"BuildTime\":\"2022-05-12T09:15:42.000000000+00:00\"}}\n", "stderr": "", "exitCode": 0}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.903 .server.api/frontend_spec (D) Installing auth middleware on router {"authenticatorKind": "nop", "resourceName": "api/frontend_spec"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.903 .server.api/frontend_spec (D) Registered custom route {"routeName": "api/frontend_spec", "stream": false, "pattern": "/", "method": "GET"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.903          dashboard.server (D) Registered resource {"name": "api/frontend_spec"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.904 .api/function_invocations (D) Installing auth middleware on router {"authenticatorKind": "nop", "resourceName": "api/function_invocations"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.904          dashboard.server (D) Registered resource {"name": "api/function_invocations"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.904 d.server.api/v3io_streams (D) Installing auth middleware on router {"authenticatorKind": "nop", "resourceName": "api/v3io_streams"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.904 d.server.api/v3io_streams (D) Registered custom route {"routeName": "api/v3io_streams", "stream": false, "pattern": "/get_shard_lags", "method": "POST"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.905          dashboard.server (D) Registered resource {"name": "api/v3io_streams"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.905 d.server.api/api_gateways (D) Installing auth middleware on router {"authenticatorKind": "nop", "resourceName": "api/api_gateways"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.905 d.server.api/api_gateways (D) Registered custom route {"routeName": "api/api_gateways", "stream": false, "pattern": "/", "method": "PUT"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.905 d.server.api/api_gateways (D) Registered custom route {"routeName": "api/api_gateways", "stream": false, "pattern": "/", "method": "DELETE"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.905          dashboard.server (D) Registered resource {"name": "api/api_gateways"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.905 api/external_ip_addresses (D) Installing auth middleware on router {"authenticatorKind": "nop", "resourceName": "api/external_ip_addresses"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.905          dashboard.server (D) Registered resource {"name": "api/external_ip_addresses"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.905 oard.server.api/functions (D) Installing auth middleware on router {"authenticatorKind": "nop", "resourceName": "api/functions"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.905 oard.server.api/functions (D) Registered custom route {"routeName": "api/functions", "stream": false, "pattern": "/", "method": "DELETE"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.905 oard.server.api/functions (D) Registered custom route {"routeName": "api/functions", "stream": false, "pattern": "/{id}/replicas", "method": "GET"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906 oard.server.api/functions (D) Registered custom route {"routeName": "api/functions", "stream": true, "pattern": "/{id}/logs/{replicaName}", "method": "GET"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906          dashboard.server (D) Registered resource {"name": "api/functions"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906 erver.api/function_events (D) Installing auth middleware on router {"authenticatorKind": "nop", "resourceName": "api/function_events"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906 erver.api/function_events (D) Registered custom route {"routeName": "api/function_events", "stream": false, "pattern": "/", "method": "PUT"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906 erver.api/function_events (D) Registered custom route {"routeName": "api/function_events", "stream": false, "pattern": "/", "method": "DELETE"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906          dashboard.server (D) Registered resource {"name": "api/function_events"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906 er.api/function_templates (D) Installing auth middleware on router {"authenticatorKind": "nop", "resourceName": "api/function_templates"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906 er.api/function_templates (D) Registered custom route {"routeName": "api/function_templates", "stream": false, "pattern": "/render", "method": "POST"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906          dashboard.server (D) Registered resource {"name": "api/function_templates"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906 ard.server.api/namespaces (D) Installing auth middleware on router {"authenticatorKind": "nop", "resourceName": "api/namespaces"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906          dashboard.server (D) Registered resource {"name": "api/namespaces"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906 board.server.api/projects (D) Installing auth middleware on router {"authenticatorKind": "nop", "resourceName": "api/projects"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906 board.server.api/projects (D) Registered custom route {"routeName": "api/projects", "stream": false, "pattern": "/", "method": "PUT"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906 board.server.api/projects (D) Registered custom route {"routeName": "api/projects", "stream": false, "pattern": "/", "method": "DELETE"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906          dashboard.server (D) Registered resource {"name": "api/projects"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906          dashboard.server (D) Registered resource {"name": "api/versions"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906          dashboard.server (W) Failed to login with docker keys {"err": "Failed to read docker key directory"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.906          dashboard.server (I) Initialized {"dockerKeyDir": "/etc/nuclio/dashboard/registry-credentials", "defaultRegistryURL": "", "defaultRunRegistryURL": "", "defaultCredRefreshInterval": "12h0m0s", "defaultNamespace": "nuclio"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:45.907   dashboard.docker.runner (D) Executing {"command": "docker version --format \"{{json .}}\""}
desktopdockertools-nuclio-1    | 22.08.13 15:46:46.022   dashboard.docker.runner (D) Command executed successfully {"output": "{\"Client\":{\"Platform\":{\"Name\":\"Docker Engine - Community\"},\"Version\":\"19.03.14\",\"ApiVersion\":\"1.40\",\"DefaultAPIVersion\":\"1.40\",\"GitCommit\":\"5eb3275\",\"GoVersion\":\"go1.13.15\",\"Os\":\"linux\",\"Arch\":\"amd64\",\"BuildTime\":\"Tue Dec  1 19:14:24 2020\",\"Experimental\":false},\"Server\":{\"Platform\":{\"Name\":\"Docker Desktop 4.9.0 (80466)\"},\"Components\":[{\"Name\":\"Engine\",\"Version\":\"20.10.16\",\"Details\":{\"ApiVersion\":\"1.41\",\"Arch\":\"amd64\",\"BuildTime\":\"Thu May 12 09:15:42 2022\",\"Experimental\":\"false\",\"GitCommit\":\"f756502\",\"GoVersion\":\"go1.17.10\",\"KernelVersion\":\"5.10.16.3-microsoft-standard-WSL2\",\"MinAPIVersion\":\"1.12\",\"Os\":\"linux\"}},{\"Name\":\"containerd\",\"Version\":\"1.6.4\",\"Details\":{\"GitCommit\":\"212e8b6fa2f44b9c21b2798135fc6fb7c53efc16\"}},{\"Name\":\"runc\",\"Version\":\"1.1.1\",\"Details\":{\"GitCommit\":\"v1.1.1-0-g52de29d\"}},{\"Name\":\"docker-init\",\"Version\":\"0.19.0\",\"Details\":{\"GitCommit\":\"de40ad0\"}}],\"Version\":\"20.10.16\",\"ApiVersion\":\"1.41\",\"MinAPIVersion\":\"1.12\",\"GitCommit\":\"f756502\",\"GoVersion\":\"go1.17.10\",\"Os\":\"linux\",\"Arch\":\"amd64\",\"KernelVersion\":\"5.10.16.3-microsoft-standard-WSL2\",\"BuildTime\":\"2022-05-12T09:15:42.000000000+00:00\"}}\n", "stderr": "", "exitCode": 0}
desktopdockertools-nuclio-1    | 22.08.13 15:46:46.022          dashboard.server (I) Listening {"listenAddress": ":18070"}
desktopdockertools-nuclio-1    | 22.08.13 15:46:46.023                 dashboard (D) Monitoring docker connectivity {"interval": "5s", "maxConsecutiveErrors": 5}
desktopdockertools-jupyter-1   | [W 2022-08-13 15:46:46.349 LabApp] 'token' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
desktopdockertools-jupyter-1   | [W 2022-08-13 15:46:46.349 LabApp] 'password' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
desktopdockertools-jupyter-1   | [W 2022-08-13 15:46:46.349 LabApp] 'password' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
desktopdockertools-jupyter-1   | [I 2022-08-13 15:46:46.363 ServerApp] jupyterlab | extension was successfully linked.
desktopdockertools-jupyter-1   | [W 2022-08-13 15:46:46.369 NotebookApp] 'ip' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
desktopdockertools-jupyter-1   | [W 2022-08-13 15:46:46.369 NotebookApp] 'port' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
desktopdockertools-jupyter-1   | [W 2022-08-13 15:46:46.369 NotebookApp] 'port' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
desktopdockertools-jupyter-1   | [I 2022-08-13 15:46:46.384 ServerApp] Writing Jupyter server cookie secret to /home/jovyan/.local/share/jupyter/runtime/jupyter_cookie_secret
desktopdockertools-jupyter-1   | [W 2022-08-13 15:46:46.593 ServerApp] 'ExtensionManager' object has no attribute '_extensions'
desktopdockertools-jupyter-1   | Traceback (most recent call last):
desktopdockertools-jupyter-1   |   File "/opt/conda/bin/jupyter-lab", line 10, in <module>
desktopdockertools-jupyter-1   |     sys.exit(main())
desktopdockertools-jupyter-1   |   File "/opt/conda/lib/python3.8/site-packages/jupyter_server/extension/application.py", line 584, in launch_instance
desktopdockertools-jupyter-1   |     serverapp = cls.initialize_server(argv=args)
desktopdockertools-jupyter-1   |   File "/opt/conda/lib/python3.8/site-packages/jupyter_server/extension/application.py", line 554, in initialize_server
desktopdockertools-jupyter-1   |     serverapp.initialize(
desktopdockertools-jupyter-1   |   File "/opt/conda/lib/python3.8/site-packages/traitlets/config/application.py", line 110, in inner
desktopdockertools-jupyter-1   |     return method(app, *args, **kwargs)
desktopdockertools-jupyter-1   |   File "/opt/conda/lib/python3.8/site-packages/jupyter_server/serverapp.py", line 2453, in initialize
desktopdockertools-jupyter-1   |     point = self.extension_manager.extension_points[starter_extension]
desktopdockertools-jupyter-1   |   File "/opt/conda/lib/python3.8/site-packages/jupyter_server/extension/manager.py", line 298, in extension_points
desktopdockertools-jupyter-1   |     for value in self.extensions.values()
desktopdockertools-jupyter-1   |   File "/opt/conda/lib/python3.8/site-packages/nbclassic/nbserver.py", line 80, in extensions
desktopdockertools-jupyter-1   |     nb = self._extensions.get("nbclassic")
desktopdockertools-jupyter-1   | AttributeError: 'ExtensionManager' object has no attribute '_extensions'
desktopdockertools-jupyter-1 exited with code 1
desktopdockertools-mlrun-ui-1  | 172.19.0.1 - - [13/Aug/2022:15:47:03 +0000] "GET /mlrun/config.json HTTP/1.1" 200 96 "http://localhost:8060/mlrun/projects" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36 Edg/104.0.1293.47" "-"
desktopdockertools-mlrun-ui-1  | 172.19.0.1 - - [13/Aug/2022:15:47:03 +0000] "GET /mlrun/nuclio/api/functions HTTP/1.1" 200 3 "http://localhost:8060/mlrun/projects" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36 Edg/104.0.1293.47" "-"
desktopdockertools-nuclio-1    | 22.08.13 15:47:03.411 dashboard.platform.docker (D) Executing in container {"containerID": "nuclio-local-storage-reader", "execOptions": {"Command":"/bin/sh -c \"/bin/cat /etc/nuclio/store/functions/nuclio/*\"","Stdout":"","Stderr":"","Env":null}}
desktopdockertools-nuclio-1    | 22.08.13 15:47:03.411 rd.platform.docker.runner (D) Executing {"command": "docker exec  nuclio-local-storage-reader /bin/sh -c \"/bin/cat /etc/nuclio/store/functions/nuclio/*\""}
desktopdockertools-nuclio-1    | 22.08.13 15:47:03.632 rd.platform.docker.runner (D) Failed to execute command {"output": "cat: can't open '/etc/nuclio/store/functions/nuclio/*': No such file or directory\n", "stderr": "", "exitCode": 1, "err": "exit status 1"}
desktopdockertools-nuclio-1    | 22.08.13 15:47:03.633 dashboard.platform.docker (D) Failed to execute command in container {"err": "stdout:\ncat: can't open '/etc/nuclio/store/functions/nuclio/*': No such file or directory\n\nstderr:\n", "errVerbose": "\nError - exit status 1\n    /nuclio/pkg/cmdrunner/shellrunner.go:96\n\nCall stack:\nstdout:\ncat: can't open '/etc/nuclio/store/functions/nuclio/*': No such file or directory\n\nstderr:\n\n    /nuclio/pkg/cmdrunner/shellrunner.go:96\nstdout:\ncat: can't open '/etc/nuclio/store/functions/nuclio/*': No such file or directory\n\nstderr:\n", "stdout": "cat: can't open '/etc/nuclio/store/functions/nuclio/*': No such file or directory\n", "stderr": ""}
desktopdockertools-nuclio-1    | 22.08.13 15:47:03.633          dashboard.server (D) Handled request {"requestID": "3b7d087dd209/CfH5wFdFAA-000001", "requestMethod": "GET", "requestPath": "/api/functions", "requestHeaders": {"Accept":["application/json, text/plain, */*"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-US,en;q=0.9"],"Connection":["close"],"Cookie":["[redacted]"],"Referer":["http://localhost:8060/mlrun/projects"],"Sec-Ch-Ua":["\"Chromium\";v=\"104\", \" Not A;Brand\";v=\"99\", \"Microsoft Edge\";v=\"104\""],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Fetch-Dest":["empty"],"Sec-Fetch-Mode":["cors"],"Sec-Fetch-Site":["same-origin"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36 Edg/104.0.1293.47"]}, "requestBody": "", "responseStatus": 200, "responseTime": "221.65372ms"}

Additional Information

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
george0stcommented, Aug 15, 2022

Many thanks, it is useful information about port change in 1.0.5 (I tested it and it works perfect)

1reaction
Tankilevitchcommented, Aug 14, 2022

@george0st This was fixed in 1.0.5, we had a dependency issue. Here is the PR bumping the mlrun version for docker compose - https://github.com/mlrun/mlrun/pull/2256.

Note that there were port changes as part of 1.0.5. Just change the mlrun-ui port from 80 to 8090 or copy the docker compose file once it merged.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install MLRun locally using Docker
Use docker compose to install MLRun. It deploys the MLRun service, MLRun UI, Nuclio serverless engine, and optionally the Jupyter server.
Read more >
Quick start tutorial - MLRun
This notebook provides a quick overview of developing and deploying machine learning applications using the MLRun MLOps orchestration framework.
Read more >
Installation Guide — mlrun UNKNOWN documentation
Install a Jupyter Server with a Preloaded MLRun Package. ... Open Jupyter Notebook on port 8888 and run the code in the examples/mlrun_basics.ipynb...
Read more >
Installation Guide - MLRun
Installing MLRun on a Local Docker Registry¶. To use MLRun with your local Docker registry, run the MLRun API service, dashboard, and example...
Read more >
Quick-Start — mlrun UNKNOWN documentation
To install and run MLRun locally using Docker: ... Run the following command from your Python development environment (such as Jupyter Notebook) to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found