Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

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

The hello-webserver example cannot be installed on the virtual ctrlX core

The hello-webserver example cannot be installed on the virtual ctrlX core

Yang
Member

Hello community,

 

I am following the ctrlX application tutorial with SDK 1.10.0 and WSL environment. I am able to build the snap but I couldn't install it on the ctrlX core virtual. the error I got after the installation is just empty "{} " as shown below.

Yang_1-1635347689594.png

Did anyone meet similar problem before?

 

 

5 REPLIES 5

nickH
Community Moderator
Community Moderator

I checked it and could reproduce your problem. 

With the Release Milestone RM21.11 (Version V-0112) we will change our ctrlX CORE operating system from Linux Ubuntu Core 18 to 20. Which means that the snap will be updated for the next release. 

Hello Nick,

Thank you for your reply! Do you mean this problem exists only with ubuntu 18? Will it be solved in the release RM21.11?

nickH
Community Moderator
Community Moderator

Hello Yang,

Yes, the issue should be solved with the next release. For the release RM21.11 the go API is going to be updated and therefore also the go-samples are going to be reworked.

Regards,

Nick

nickH
Community Moderator
Community Moderator

Hello Yang,

We've got an update on your problem. In the snapcraft.yaml a base snap has to be defined as core18. So if you add the line “base: core18” to the snapcraft.yaml, (like it is shown in the screenshot) the snap can be installed and works like it should. 

snapcraft_yaml_hellowebserver.png

Thanks for bringing this up.

 

Regards,

Nick

Hello Nick,

I just tried your solution, it works right now. Thanks!

Yang_0-1636462401626.png

 

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