hello ,
i tried to replace the logo of itop so, i replaced the old logo with new logo ( same name and extension)
i got errors in application upgrade .
please check below error massage :
Some modified files were detected, a partial update cannot be executed.
Follow the procedure in order to manually upgrade your iTop. You must use the setup to update the application.
Details
File(s) corrupted:
images/logo-itop-dark-bg.svg
images/itop-logo.png
images/itop-logo-external.png
application/itopwebpage.class.inc.php
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello bro, I did the same mistake. You can fix it doing this, remember when you copied them they were copied as root and not as user and group www-data so change the files doing this:
chown www-data:www-data itop-logo.png
If the user and group on your other files is not www-data (for me it is), than change it to what it is for you.
Remember to change the permissions to these files to chmod 664, i believe some other have more permissions, but try 664 first. This fixed the problem for me.
After these changes, check again. I also had a backup copy of the original files, so I´m not sure if all of this works if you have your custom images there.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Indeed modifying core iTop files is a bad bad idea as you will loose of of your changes on next update. Also as you figured out the auto update functionality cannot work anymore if some files were modified.
To alter the logo you should use the branding XML nodes with a custom module. There are no tutorial for now (actually I wrote one but it is under review) but you can check the iTop customization documentation and check the iTop XML ref.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello ,
i tried to replace the logo of itop so, i replaced the old logo with new logo ( same name and extension)
i got errors in application upgrade .
please check below error massage :
Some modified files were detected, a partial update cannot be executed.
Follow the procedure in order to manually upgrade your iTop. You must use the setup to update the application.
Details
File(s) corrupted:
images/logo-itop-dark-bg.svg
images/itop-logo.png
images/itop-logo-external.png
application/itopwebpage.class.inc.php
Hello bro, I did the same mistake. You can fix it doing this, remember when you copied them they were copied as root and not as user and group www-data so change the files doing this:
chown www-data:www-data itop-logo.png
If the user and group on your other files is not www-data (for me it is), than change it to what it is for you.
Remember to change the permissions to these files to chmod 664, i believe some other have more permissions, but try 664 first. This fixed the problem for me.
After these changes, check again. I also had a backup copy of the original files, so I´m not sure if all of this works if you have your custom images there.
Try manually restoring them with the original versions; then use the proper procedure to change logos?
Hello,
Indeed modifying core iTop files is a bad bad idea as you will loose of of your changes on next update. Also as you figured out the auto update functionality cannot work anymore if some files were modified.
To alter the logo you should use the branding XML nodes with a custom module. There are no tutorial for now (actually I wrote one but it is under review) but you can check the iTop customization documentation and check the iTop XML ref.