[BUG] Images and icons disapearing

Since i migrated from old 3.6 to newer dude version 6.x every week my custom images (.png) and backgrounds disapper from nothing once in a while. This is clearly a bug that appeared on the new 6.x codebase. Anyone else has the same problem ? Mikrotik help us please !

Hello, benjamimgois!

As you already discussed on the forum some people may experience similar issue.

May you please provide more details how it may be reproduced? For example:

  1. Install Dude server 6.41 x86.
  2. Upload image to the ROS and place it into the folder ‘xxx’.
  3. Create a map and select uploaded image as a background.
  4. Wait one week and login again into Dude - background image disappeared from the map and ‘xxx’ folder.


    Thank you!

Hello. We have the same problem.
We run dude 6.40.5 on rb1100AHx4 dude edition and after 1day runnning dude is backround image lost.
Only the start page lost him. Other Nested maps still have the image
bez mapy.png

Hello, honzam!

May you show what is shown inside Map settings after disappearance?


Thank you!

You have the same problem? Backround = none
setting.jpg

horzam, no. We don’t have similar issue - we use Dude on CHR without data lost.

I just want to identify the issue more precise in order to address it to support.
In the topic Dude lost data, are described similar issue with Dude on x86 platform. But some of the users reports that image disappeared from storage too.
Do you use existing or your custom (uploaded to the ROS) image?


Thank you!

That´s exactly what´s happening here, the image disapeared from the storage. On the item properties, the image field display a “none” sign as in the image attached.


Hello, benjamimgois!

As you already discussed on the forum some people may experience similar issue.

May you please provide more details how it may be reproduced? For example:

  1. Install Dude server 6.41 x86.
  2. Upload image to the ROS and place it into the folder ‘xxx’.
  3. Create a map and select uploaded image as a background.
  4. Wait one week and login again into Dude - background image disappeared from the map and ‘xxx’ folder.


    Thank you!

Sorry for not describe it correctly slech. You describe it almost perfectly, i´ll make only one observation, the image can be used as background or as an object icon. Another interesting point is that not every image vanishes, a few ones reside.
icon_lost_dude.jpg

I have custom image. Image was saved on SSD disk (rb1100AHx4 dude edition). When the image disappears from the background, it will disappear from files :frowning:

Hello benjamimgois, horzam!

I just tried to reproduce the issue but currently it is not reproducible:

  1. Download ROS 6.41 x86 - https://mikrotik.com/download
  2. Install it inside VirtualBox - Linux, Other Linux (64-bit), VDI - 128 MB, dude package is selected in process of installation - https://wiki.mikrotik.com/wiki/Manual:CD_Install
  3. Enable dude in ‘dude’ directory.
  4. Copy 2 PNG files to the ROS via Winbox to the ‘dude/files’ directory - https://wiki.mikrotik.com/wiki/Manual:The_Dude_v6/Files
  5. Assign a custom image to the map - Local.
  6. Add a device - ROS.
  7. Assign a custom image to ROS device type.
  8. Reboot ROS x86 with running Dude server.

After reboot all remain untouched: map background, ROS device image, images on the ‘dude/files’ folder.


Thank you!

Hi eriitguy,

The problem apeers after a week of continuous use.

benjamimgois, thank you for refinement!

May you please specify your custom files location?


Thank you!

Sure, they all stored at “/dude/files/” folder, take a look at the image below. The default *.svg files are also stored the same folder and they are not affected.
dude_file_location.jpg

benjamimgois, in my case custom files also stored in the ‘dude/files’ directory - but default images stored in different one:
Dude-v6-ROS-x86-Dude-custom-images-location.png
As described in the Wiki:

  1. File that were previously generated by server like default mibs/images/etc on first server startup are now shown in “(data-path)/files/default” directory as symlinks and are usable in read-only mode. In order to avoid deletion or corruption of these default resources.

Thank you!

Any news? Images disappear every days!
Does dude’s development stop again?

Same here… it seems mikrotik stopped developing it again.

Guys,
I think I solved it in the past:
Make sure the user you use for Dude access has FTP rights (the group the user belongs to)!
You don’t need the FTP protocol to be enabled (in IP services), but still seems like this policy is needed for the user to read the files from MikroTik filesystem - so your Dude can show the images, maps, etc.

edit: Just confirmed (in 6.42.3).
In /ip service - ftp is disabled all the time, this is OK.
In /user group - dude has ftp disabled in Policy => maps and images are not accessible from Dude Windows client, dude has ftp enabled in Policy list => maps/images are back :slight_smile:.

benjamimgois - please, check if it solves it for you :slight_smile:.

Dasiu,

I don’t think this is the problem, all my users have ftp access… i stopped update dude and routeros in 6.41.3 since there’s no dude updates.

I have exactly the same issue with my RB1100AHx4 Dude edition switch. I load the image files as on the SSD as the examples above, then on the map I change the icon via the picture drop down, and it is changed as expected (any other place that I load the images I can not use them as pictures in Dude). I can restart the switch and all is in order, I can run the switch for anything from 1 day to about a week or so with no issues, then one day just suddenly the files that was used on the map as images is deleted on the drive and those images are reset to none, but the unused files are still there on the SSD. If I choose one of them as the new icon the same happens width the exact result.

I have also noticed another issue that if I copy files into the SSD drive, it stops displaying more that about 300 files in windows, if I check on the switch via winbox the files are there. As I delete files on the windows machine, it just populates the files still on the drive but just show about 300 files until there is less than that then it will display all files with no issue. I have upgraded the router firmware as well as ROS and is now on the latest release, and this issues still accrues. On my VPC ROS have no issues like this in any way.

My user belong to group “full” (ftp is enable)…

Any chance to see it resolved? :slight_smile: