Upload of component (Component Name) update server XML (and zip) failed. #1168

Open
opened 2024-09-06 10:37:48 +00:00 by kommid · 4 comments
Member

Steps to reproduce the issue

set up an update server in components -> component builder -> servers
tried ftp and sftp, verified both working on the update server: ftp and sftp working and copying files from jcb server to update server manually work perfectly

Expected result

After compiling my component, XML and component zip file are transfered to upate server

Actual result

Error
Upload of component (Component Name) update server XML failed.
Upload of component (Component Name) zip file failed.

System information (as much as possible)

  • OS Name & Version: Deban 11
  • MySql Version: 10.5.23-MariaDB-0+deb11u1
  • Apache Version: 2
  • PHP Version: 8.1.29
  • Joomla Version: 3.10.12
  • JCB Version: 3.2.3
  • Browser: Firefox

Additional comments

It used to work some jcb versions ago with the same settings. triple checked account info and tested copyin files manualy with these credentials, but no luck. Any tips appreciated

### Steps to reproduce the issue set up an update server in components -> component builder -> servers tried ftp and sftp, verified both working on the update server: ftp and sftp working and copying files from jcb server to update server manually work perfectly ### Expected result After compiling my component, XML and component zip file are transfered to upate server ### Actual result Error Upload of component (Component Name) update server XML failed. Upload of component (Component Name) zip file failed. ### System information (as much as possible) - OS Name & Version: Deban 11 - MySql Version: 10.5.23-MariaDB-0+deb11u1 - Apache Version: 2 - PHP Version: 8.1.29 - Joomla Version: 3.10.12 - JCB Version: 3.2.3 - Browser: Firefox ### Additional comments It used to work some jcb versions ago with the same settings. triple checked account info and tested copyin files manualy with these credentials, but no luck. Any tips appreciated
Owner

Without more debug it will be hard to know. I am not using these features right now, but yes they still worked last time I checked and we did not change something in them recently far as I know.

Lets see:

  • Are you sure the issue is not on the server your trying to push the file to? Trippe check :) the logs on your server.
  • Can you in the compiler do some debugging? I will give you lines to look at.

There are honestly many parts that needs to be correct for this to work, and sometimes one part changes due to some update somewhere downstream and then we need to add additional improvements upstream. So if you can find out what that is, I can try and fix it. I am just in the middle of some huge changes, and deadlines, else I would help debugging this... but if you can help with that, it will help tremendously.

Without more debug it will be hard to know. I am not using these features right now, but yes they still worked last time I checked and we did not change something in them recently far as I know. Lets see: - Are you sure the issue is not on the server your trying to push the file to? Trippe check :) **the logs** on your server. - Can you in the compiler do some debugging? I will give you lines to look at. There are honestly many parts that needs to be correct for this to work, and sometimes one part changes due to some update somewhere downstream and then we need to add additional improvements upstream. So if you can find out what that is, I can try and fix it. I am just in the middle of some huge changes, and deadlines, else I would help debugging this... but if you can help with that, it will help tremendously.
Author
Member

OK, I now checked the logs on the receiving server. There is no enty in the logs after compiling with option " Add to Backup Folder & Sales Server (if set) " set to yes. I tried SFTP and FTP. When I transfer a file to the server via command line (both, SFTP and FTP) I can see this in the logs of the receiving server. It also works flawless using the credentials saved in JCB.
To me it seems - at least on my system - that a file transfer isn't initiated. the component is compiled in no time and the error message is displayed instantly as if it doesn't even try, but this is just an assumption :)

OK, I now checked the logs on the receiving server. There is no enty in the logs after compiling with option " Add to Backup Folder & Sales Server (if set) " set to yes. I tried SFTP and FTP. When I transfer a file to the server via command line (both, SFTP and FTP) I can see this in the logs of the receiving server. It also works flawless using the credentials saved in JCB. To me it seems - at least on my system - that a file transfer isn't initiated. the component is compiled in no time and the error message is displayed instantly as if it doesn't even try, but this is just an assumption :)
Owner

I am assuming that you have linked the server to your component:
image

I am assuming that you have linked the server to your component: ![image](https://git.vdm.dev/attachments/8ba2b910-d795-4c65-8296-7ec0a615d869)
Author
Member

of course I did :)
let me check this out on a fresh JCB install. Mine is quite old and had issues in the past though

of course I did :) let me check this out on a fresh JCB install. Mine is quite old and had issues in the past though
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#1168
No description provided.