FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
04-05-2024 01:19 PM
Hello @MauroRiboniMX! I'm Alex from logiccloud, we're packaging our app for ctrlX but I'm having a slight issue. I'm using the licensing-service plug defined in my snapcraft.yaml plugs section and added to the app section in the plugs list, as instructed here: https://developer.community.boschrexroth.com/t5/SDK/Licensing-integration-unix-socket-missing/m-p/47...
I am still not able to see the socket file in the existing $SNAP_DATA/licensing-service directory. Although the mentioned topic was closed as Solved, I could not find the solution to this issue. Maybe here is something missing?
Here is the relevant portion on the snapcraft.yaml:
plugs:
datalayer:
interface: content
content: datalayer
target: $SNAP_DATA/.datalayer
sysdir:
interface: system-files
write:
- /sys
licensing-service:
interface: content
content: licensing-service
target: $SNAP_DATA/licensing-service
apps:
logiccloud:
command: bin/initedge
daemon: simple
plugs: [network, network-bind, sysdir, datalayer, licensing-service]
restart-condition: always
environment:
EDGE_ADMIN_APP_FOLDER: $SNAP_DATA
EDGE_ADMIN_PORT: "8080"
LD_LIBRARY_PATH: /usr/local/lib:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/
Thanks for your help!
Solved! Go to Solution.
04-05-2024 04:21 PM
Hello,
Suggestion 1: start a wrapper and wotk with that ( a script) and try to print out the content 🙂
There is no way the socket is not there unless you install the app differently than using the frontend
04-08-2024 10:48 AM
Hi, I've run a shell in the snap and saw the socket file where it was supposed to be. I guess there is no issue after all, as you said :). Thank you!