Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GNS3 3.0.0] Unable to read old data #3677

Closed
smart2128 opened this issue Dec 21, 2024 · 4 comments
Closed

[GNS3 3.0.0] Unable to read old data #3677

smart2128 opened this issue Dec 21, 2024 · 4 comments
Labels

Comments

@smart2128
Copy link

Describe the bug
I upgraded from version 2.2.52 to the latest 3.0.0.
After launching the GNS3 GUI, I noticed that all my custom appliances were missing, and my old projects were no longer accessible.
Upon checking the preferences, I found that all the paths had reverted to their default values. To investigate further, I ran the application in debug mode and discovered that a new configuration folder had been created in ~/.config/GNS3/3.0.
I updated the preferences to point to my old paths (located on a mounted filesystem), but it seems GNS3 is still monitoring the default paths instead.

2024-12-21 19:15:14 INFO images.py:150 Discovering images in '/<HOME_DIR>/GNS3/images/IOU'
2024-12-21 19:15:14 DEBUG tasks.py:166 Monitoring for new images in '/<HOME_DIR>/GNS3/images/QEMU'
2024-12-21 19:15:14 DEBUG tasks.py:166 Monitoring for new images in '/<HOME_DIR>/GNS3/images/IOS'
2024-12-21 19:15:14 DEBUG tasks.py:166 Monitoring for new images in '/<HOME_DIR>/GNS3/images/IOU'

If I try opening an existing project it returns "The path <PROJECT_PATH> is not allowed"

GNS3 version and operating system:

  • OS: Linux (Arch Linux)
  • GNS3 version 3.0.0
@smart2128 smart2128 added the Bug label Dec 21, 2024
@grossmj
Copy link
Member

grossmj commented Dec 22, 2024

Please edit ~/.config/GNS3/3.0/gns3_server.conf and manually configure the correct paths like this:

[Server]

images_path = /home/gns3/GNS3/images
projects_path = /home/gns3/GNS3/projects
appliances_path = /home/gns3/GNS3/appliances

Details can be found in https://github.com/GNS3/gns3-server/blob/3.0/gns3server/config_samples/gns3_server.conf

@smart2128
Copy link
Author

Thank you @grossmj.
There was no server.conf file there, so I created it and added all custom paths.
All images have been discovered and added to the database, but they are still missing from the GUI's device list and preferences templates.
Do I have to add them manually?

@grossmj
Copy link
Member

grossmj commented Dec 23, 2024

Do I have to add them manually?

Unfortunately yes, we don't have anything that migrates the templates from 2.2.x to 3.0. Sorry for the inconvenience.

@grossmj grossmj closed this as completed Dec 23, 2024
@smart2128
Copy link
Author

Do I have to add them manually?

Unfortunately yes, we don't have anything that migrates the templates from 2.2.x to 3.0. Sorry for the inconvenience.

No worries. Thank you for your hard work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants