Hello, I decided to give XCPNG a try last night after using Proxmox for years.
I set up everything using Tom’s XCPNG Youtube playlist for installation, setting up XO from Sources, and also his video on backups.
The problem I’m having is that when I go to create a remote in XO I get a weird vague “invalid parameters” error and then when I click enable on the remotes page I get a different error “remote is disabled”.
My NAS (Truenas Scale 10.10.10.20) is on the same subnet as the XCPNG Host (10.10.10.21) and XO (10.10.10.236). The only difference in my setup from the XO from sources video is I’m running Debian 12 and using the updated script from GitHub.
remote.test
{
“id”: {
“enabled”: true,
“error”: “""”,
“name”: “VM Backups”,
“url”: “smb://xcpng:PASSWORD@WORKGROUP\\10.10.10.20\VMBackup\u0000”
}
}
{
“code”: 10,
“data”: {
“errors”: [
{
“instancePath”: “/id”,
“schemaPath”: “#/properties/id/type”,
“keyword”: “type”,
“params”: {
“type”: “string”
},
“message”: “must be string”
}
]
},
“message”: “invalid parameters”,
“name”: “XoError”,
“stack”: “XoError: invalid parameters
at Module.invalidParameters (/opt/xo/xo-builds/xen-orchestra-202312190054/packages/xo-common/api-errors.js:26:11)
at Xo.call (file:///opt/xo/xo-builds/xen-orchestra-202312190054/packages/xo-server/src/xo-mixins/api.mjs:92:22)
at Api.#callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202312190054/packages/xo-server/src/xo-mixins/api.mjs:441:19)”
}
remote.test
{
“id”: “34829a29-86f1-4899-ae0e-643e07d68e02”
}
{
“message”: “remote is disabled”,
“name”: “Error”,
“stack”: “Error: remote is disabled
at _class2.getRemoteWithCredentials (file:///opt/xo/xo-builds/xen-orchestra-202312190054/packages/xo-server/src/xo-mixins/remotes.mjs:191:13)
at _class2.testRemote (file:///opt/xo/xo-builds/xen-orchestra-202312190054/packages/xo-server/src/xo-mixins/remotes.mjs:105:20)
at Api.#callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202312190054/packages/xo-server/src/xo-mixins/api.mjs:445:20)”
}
I’ve tried destroying and rebuilding the VM Backup dataset, removing spaces/underscores, changing punctuation, creating new user credentials, and adding permissions. I can’t seem to get it to play nice for me.
Am I missing something? Or am I just being an idiot and looking over something simple?