Horde storage configurations and setup

Hi, I have been trying to set up a horde server for our team and have encountered a few issues that I hope you can help me with.

Right now we have the horde server running in the cloud and the agents are running on site.

I’m trying to configure how and where the build logs and artifacts get saved from each build.

As I would like them to be stored on our local NAS instead of the horde server computer in the cloud.

If I understand the system correctly then this should be handled by the Horde Storage plugin that is configured in the globals.json file.

Right now this is what a snippet of our globlas.json looks like on the server.

It seems like it’s being picked up, because after I added it then horde can’t open any old build logs in the dashboard.

However I can’t find any files at all in that path on our NAS which makes me very confused. Can you maybe help me understand what is going on?

{
 "plugins": {
  "storage" : {
   "backends": [ 
    {
     "id": "default-backend",
     "type": "FileSystem",
     "baseDir": "//<URL_TO_OUR_NAS>/Horde_artifacts"
    }
   ], 
   "namespaces": [
    {
     "id": "default",
     "backend": "default-backend"
    },
    {
     "id": "horde-logs",
     "prefix": "Logs/",
     "backend": "default-backend"
    },
    {
     "id": "horde-artifacts",
     "prefix": "Artifacts/",
     "backend": "default-backend"
    },
    {
     "id": "horde-tools",
     "prefix": "Tools/",
     "backend": "default-backend"
    },
    {
     "id": "horde-perforce",
     "prefix": "Perforce/",
     "backend": "default-backend"
    }
   ]
  }
 }
}

However I’m also having problems getting globlas.json to update automatically from perforce.

In server.json I have set the value of config path to the path on the perforce depot where we have the globals.json

{ "Horde" : { "ConfigPath": "//depot/p4/path/to/horde/globals.json" } }

However when I submit changes to the globals file and ssh into the server computer then the globals.json in our docker directory doesn’t update?

Am I missunderstanding something about this process and what should I do in order to get the globals.json that the server uses to sync to the perforce version?

Do I need to restart the docker image (docker compose down/up -d) every time that I update globals or is it just when I update server.json?

Best regards

Olle