Sysupgrade.conf does not work (RUTX50)

We created a folder /etc/scripts. There homed several scripts.
In sysupgrade.conf we wrote /etc/scripts:

This file contains files and directories that should

be preserved during an upgrade.

/etc/example.conf

/etc/openvpn/

/etc/scripts/
/root/.ssh/known_hosts

After Firmware upgrade the folder /etc/scripts an the file /root/.ssh/known_hosts is missing.
I tested with different Firmwares. For example RUTX_R_00.07.08.2 > RUTX_R_00.07.09 or
RUTX_R_00.07.08.2 > RUTX_R_00.07.09.1.

Hello,

Thank you for your report.

Unfortunately, I wasn’t able to replicate the issue when upgrading the firmware from RUTX_R_00.07.08.2 to RUTX_R_00.07.09.1, as the folder /etc/scripts and the text file in it remained intact. To assist with troubleshooting, could you please provide a screenshot of your sysupgrade.conf file?

Additionally, there was a known issue where directories under /root were not saved correctly during firmware upgrades. For this reason, I recommend storing your scripts in /etc, which tends to be more reliable.

Best Regards,

Hello.

As you wish here the screenshot.
grafik
Thanks in advance

Hello.
I think I found the error.
The problem was probably in the copy / paste, so that the sysupgrade.conf had the character ^M at the end of each line.
Thanks for your efforts.

This topic was automatically closed 40 hours after the last reply. New replies are no longer allowed.

Hello,

Thank you for your update. I’m glad to hear you identified the issue.

If you need any further assistance or have more questions, please feel free to reach out.

Best regards,