Wrong /tmp folder on "subfolder installed JCB instance" #1113

Closed
opened 2024-05-02 13:08:27 +00:00 by Alessandro · 2 comments

Steps to reproduce the issue

On my virtual server I have the main stable instance of JCB on root folder while I'm testing new versions of JCB on a cloned instance installed on a "subfolder".

On testing instance (subfolder) everything seems to works fine but actually when I compile packages are created on /tmp of the main instance and probably even some resources to compile are taken from main instances.
As result the download button doesn't point to the right place.

Expected result

Compiling components from a subfolder Joomla-JCB instance should create the compiled package on "subfolder/tmp", so the download button would work again has always did

Actual result

Compiling components from a subfolder of Joomla-JCB instance, the compiler seems to work correctly but packages are created on "mainfolder/tmp", so the download button doesn't point to the right place

System information (as much as possible)

  • OS Name & Version: Debian 10.13
  • MySql Version: 10.3.39-MariaDB-0+deb10u1
  • Apache Version: 2.4.38
  • PHP Version: 8.1.27
  • Joomla Version: 3.10.12
  • JCB Version: 3.2.1-rc3
  • Browser: Firefox 125.0.3 (64 bit)

Additional comments

I try to find out some eventual JCB settings to deal with "subfolder instance" but didn't find any, but maybe is just config related problem.

### Steps to reproduce the issue On my virtual server I have the main stable instance of JCB on root folder while I'm testing new versions of JCB on a cloned instance installed on a "subfolder". On testing instance (subfolder) everything seems to works fine but actually when I compile packages are created on /tmp of the main instance and probably even some resources to compile are taken from main instances. As result the download button doesn't point to the right place. ### Expected result Compiling components from a subfolder Joomla-JCB instance should create the compiled package on "subfolder/tmp", so the download button would work again has always did ### Actual result Compiling components from a subfolder of Joomla-JCB instance, the compiler seems to work correctly but packages are created on "mainfolder/tmp", so the download button doesn't point to the right place ### System information (as much as possible) - OS Name & Version: Debian 10.13 - MySql Version: 10.3.39-MariaDB-0+deb10u1 - Apache Version: 2.4.38 - PHP Version: 8.1.27 - Joomla Version: 3.10.12 - JCB Version: 3.2.1-rc3 - Browser: Firefox 125.0.3 (64 bit) ### Additional comments I try to find out some eventual JCB settings to deal with "subfolder instance" but didn't find any, but maybe is just config related problem.
Owner

Make sure that you have updated the Joomla configuration.php (JConfig) file with the correct paths:

image

Also make sure that you have the JCB path setup on the cloned system (in JCB global options -> Folder Paths tab) to aim at that systems folders:

image

Make sure that you have updated the Joomla `configuration.php (JConfig)` file with the correct paths: ![image](https://git.vdm.dev/attachments/2e462f37-71e3-48d2-881d-8d54d115f866) Also make sure that you have the JCB path setup on the cloned system (in JCB global options -> Folder Paths tab) to aim at that systems folders: ![image](https://git.vdm.dev/attachments/4423d79b-bf03-40e8-8128-e609505719b9)
Author

Yeah, it was a Joomla config problem, I supposed the tool I used to install a backup of the main instance would adapt those settings during installation but actually didn't.

Thanks Llewellyn, now my problem is fixed

Yeah, it was a Joomla config problem, I supposed the tool I used to install a backup of the main instance would adapt those settings during installation but actually didn't. Thanks Llewellyn, now my problem is fixed
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#1113
No description provided.