Update Firmware fail and Qfile pro Connection

I recently purchased an older QNAP TS-231P model, but I am experiencing several issues as follows:

  1. Firmware Update Issue

    The NAS is still running an old firmware version: QTS 4.3.3.0188 Build 20170516. I have attempted to update the firmware multiple times, but the update process always fails (error 0004).

    Could you please advise on the proper steps to upgrade the firmware and resolve this issue?

  2. Qfile Pro Remote Access Issue

    I am trying to connect to the NAS using Qfile Pro on my iPhone. However, when using an external internet connection (mobile data or a different network), Qfile Pro is unable to connect to the NAS.The connection works normally when both the NAS and the iPhone are connected to the same local network (LAN).

Re 1: The firmware is very old. Please download and install QTS 4.5.x first, and then run the built-in update. It will download several versions at first; this is normal.
Re 2: Please connect the NAS to the iPhone via a VPN tunnel.

Solved with the following method at How do I resolve an FW004 error when updating firmware? | QNAP (US)