Hi @pepsov, and welcome!
Thanks a lot for reaching out; let’s see if we can help you move forward. I indeed just tested again to make and adding your own Rock-ons to the rockons-metastore does work so let’s try to see if I can help you here.
First, as an illustration of the instructions to which you linked, here’s what I did to test that:
- Create the
rockons-metastore
directory:
mkdir -p /opt/rockstor/rockons-metastore
- Copy your own json file. There are many ways to do this and copy the file there. In this case, I’m using a custom JSON for a Rock-on that I use for development: it is named Alpine_AddStorage_2Ports.json:
rockdev-leap15-3:~ # cd /opt/rockstor/rockons-metastore/
# Create the JSON file
rockdev-leap15-3:/opt/rockstor/rockons-metastore # nano Alpine_AddStorage_2Ports.json
# Paste the JSON content and then save. This results in:
rockdev-leap15-3:/opt/rockstor/rockons-metastore # cat Alpine_AddStorage_2Ports.json
{
"Alpine With AddStorage 2Ports": {
"containers": {
"alpine2p1": {
"image": "alpine",
"launch_order": 1,
"opts": [
[
"-it",
""
]
],
"ports": {},
"volumes": {},
"environment": {}
},
"alpine2p2": {
"image": "alpine",
"launch_order": 2,
"opts": [
[
"-it",
""
]
],
"ports": {},
"volumes": {},
"environment": {},
"ports": {
"9000": {
"description": "Fake WebUI port. Suggested default: 9000",
"host_default": 9000,
"label": "WebUI port",
"protocol": "tcp",
"ui": true
},
"9100": {
"description": "Fake second port. Suggested default: 9100",
"host_default": 9100,
"label": "Random port",
"protocol": "tcp"
}
}
}
},
"description": "Alpine test Rock-on.",
"ui": {
"slug": ""
},
"volume_add_support": true,
"website": "",
"version": "1.0"
}
}
- Go to the Rock-ons page in Rockstor’s webUI, and then click the “Update” button. The Rock-on is now listed:
Let’s try to see where our instructions are failing for you, now. Would you be able to share some more details on the steps you have followed? Are they much different than what I listed above?
Thanks for letting us know if there were any unclear parts in the instructions to which you linked so that we can improve them.
Looking forward to getting you going!