Thank you! After I was able to see the list of applications they were still erroring out. This permission update fixed the issue.
Original Message:
Sent: Mon August 05, 2024 04:47 AM
From: Thi Minh Man Nguyen
Subject: Problem getting MAF development up and running
Hi Christopher,
You need to grant permission to resolve the issue.
First, start the Docker container.
- Go to Docker Container.
- Select the EXEC tab and execute the following command:
// go to the root directorycd /// make the source code folder editable sudo chmod -R 7777 graphite/
Reload the site to see if the issue is resolved.
------------------------------
Thi Minh Man Nguyen
Original Message:
Sent: Fri August 02, 2024 09:28 AM
From: Christopher Stewart
Subject: Problem getting MAF development up and running
I have logged into docker successfully, pulled the MAF tools 8.11.14. I have a directory structure like this C:/git/current where I am trying to get a backup of our development applications like techmobile, assetmobile etc.
When I run docker run -it --privileged -p 3001:3001 -p 3006:3006 -v /git/current:/graphite/.workspace -it -e CHOKIDAR_USEPOLLING=true cp.icr.io/cp/manage/maf-tools:8.11.14, it starts the server. I am able to authenticate with my URL and APIKey. Then it has the error failed to fetch and does not list any applications.
When I look in the console it says:
[Error: EACCES: permission denied, open '../../.workspace/credentials.json'] {
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '../../.workspace/credentials.json'
}
I went to the "current" directory and created a credntials.json file which consists of this:
{
"apikey": "testapi",
"domain": "main.manage.url.suite.maximo.com",
"port": 443,
"protocol": "https",
"context": "maximo"
}
Any ideas on what I am doing wrong? Is there a different way to download a copy of our role based apps to back up?
------------------------------
Christopher Stewart
------------------------------