-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Icons gone after import of csv #675
Comments
Hi @killtux , Thanks for filling in the details. I don't see any error in your screenshot, the icon seems to be displayed correctly: The way icons are handled has changed 2 releases ago. Please read more in the updated icons docs: https://github.com/jokob-sk/NetAlertX/blob/main/docs/ICONS.md |
no the notebook icon is the standard icon that shows up. but at the overview no icons are displayed. the printer had the printer icon. i think something happend when importing the csv. i updated to the lates release today and wanted to access the backup. then i noticed paths were changed as the app got renamed. i changed it but i cannot access the folders without sudo (so i cant pull a backup via winscp). somehow the db got messed up and all my devices (100+) where gone. also there wasnt an option to import from backup (i made before). but the import csv worked - but devices offline, parent nodes gone and icons are not showing up. |
Sorry to hear that, As per https://github.com/jokob-sk/NetAlertX/blob/main/docs/MIGRATION.md#migration-form-pialert-to-netalertx have you tried the following?
Since you have the devices.csv most of your device config should be fine. You will also need the app/pialert.conf to get the scanners up. If you have only the devices.csv file you can always remove the icons manually and import the csv file without the icons. Use nano or notepad++ to preserve file endings. Hope the above helps. |
ok i managed to give my user access to the dir's again using "sudo chown user config", deleted via WinSCP the old devices.csv, uploaded the new one from today, shutted the docker down, brought it up again, deleted all devices and made a fresh import from csv. - everything back, online and with icons. sorry for bothering you, i only have basic linux experience. is there a reason the permissions were changed you can't access the dir with the normal user thats part of the docker group? Since the reason i mount it, is that i can access it and pull backup files from or to it. maybe a file upload function for csv and backup files would be a nice addition for users who dont want to mess with terminal or sftp and can get backups to their pc outside of the docker. so if something messes up they can spin up a new docker and just start from the backup. |
Glad to hear you solved the issue! I'll consider the feature request for the future. See this for a discussion about permissions #652 For now I'm closing this as resolved. |
Is there an existing issue for this?
Current Behavior
why i import the csv the devices show up but has some strange values for icon names - no icons show up.
Expected Behavior
devices get imported with the icons the used before.
Steps To Reproduce
app.conf
No response
docker-compose.yml
What branch are you running?
Production
app.log
No response
Debug enabled
The text was updated successfully, but these errors were encountered: