I can’t open or Edit Mimic Files.

Forum Home Forums Runtime Bugs Webstation Bugs I can’t open or Edit Mimic Files.

Tagged: 

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #17619
    John_Devan_2929
    Participant

    I’m trying to run Rapid SCADA on a Linux VM for testing (instead of Docker). After installation and configuration, I obtained the computer code and a trial key for Extra Components.

    The reason I’m running RapidSCADA in a Linux VM instead of using native Windows is to simulate the server my company uses; in this case, they use Linux instead of Windows.

    However, I’m troubleshooting Rapid SCADA v6 Web on Linux (Kestrel on port 10008) and I can’t open or edit any Mimic (.mim) files using the Mimic Editor plugin.

    Main issue:
    Whenever I try to open a .mim file in Mimic Editor, it fails with:
    “Error loading mimic: Project not found for the mimic.”
    In one attempt (after other changes), I also got:
    “Could not find a part of the path ‘/opt/scada/ScadaWeb/HelloWorld’.”

    Environment:
    Linux VM (Ubuntu/Xubuntu), Rapid SCADA installed under /opt/scada
    Webstation reachable at http://IPadress:10008/
    Logged in as admin, and the Mimic Editor pages load (MimicList, etc.)

    What I did / what I observed:
    Confirmed plugins are enabled
    In /opt/scada/ScadaWeb/config/ScadaWebConfig.xml I have:
    PlgMimic
    PlgMimicEditor
    PlgMimExtraComp
    (and other default plugins)
    Checked Mimic Editor config
    /opt/scada/ScadaWeb/config/PlgMimicEditor.xml contains:
    <StorageDir>/opt/scada/Views</StorageDir>

    I also tested changing StorageDir to /opt/scada/ScadaWeb/storage just to see if anything changed, but it didn’t help (that folder only contains StatsID.txt and XmlRepository).

    Created mimics in Administrator:
    In Administrator (Windows), project HelloWorld, I created .mim files (e.g., NewFile.mim) and deployed the configuration.
    Verified the file exists on Linux
    The file is present on the server:
    /opt/scada/Views/HelloWorld/NewFile.mim
    (I also tried other placements and filenames.)
    Tried every “Open Mimic” path format
    In the Mimic Editor “Open Mimic” box I tried:

    – absolute paths like /opt/scada/Views/HelloWorld/NewFile.mim
    – relative paths like HelloWorld/NewFile.mim
    – subfolders like HelloWorld/Views/NewFile.mim

    No combination opens the file; it always reports “Project not found for the mimic” (or “path not found”).
    Tried creating directories that look like “project roots”
    Because the error mentions a project, I searched for any “Projects” folder or project manifest on Linux, but couldn’t find anything like that:
    find /opt/scada -iname “*project*” only showed /opt/scada/Project.txt and some language XML files.

    I also tried creating:
    /opt/scada/Projects/HelloWorld/Views
    and copying view files there, but it didn’t change the behavior.
    Storage / ActiveStorage change attempt

    In /opt/scada/Config/ScadaInstanceConfig.xml I saw:
    “<ActiveStorage>FileStorage</ActiveStorage>”
    Under FileStorage: <ViewAvailable>false</ViewAvailable>
    I tried switching to PostgreSqlStorage temporarily, but Webstation stopped working (500 errors / connection refused), so I reverted.

    Web behavior / network traces
    /MimicEditor/MimicList loads fine (HTTP 200).
    The editor page loads, but opening the mimic triggers the error banner and the canvas never loads…

    Request
    Could someone please advise what I might be missing? I also watched the tutorial video (works on Windows):
    https://youtu.be/yywiPxFYPMU?si=zBSrI4LQZZkBZ-7y

    My setup appears identical, except I’m running on Linux.

    #17623
    Mikhail
    Moderator

    Hello,

    I suggest the following:
    1. Also install Rapid SCADA on another Windows machine.
    2. Edit your project on the Windows machine, and upload the project for execution to the Linux machine.

    When you open a mimic on a Linux machine, the software also searches for the project file *.rsproj. Usually there is no project file on a Linux machine.

    If you prefer only Linux, install ScadaAdmin for Wine to edit project on Linux. When first getting to know Rapid SCADA, I recommend editing projects on Windows.

    #17624
    Mikhail
    Moderator

    Just for testing, copy your project on Linux to
    /opt/scada/Projects/
    and try opening the *.mim file via the web interface.

    #17627
    John_Devan_2929
    Participant

    Thank you for helping me solve this issue.

    I believe the problem I was having earlier was caused by the missing .rsproj file. When I copy this file over to my Linux VM, both Mimic and MimicEditor load correctly.

    I assume that for every project I create and deploy to a Linux server, the .rsproj file will be required if I want to use MimicEditor and/or its plugins.

    #17628
    Mikhail
    Moderator

    .rsproj file is needed in edit mode only.
    Note that there are 2 copies of a project: for editing, for runtime.

    #17629
    John_Devan_2929
    Participant

    I installed the PlgMimExtraComp.dll both:

    On the Windows machine (Administrator)

    On the Linux server (including wwwroot, lang, etc.)

    I successfully obtained the trial key and activated it.
    The MimicEditor loads correctly on Linux, and the extra components appear in the editor.

    However, when I save the mimic file, it does not appear correctly on the WebStation with the plugin graphics. Even after restarting the server and all daemons, the file.mim appears blank in the WebStation.

    Below is the ScadaWeb log:

    2026-02-11 10:50:46 [evoserver][root][ACT] Webstation 6.2.3.0 started
    2026-02-11 10:50:46 [evoserver][root][ACT] Storage FileStorage 6.4.0.0 loaded from file /opt/scada/ScadaWeb/FileStorage.dll
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgChart 6.1.0.1 loaded from file /opt/scada/ScadaWeb/PlgChart.dll
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgMain 6.1.2.0 loaded from file /opt/scada/ScadaWeb/PlgMain.dll
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgMimic 6.0.0.1 loaded from file /opt/scada/ScadaWeb/PlgMimic.dll
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgMimicEditor 6.0.0.2 loaded from file /opt/scada/ScadaWeb/PlgMimicEditor.dll
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgMimBasicComp 6.0.0.1 loaded from file /opt/scada/ScadaWeb/PlgMimBasicComp.dll
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgScheme 6.1.1.0 loaded from file /opt/scada/ScadaWeb/PlgScheme.dll
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgSchBasicComp 6.1.0.0 loaded from file /opt/scada/ScadaWeb/PlgSchBasicComp.dll
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgStore 6.1.0.1 loaded from file /opt/scada/ScadaWeb/PlgStore.dll
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgWebPage 6.1.1.0 loaded from file /opt/scada/ScadaWeb/PlgWebPage.dll
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgMimExtraComp 6.0.0.0 loaded from file /opt/scada/ScadaWeb/PlgMimExtraComp.dll
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgMimic: Add components from the PlgMimBasicComp plugin
    2026-02-11 10:50:46 [evoserver][root][ACT] Check PlgMimExtraComp registration: Registration key is valid. Expiration date is 12/02/2026.
    Computer code: =XXXXXX=
    Registration key: XXXXXX
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgMimic: Add components from the PlgMimExtraComp plugin
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgScheme: Retrieve scheme components from the installed plugins
    2026-02-11 10:50:46 [evoserver][root][ACT] Plugin PlgScheme: Added components from the PlgSchBasicComp plugin
    2026-02-11 10:50:46 [evoserver][root][ACT] Receive the configuration database
    Connection refused [::ffff:127.0.0.1]:10000
    2026-02-11 10:50:56 [evoserver][root][ACT] Receive the configuration database
    2026-02-11 10:50:57 [evoserver][root][ACT] The configuration database has been received successfully
    2026-02-11 10:50:57 [evoserver][root][INF] The application is ready for operating

    The plugin is loaded and the registration key is valid, but the mimic does not render in WebStation.

    #17630
    John_Devan_2929
    Participant

    I also tried:

    – Deploying the project again from Administrator
    – Performing Download Configuration
    – Then performing Upload Configuration

    But the issue remains the same.

    #17633
    John_Devan_2929
    Participant

    Today, I tried manually copying the file within “Projects” to the runtime path. I noticed the timestamp changed, and when I restarted SCADA Web 6, the file.mim correctly updated in relation to MimicEditor.

    So… Every time I edit the view, do I need to copy and restart web6?

    I also have doubts about whether the path to the editor will be updated correctly when the deployment is done.

    Here is the terminal input/output:
    evo@evoserver:~/backups_rapidscada_NATIVE$ ls -lh “/opt/scada/Views/UFV Americano/teste.mim”
    -rw-r–r– 1 root root 2,8K fev 11 10:17 ‘/opt/scada/Views/UFV Americano/teste.mim’
    evo@evoserver:~/backups_rapidscada_NATIVE$ find /opt/scada -name “teste.mim” -o -name “NewFile.mim”
    /opt/scada/Views/UFV Americano/teste.mim
    /opt/scada/Projects/UFVs/Views/UFV Americano/teste.mim
    evo@evoserver:~/backups_rapidscada_NATIVE$ sudo find /opt/scada -name “teste.mim” -printf “%TY-%Tm-%Td %TH:%TM %p\n”
    2026-02-11 10:17 /opt/scada/Views/UFV Americano/teste.mim
    2026-02-12 07:20 /opt/scada/Projects/UFVs/Views/UFV Americano/teste.mim
    evo@evoserver:~/backups_rapidscada_NATIVE$ sudo cp -f “/opt/scada/Projects/UFVs/Views/UFV Americano/teste.mim” \
    “/opt/scada/Views/UFV Americano/teste.mim”
    evo@evoserver:~/backups_rapidscada_NATIVE$ sudo ls -lh “/opt/scada/Views/UFV Americano/teste.mim”
    -rw-r–r– 1 root root 11K fev 12 07:49 ‘/opt/scada/Views/UFV Americano/teste.mim’
    evo@evoserver:~/backups_rapidscada_NATIVE$ sudo systemctl restart scadaweb6

    After that, the file.mim updated and appeared correctly in the webstation.

    #17635
    Mikhail
    Moderator

    Every time I edit the view, do I need to copy and restart web6?

    When a project is uploaded from the Administrator app, the ScadaAgent service restarts the web application.
    If you copy the file manually, restart is also needed, because the view is cached.
    There is a soft restart feature: http://localhost:10008/ConfigReload

    #17636
    Mikhail
    Moderator

    Control ScadaWeb.log to make sure that the web app has restarted.

    #17637
    John_Devan_2929
    Participant

    Before moving forward with purchasing the PlgMimExtraComp plugin, I would like to clarify a few points about the licensing process to make sure I fully understand how it works.

    As I understand it, the workflow would be:

    Complete the payment → receive the license key by email → enter the key in the Engineer’s Administrator (Plugins → PlgMimExtraComp → Register) → upload the project to the server → and then the plugin runs with the license applied.

    Could you please confirm the following:

    1. Is this the correct procedure for activating the license?

    2. Is the license perpetual and tied to the Computer Code of the machine where the plugin runs (in my case, the Linux server)? If I change the server and the Computer Code changes, would a new license be required?

    3. Is registering the key in the Administrator sufficient, or is there any additional step required directly on the server?

    Now i’m running Native RapidSCADA on linux, instead running in docker

    #17638
    Mikhail
    Moderator

    1. Yes.
    Note that the particular plugin PlgMimExtraComp also requires a license on a workstation if an engineer edit mimic on the workstation. Maybe we can figure out how to avoid this.

    2. If the software is moved to another server, a new key is needed. Please check this terms for the details.

    3. Try a trial.

    #17639
    John_Devan_2929
    Participant

    We would edit the mimics directly on the Linux server using the web interface (via URL), instead of editing them on a workstation. Then, after making changes, we would use a small deploy script to copy the updated mimic files to the runtime path and perform a Web6 reload so the changes are immediately reflected in the runtime.

    This way, the plugin would only need to be licensed on the server, since all editing would also be done there.

    Is this the right approach?

    #17640
    John_Devan_2929
    Participant

    When I tried copying from the editor path to the runtime path, it worked and the plugins appeared correctly with the trial version.

    I believe that using a script like ‘deploy.sh’ that executes:
    set -euo pipefail

    SRC=”/opt/scada/Projects/UFVs/Views/”
    DST=”/opt/scada/Views/”

    rsync -av “$SRC” “$DST”

    systemctl restart scadaweb6

    echo “Deploy views OK: $SRC -> $DST”

    should work

    #17641
    Mikhail
    Moderator

    > Is this the right approach?
    It can work, but this is not the right approach, because the configuration including mimics should in edited as a part of the project.

    Please clarify:
    1. Do you use the Linux machine without desktop interface?
    2. Do you prefer editing mimics on Linux to avoid extra licensing?

Viewing 15 posts - 1 through 15 (of 18 total)
  • You must be logged in to reply to this topic.