Page 1 of 1

cannot move the folder

Posted: Sat Apr 19, 2025 2:21 am
by ecz-ecz-oc-01
Hi everyone,

I’m new to OpenCart (v4.1.0.3) and ran into an issue during the installation:

Problem
On the Move storage directory step, I enter a valid path outside the web root (for example /var/www/storage_opencart) and click Move. The spinner appears next to the button, but it never completes and the directory isn’t moved.

My environment
OS: Ubuntu 20.04 LTS
Web server: Nginx 1.18 + PHP‑FPM (www-data)
PHP: 7.4.3
Database: MySQL 8.x
OpenCart version: 4.1.0.3 (fresh download)
What I’ve tried so far
Permissions: Verified that www-data owns and can write to the target folder.
Path validation: Confirmed the new directory is outside public_html/www/htdocs and its name begins with storage_.
Logs: Checked Nginx error log and PHP‑FPM log right after clicking “Move”; nothing relevant appears.
I haven’t attempted a manual filesystem move yet. Does anyone know of a bug or workaround for this spinner‑hang issue in v4.1.0.3 under Nginx? What else should I check before trying to move files manually? Thanks in advance for your help!

Re: cannot move the folder

Posted: Sat Apr 19, 2025 11:57 am
by khnaz35
if you are going to use the OC for live website then use a more stable version of 3.0.4.0

Re: cannot move the folder

Posted: Sun Apr 20, 2025 1:49 am
by ecz-ecz-oc-01
I’m a bit puzzled—can you or someone else explain why I shouldn’t use the latest stable branch? Unless v4.1.0.3 is effectively a nightly build, directing people back to 3.0.4.0 seems odd. Newer releases usually include important security patches and bug fixes, so I’d love to understand:

What specific stability issues exist in 4.1.0.3?
What does it have to do with my original question here?
Are security risks in the 4.x line sufficient to outweigh the fixes it brings?
Thanks for any details or examples you can share!

Re: cannot move the folder

Posted: Sun Apr 20, 2025 2:00 am
by Cue4cheap
ecz-ecz-oc-01 wrote:
Sun Apr 20, 2025 1:49 am
I’m a bit puzzled—can you or someone else explain why I shouldn’t use the latest stable branch? Unless v4.1.0.3
Because the latest version isn't "a stable branch".

Mike

Re: cannot move the folder

Posted: Sun Apr 20, 2025 2:27 am
by ecz-ecz-oc-01
Hm, seems legit but, should be worth a mention on the download page maybe.... :clown:

Re: cannot move the folder

Posted: Sun Apr 20, 2025 5:03 am
by Elevate
ecz-ecz-oc-01 wrote:
Sun Apr 20, 2025 2:27 am
Hm, seems legit but, should be worth a mention on the download page maybe.... :clown:
Opencart is a bit strange when it comes to releases. 4.x has been ongoing for several years and for some reason can't become a reliable choice.
As far as moving your directory, have you tried moving it via FTP or File Manager? You would have to update the DIR Paths in both config files.