Dear Community User! We are updating our platform to a new system.
Read more: Important information on the platform change.

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

Unable to get webinterface on CtrlX homepage

Unable to get webinterface on CtrlX homepage

kees.schoenmaker
New Poster


I am trying to get our webpage on the CtrlX home page. I have followed the description within our internal docupedia documentation.
[Content removed by Community Team]
but no such luck. After installation of our snap, nothing changes on the home page of the device.

Anybody any idea what I am doing wrong?

Thank you,
Kees Schoenmaker

I am using the following snapcraft.yaml and package-manifest.json files:
===== snapcraft.yaml =======
name: s2sadapter
base: core18 # the base snap is the execution environment for this snap
architectures:
- build-on: all
run-on: arm64
version: '0.4.8' # just for humans, typically '1.2+git' or '1.3.2'
summary: Bosch System 2 System Adapter # 79 char long summary
description: |
Bosch System2SystemAdapter bla bla

grade: devel # must be 'stable' to release into candidate/stable channels
#confinement: strict # use 'strict' once you have the right plugs and slots
confinement: devmode # use 'strict' once you have the right plugs and slots

#grade: devel # must be 'stable' to release into candidate/stable channels
#confinement: devmode # use 'strict' once you have the right plugs and slots


parts:
s2sadapter:
plugin: dump
source: publish_0813_3
source-type: local
# source: S2SLinuxArm64.zip
# source-type: zip

configs:
source: ./configs
plugin: dump
apps:
driverhandler:
command: Bosch.System2SystemAdapter.DriverHandler
plugs: [network, network-bind, network-observe, process-control] # daemon: simple
environment:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: "true"
# CORE_LIBRARIES: "/snap/s2sadapter/current"
service:
command: Bosch.System2SystemAdapter.S2SAdapterService
plugs: [network, network-bind, network-observe, process-control] # daemon: simple
environment:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: "true"
# DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER: "false"
# CORE_LIBRARIES: "/snap/s2sadapter/current"

slots:
package-assets:
id: s2sadapter
manifest: package-manifest.json
interface: content
content: package-assets
source:
read:
- $SNAP/package-assets/${SNAPCRAFT_PROJECT_NAME}
# - $SNAP
package-run:
interface: content
content: package-run
source:
write:
- $SNAP_DATA/package-run/${SNAPCRAFT_PROJECT_NAME}
==============

===== package-manifest.json =======
{
"version":"1.0.1",
"id":"s2sadapter",
"services":{
"proxyMapping":[
{
"name":"s2sadapter",
"url":"/s2sadapter",
"binding":"http://localhost:8081"
}
]
},
"menus": {
"sidebar": [
{
"id": "s2sadapter",
"title": "S2SAdapter",
"icon": "bosch-ic-hierarchy",
"permissions": [
],
"items": [
{
"id": "s2s-admin",
"title": "Administration",
"link": "/s2sadapter",
"permissions": []
},
{
"id": "s2s-dashboard",
"title": "Dashboard",
"link": "s2sadapter",
"permissions": []
}
]
}
],
"settings" : []
"overview": [
{
"id": "s2s-dashboard",
"title": "S2S Dashboard",
"icon": "bosch-ic-hierarchy",
"link": "/s2sadapter",
"permissions": []
}
]
}
}

======================

2 REPLIES 2

JohannesA
Established Member

Hi,

 

whats your way installing the snap? Maybe the package-manifest interface is not connected?

 

Regards

Johannes

Please have a look after installing into the diagnoostic logbook. There you will get some more information, what propably went wrong.

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