I am running postman query to create a repository where i have used a plan, and in archive i am givng a path but the query fails saying not able to access the path permission denied.
I have 3 nodes cluster and have a nfs mount mounted on all 3 nodes at same location i…e, /folder1, and i am using that as archive location.
I am able to access the folder and create files at same location but the postman query fails.
Is there any documentation or any link which help out about setting in postman queries? or can some one help me out here?
Thanks for reply.
I am getting following error
{
“status”: 500,
"msg": "Location not accessible by all nodes",
"extras": "node 4b6148745a879a8f9d60c76e210f8d23 cannot access location /nfsshare/postmanbackup: could not write node file: open /nfsshare/postmanbackup/.cbbs-9e5cca1f91a37cd9244977a2447d0577/node-4b6148745a879a8f9d60c76e210f8d23-1627980217624048633: permission denied"
Sorry but got confused, this means if we are running postman query with administrator user then we should have permissions for administrator for the archive folder? and it should be with same uid on all the nodes ?
this means if we are running postman query with administrator user then we should have permissions for administrator for the archive folder?
No, let me explain what I meant. Like all running processes on an operating system, Couchbase Server runs as a user called couchbase. That operating system user needs to have the correct permissions to the archive folder. Please also note that the archive folder should be network file share i.e NFS or CIFS.
{
"status": 500,
"msg": "Location not accessible by all nodes",
"extras": "node 4b6148745a879a8f9d60c76e210f8d23 cannot access location /nfsshare/postmanbackup: could not write node file: open /nfsshare/postmanbackup/.cbbs-9e5cca1f91a37cd9244977a2447d0577/node-4b6148745a879a8f9d60c76e210f8d23-1628575511847956754: permission denied"
}
i did checked the folder and found that the folder created under the postmanbackup is with root permission. Does this mean that the couchbase command is running with root user ?
Can you provide the output of ls -l /nfsshare/postmanbackup/.cbbs-9e5cca1f91a37cd9244977a2447d0577/node-4b6148745a879a8f9d60c76e210f8d23-1628575511847956754 from all three nodes please.
Thanks for the help. it seems the pervious error was due to some cluster error. After recovering the cluster i tried to create the repo via postman it worked.
The new error tcp 172.16.61.154:9124: connect: connection refused basically means that not all backup nodes could talk to each other, in this case node with IP 172.16.61.154 was refusing the connection on port 9124.
I’m using docker image…and found it happens via dashbord and api call…I have tried to prune everything and it happens again. I need backups, but can’t create repository…help…