Hi,
I don't know why, but my gateway installed on my PC dosen't see all my projects and every time I create a new project, the project is not seen from the gateway page few days later.
All my projects are still in the ignition repo :
C:\Program Files\Inductive Automation\Ignition\data\projects
But they seem to be not found on the gateway page...
Maybe re-installing ignition on my PC could reslove the issue, But I don't want to loose my projects.
I see that downloading a project from the gateway page create a .zip files of the project repository.
I tried creating a .zip files from my repository and upload it on the gateway page. The gateway accept the project, but when I open it on designer, the project is empty.
For test purpose, I created a new project and added a test window in it. The project appears on the gateway page. I download the .zip file from the gateway page. I unzip it, then zip the project. When I upload this project on the gateway and then open it in designer, the project is empty. Seems that there is a signature or something in the .zip file created by the gateway... They test project disappear from the gateway page few days later.
Can you help me to restore my projects with a fresh gateway installation?
Worth knowing that my PC is heavily IT managed by my organization.. could explain why I loose all my projects every few days...
Thank you!
Consider getting your IT group to set up a proper development VM for you in their infrastructure. Preferably with a separate database VM, too. Doing development work in a localhost gateway doesn't mimic a production environment very well. It is only suitable for training, and maybe for demonstrations.
Sure, I'm heading toward a VM on a server. What about restoring my projects?
Thank you!
If you take a gateway backup from the web UI, are the projects in that? If so, then just restore your gateway backup to the VM.
If they're not, then if you have the projects on disk, just copy the projects/
directory to your VM entirely.
Hi @PGriffith,
I backed up the gateway on my local machine. I restored the gateway on my VM from the back up file of my local gateway.
The VM has the same issue as the gateway on my local machine. I don't see the projects on the gateway page, but I see them in the folowing repo of the VM:
C:\Program Files\Inductive Automation\Ignition\data\projects
What should I try next?
Ignition projects, as of 8.0.0, are defined as:
Folders in the projects/
directory that contain:
- Exactly one
project.json
file defining a manifest.
- One or more module ID folders, with the name
ignition
reserved for platform level resources, each containing:
- One or more resource type ID folders, each containing:
- One or more intermediate folders, defining the path to where a resource is located, followed by a folder with the same name as the resource containing its contents
- OR the direct contents of a resource, mounted as a "singleton"
A resource folder is defined as:
- Exactly one
resource.json
file, defining a manifest including data keys
- Zero or more sub files with names referenced in the manifest's data entries
You keep mentioning "repo" - are you actually using Git to store your projects? Are you retaining all these files, include the manifest project.json
and resource.json
files? Can you share a screenshot or a file tree dump or something else showing the contents of the projects/
directory, all the way down?
I've been able to find a solution to my problem. I installed a fresh gateway on a VM. I exported tags and image to the gateway on the VM and I copied/pasted all the projects from the directory /projects on my machine to the VM /projects directory. I re-installed ignition on my local machine to the newest version. I backed up the gateway from the VM and I restored the gateway on my local machine. Now the gateaw on my machine works fine. There was an issue with my gateway....