cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Documentation for Update Mechanism

Documentation for Update Mechanism

fabolhak
Member

Hello, 
I was wondering if there is more detailed documentation on how the update mechanism works. I only found this document. I'am particularly interesed in: 

  • Is there some automatic update mechanism? If yes how does it work?
  • Can all updates from generic apps (e.g. core22) also be installed on ctrlX OS or is there some kind of filtering?
  • Is there a difference between ctrlX CORE and other ctrlX OS devices?

I tried to play around a little bit with my self constructed ctrlX OS with the following apps being installed: 

boschrexroth@rp-3135823s006:~$ sudo snap list
Name Version Rev Tracking Publisher Notes
core20 20240705 2379 latest/stable canonical✓ base
core22 20240823 1612 latest/stable canonical✓ base
docker 24.0.5 2932 latest/stable canonical✓ -
pc 20-0.4 x1 - - gadget
pc-kernel 5.4.0-195.215.1 1973 20/stable canonical✓ kernel
rexroth-automationcore 1.16.2 767 latest/stable rexroth -
rexroth-deviceadmin 1.16.5 1974 latest/stable rexroth -
rexroth-locator-client 1.10.0 139 - rexroth -
rexroth-locator-server 1.10.0 101 - rexroth -
rexroth-rtc-monitor 1.0.3 4 latest/stable rexroth -
rexroth-solutions 1.16.0 895 latest/stable rexroth -
snapd 2.63 21759 latest/stable canonical✓ snapd

The web interface does not show any available updates. When I run sudo snap refresh manually I get the following error: 

Download snap "core22" (1621) from channel "latest/stable"
2024-10-14T09:07:36+02:00 ERROR received an unexpected http response code (404) when trying to download https://snapstore.boschrexroth.com/api/v1/snaps/download/amcUKQILKXHHTlmSa7NMdnXSx02dNeeT_1621.snap

Which is kinda weird, because the URL is valid and the device should have internet access (I'm not behind a proxy or something).

Is this a known behavior?

3 REPLIES 3

CodeShepherd
Community Moderator
Community Moderator

We are using the snap container mechanism for app updates. You can find deeper information on https://snapcraft.io/docs.

As stability and reliability are the main focus there is no automatic update on ctrlX OS for updating the apps. Container manager is snapd.

In general all applications packed into a snap can be installed on the ctrlX OS. As also the system/standard apps are installed in the same way they also can be. When using an online connection from a ctrlX OS to our ctrlX Store there is a filter that only apps validated by Rexroth are available.

As on each ctrlX CORE the running system is ctrlX OS the behaviour in general is the same.

For your update topic, not all versions of all snaps published by Canoical are validated by Rexroth so latest ones can be not installable as long as this is the case.

okay thank you. I guess that answered my questions. 

Maybe one more Bosch specific question: I'm having trouble accessing the Rexroth Brandstore from within the BCN. Accessing the official Snapcraft store works like a charm through the proxy, but Rexroth Brandstore seems to be particularly blocked. 

$ curl -H 'X-Ubuntu-Series: 16' -H 'User-Agent: blub' https://api.snapcraft.io/api/v1/snaps/details/docker
{... usefull content ...}

$ curl -H 'X-Ubuntu-Series: 16' -H 'User-Agent: blub' https://snapstore.boschrexroth.com/api/v1/snaps/details/docker
curl: (56) Received HTTP code 503 from proxy after CONNECT

 

Hi,

the Rexroth Brandstore is hosted in a network zone which is accessible from the Internet but direct access is forbidden from within the BCN. If you want to use the Brandstore from within the BCN, you can use a BTIA to connect your devices.

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist