Offline updates built with TCB 3.11 fail

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello,

Thank you for reaching out with your issue regarding offline updates on TorizonCore Builder 3.11. The error message “validateMetadata: bad config file extension [RE]” indicates a problem with the configuration file extensions or metadata in your update package, which is causing the update process to fail.

Here are some steps you can take to troubleshoot and resolve this issue:

  1. Check File Extensions: Ensure that all configuration and metadata files in your update package have the correct extensions. Incorrect extensions can lead to validation errors.

  2. Validate Metadata: Confirm that the metadata for your Docker images and other components is correctly formatted and complete. Ensure all necessary metadata files are present and properly signed.

  3. Review Docker Tarball: Verify the integrity of the Docker tarball mentioned in the error message. Consider re-exporting the Docker image to a tarball to ensure it is complete and correctly included in the update package.

  4. Consider Known Issues: While you mentioned a known bug in TCB 3.12, similar issues might exist in TCB 3.11. Review any available release notes for TCB 3.11 for known issues or patches related to offline updates.

  5. Recreate the Lockbox: If the issue persists, try recreating the Lockbox using TorizonCore Builder. Ensure all steps are followed correctly, including the canonicalization of the docker-compose file and proper signing of metadata.

By following these steps, you should be able to identify and correct the issue with your offline update process. If the problem continues, consider reviewing the update package creation process to ensure all components are correctly prepared and validated before deployment.

I hope this helps resolve your issue. Please feel free to reach out if you have any further questions.

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

[aktualizr, offline updates] Found in archive a file with bad file type: 40960.