Hello,
I am trying to run application from this article :
https://github.com/PLCnext/SampleRuntime/blob/master/getting-started/Part-03/README.md
after uploading Runtime app to my PLC I got this error:
28.06.24 12:34:33.634 Arp.System.Acf.Internal.ApplicationBase INFO - Application ‚ExternalIoProcess‘ was setup successfully.
28.06.24 12:34:33.887 Arp.System.Acf.Internal.Sm.ProcessesController INFO - Process ‚ExternalIoProcess‘ started successfully.
28.06.24 12:34:33.888 Arp.System.Acf.Internal.Sm.ProcessesController INFO - Process ‚LocalIoProcess‘ started successfully.
28.06.24 12:34:35.188 CommonRemoting INFO - Accepted connection #4: connectionId=AE4F55AB, ipc://
28.06.24 12:34:35.193 CommonRemoting INFO - Accepted connection #5: connectionId=AC0F48E3, ipc://
28.06.24 12:34:38.890 Arp.System.Acf.Internal.Sm.ProcessesController ERROR - Could not start process ‚Runtime‘.
28.06.24 12:34:38.896 Arp.System.Acf.Internal.ApplicationBase FATAL - Fatal error occurs in application ‚MainProcess‘:
28.06.24 12:34:38.897 Arp.System.Acf.Internal.ApplicationBase FATAL - Exception occurs: Exception of type ‚Arp::System::Commons::InvalidOperationException‘ was thrown
Could not start all processes
at Arp::System::Acf::Internal::Sm::ProcessesController::StartProcesses()
at Arp::System::Acf::Internal::Sm::SystemManager::SetupSystemSettings()
at Arp::System::Acf::Internal::Sm::SystemManager::SetupSystem()
at Arp::System::Acf::Internal::ApplicationBase::Main(int, char**, Arp::System::Commons::Diagnostics::Logging::LogLevel)
at Arp.System.Application(+0x216ea) [0x4b36ea]
at /lib/libc.so.6(+0x217c6) [0xb63f17c6]
at /lib/libc.so.6(__libc_start_main+0x5f) [0xb63f1870]
28.06.24 12:34:38.898 Arp.System.Acf.Internal.ApplicationBase INFO - Application ‚ExternalIoProcess‘ terminates.
28.06.24 12:34:38.901 CommonRemoting INFO - Remote client disconnects explicitly, connectionId = AE4F2B8B
28.06.24 12:34:38.903 Arp.System.Acf.Internal.ApplicationBase INFO - Application ‚LocalIoProcess‘ terminates.
28.06.24 12:34:38.906 CommonRemoting INFO - Remote client disconnects explicitly, connectionId = AE4F08F3
I found this: https://www.plcnext-community.net/forum/#/discussion/2029/debug-arp-system-commons-invalidoperationexception
and I cannot edit the plcnext file and when i am trying to do this as sudo I got this message:
Sorry, user admin is not allowed to execute ‚/usr/bin/nano plcnext‘ as root on axcf2152
I have also removed all containers from plc.
Do you have any ideas why it is not working?
Thanks in advance