Menu

Some modified files were detected, a partial update cannot be executed.

2022-10-12
2023-04-11
  • Fatima Mohammed

    Fatima Mohammed - 2022-10-12

    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

     
    • Juan Monzon

      Juan Monzon - 2023-04-11

      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.

       
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2022-10-12

    Try manually restoring them with the original versions; then use the proper procedure to change logos?

     
  • Pierre Goiffon

    Pierre Goiffon - 2022-10-12

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.