sysrepo icon indicating copy to clipboard operation
sysrepo copied to clipboard

[ERR] Datastore plugin "JSON notif" not found

Open DiepHieu99 opened this issue 1 year ago • 8 comments

I trying to upgrade netopeer2 to version 2.1.71 with sysrepo v2.2.105, I check every depend lib, yang modules, files are exists. while install yang module, i see this error: [ERR] Datastore plugin "JSON notif" not found sysrepoctl error: Failed to connect (Item not found) Capture

DiepHieu99 avatar Dec 14 '23 08:12 DiepHieu99

Seems to be a compatibility problem. Please fully uninstall netopeer2, sysrepo with its repositories and libyang with libnetconf2. Once you perform a clean install, it should all work.

michalvasko avatar Dec 14 '23 13:12 michalvasko

Seems to be a compatibility problem. Please fully uninstall netopeer2, sysrepo with its repositories and libyang with libnetconf2. Once you perform a clean install, it should all work.

I got it, will try to remove the old repo and test again.

DiepHieu99 avatar Dec 15 '23 01:12 DiepHieu99

I trying to uninstall full netopeer2, sysrepo with command sudo make uninstall, locate all old lib install in system and completely remove them. Then I build sysrepo and install it again with sudo make shm_clean, sudo make sr_clean, sudo make, sudo make install, run sysrepoctl -l still get error (libyang, libnetconf2 and netopeer2 completely remove and install again). I tried to run sysrepoctl -l -v4 still got this error: [ERR] Datastore plugin "JSON notif" not found sysrepoctl error: Failed to connect (Item not found) Uploading Capture.JPG…

DiepHieu99 avatar Dec 25 '23 02:12 DiepHieu99

What versions of the projects are you using? Latest release, master, devel branch, or something else?

michalvasko avatar Jan 02 '24 10:01 michalvasko

I used netopeer2 latest release version 2.1.71 sysrepo latest release v2.1.105 libyang latest release v2.1.111 libnetconf latest release v2.1.37 libssh latest release v0.10.6

When I build and install all of them in ubuntu 20.04 work fine, but when I build and install in redhat 8 (RHEL8) It's not working and end up with this error: [ERR] Datastore plugin "JSON notif" not found sysrepoctl error: Failed to connect (Item not found)

I follow instruction step by step, removed all old conflict version, build & install libyang, clean sysrepo with make sr_clean and make shm_clean, build & install sysrepo, reinstall RHEL8 OS but remain the same issue.

DiepHieu99 avatar Jan 02 '24 15:01 DiepHieu99

Try using the master branches instead, there may be some incompatibility in the latest releases.

michalvasko avatar Jan 03 '24 08:01 michalvasko

I had the same problem, also with the master branches. I fixed it by uninstalling everything, then removing the /etc/sysrepo directory manually, then installing everything again. Seems to be some migration issue with the contents of /etc/sysrepo?

koalo avatar Jan 03 '24 13:01 koalo

I had the same problem, also with the master branches. I fixed it by uninstalling everything, then removing the /etc/sysrepo directory manually, then installing everything again. Seems to be some migration issue with the contents of /etc/sysrepo?

I uninstall everything and also remeving the /etc/sysrepo/ but still got this error: Uploading image.png…

DiepHieu99 avatar Jan 05 '24 09:01 DiepHieu99