milvus-standalone always exited (2) on Macos Monterey 12.5.1 - milvus

Milvus-standalone worked well when my MacOS was with Monterey 12.3.
When I upgrade MacOS to 12.5.1, I cannot install Milvus-standalone correctly.
As you see below, Milvus-standalone is always exited (2).
milvus-etcd "etcd -advertise-cli…" etcd running 2379-2380/tcp
milvus-minio "/usr/bin/docker-ent…" minio running (starting) 9000/tcp
milvus-standalone "/tini -- milvus run…" standalone exited (2)
And I found this message from the log in Docker:
panic: Corruption: Corruption: IO error: No such file or directoryWhile open a file for random read: /var/lib/milvus/rdb_data/000185.ldb: No such file or directory
Please help because I have used Milvus for a couple of projects until now.
Thanks,

Related

is it possible to use podman in macbook pro with M1 pro chip

I want to use podman in macbook pro with M1 pro chip. First I run this command to initial podman:
➜ retire git:(master) podman machine init
Downloading VM image: fedora-coreos-36.20220511.dev.0-qemu.aarch64.qcow2.xz: done
Extracting compressed file
Image resized.
Machine init complete
To start your machine run:
podman machine start
After start the VM, then using this command to pull but encount an error:
➜ retire git:(master) podman pull registry.cn-hangzhou.aliyuncs.com/reddwarf-pro/yapi:0ac4a62af8f232cae90ac955708c23d8386b2033
Error: 1 error occurred:
* error getting credentials - err: exec: "docker-credential-gcloud": executable file not found in $PATH, out: ``
is it possible to use podman in macOS? what should I do to fixed this problem?
Podman has been supported on M1 chips since October: https://podman.io/blogs/2021/10/04/m1macs.html
The error you're getting spells it out for you - "docker-credential-gloud": executable file not found in $PATH
This indicates that you either don't have gcloud and docker-credential-gcloud installed, or there is a problem with your current install.
Try re-installing the Google components if you haven't already.
Also: see existing answer here

Fix "Docker daemon failed to start" error after (Mac) OS upgrade

After getting numerous messages saying I should upgrade my OS, I have finally decided to upgrade to macOS Big Sur v11.6.1.
Unfortunately, docker doesn't work anymore.
I'm getting an error:
Fatal Error
Docker daemon failed to start
and
2021-12-07T09:47:14Z dockerd time="2021-12-07T09:47:14.957430297Z" level=debug msg="Calling GET /version"
I can see the option to Reset Docker to factory defaults but I'm afraid of resetting because it means I will also erase all my docker images.
Is there any easy way to fix this issue without erasing my work?
I get this fairly often on my Mac. I'm still on Big Sur.
This in the terminal seems to get me working (pay attention to the capitalisation):
pkill Docker
open -a /Applications/Docker.app

Cannot start Fuchsia Emulator on Ubuntu

I am trying to build Fuchsia OS and run it on the Fuchsia Emulator femu, but after waiting for the emulator to start the fx command exists and displays the error below.
failed to create Fuchsia device device health check failed. Unable to ssh due to error:
Error: Cannot start Fuchsia Emulator. Exit status is 1
I have followed the instructions provided by Google at fuchsia.dev, the build completes successfully and the commands used to build the OS were
fx set core.qemu-x64 --with //examples/hello_world
fx build
Subsequently, I tried running in headless mode with fx vdl start -N --headless which results in the same error as above, I also tried build the OS without the --with argument but received the same error.
The log file gives us more details, the second last line of the log file may be of interest and it reads:
emu-system-x86_64-headless: network script /etc/qemu-ifdown failed with status 256
I am using Ubuntu 21.04 on my machine.
It seems that the network configuration scripts /etc/qemu-ifup and /etc/qemu-ifdown are missing. You can work around it by installing the qemu package:
$ sudo apt install qemu

PyCharm: Can't create remote python interpreter using docker-compose

On attempt to create docker-compose python interpreter in PyCharm I get error:
Error while parsing "/Users/belek/Projects/project/docker-composee.yml": Process docker-compose config failed.
Itself docker-compose works fine. The docker-compose config command running in terminal works too.
Before updating macOS and PyCharm I was using docker-compose python interpreter succesfully. Can't understand what's wrong. I created issue in JB YouTrack, but no response.
PyCharm 2019.2.3
macOS Catalina 10.15
The following helped me.
Go to 'System Preferences' -> 'Security & Privacy'.
Add PyCharm to "Full Disk Access" and to "Developer tools".

Elasticsearch stopped working once i installed mojave

I foolishly upgraded my mac to mojave and once I did my elasticsearch (that I installed through Homebrew) stopped working. Since then I have reinstalled it several times and I continue to receive this error:
Exception in thread "main"
org.elasticsearch.bootstrap.BootstrapException:
java.nio.file.FileSystemLoopException:
/usr/local/etc/elasticsearch/elasticsearch
Likely root cause: java.nio.file.FileSystemLoopException:
/usr/local/etc/elasticsearch/elasticsearch
When I try and start it using brew services I get:
/Users/***/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist:
service already loaded
Error: Failure while executing; '/bin/launchctl bootstrap gui/501
/Users/****/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist'
exited with 133.
The only way I can get elasticsearch to start currently is running it through docker
Has anyone else seen this issue?

Resources