• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EtherCAT Master: any options?
#13
(April-15th-2019, 09:23 PM)Armin@netPI Wrote: I know such a problem very well and indeed your problem is the windows file system that cannot save the file “entrypoint.sh” file as being “Linux” executable.
So once you copied the original files from the repository onto your windows machine the executable property got lost.
Now back to the problem and how to solve it. First of all the command “chmod +x entrypoint.sh” is definitively the correct command to call. You said you tried it already but I have no explanation right now why it should not work.
What I basically can tell you is that I know at least three customer how combined these two containers already
successfully. So the root cause are not the containers themselves.
How about posting your Dockerfile...
I have another recommendation. Your container crashes for sure...but during container start you can specify a different entrypoint online. Use “/bin/bash” instead and use it in terminal and interactive mode. And then use the embedded console in portainer.io to jump into the container and use Linux commands as usual. Then go to your entrypoint.sh file and watch it if it is really not executable
Thx
Armin

Hello Armin,

thank you for your answer. At the moment I cant even connect to the bash via the portainer command line utility because the conainter image which is a copy of hilschernetpi/netpi-codesys-basis restarts when it tries to start (At container creation I set as override entrypoint /bin/bash). I think that this permission issue is the problem.

Using Ubuntu cloning hilschernetpi/netpi-codesys-basis to my own repository works. Another problem was that the container was never updated from dockerhub, when the repository was switched to private (obviously). Portainer did not complain and used the available local image all the time without notification, hence the changes made to the dockerhub repository were not deployed to the device. To circumvent that make sure that you delete all local copies of the images and that you set yout docker hub repository to public.

I do not doubt that others did the merge successfully. Im trying further and will report here

Best,
Andreas
  Reply


Messages In This Thread
Answer - by maiorfi - March-31st-2018, 02:59 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-15th-2019, 09:23 PM
RE: EtherCAT Master: any options? - by andreash - April-16th-2019, 10:41 AM
RE: EtherCAT Master: any options? - by Armin@netPI - April-16th-2019, 01:49 PM
RE: EtherCAT Master: any options? - by andreash - April-16th-2019, 01:54 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-16th-2019, 02:23 PM
RE: EtherCAT Master: any options? - by andreash - April-16th-2019, 03:03 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-16th-2019, 03:10 PM
RE: EtherCAT Master: any options? - by andreash - April-17th-2019, 03:51 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-17th-2019, 05:38 PM
RE: EtherCAT Master: any options? - by andreash - April-19th-2019, 11:59 AM
RE: EtherCAT Master: any options? - by Armin@netPI - April-19th-2019, 01:26 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-20th-2019, 07:31 AM
RE: EtherCAT Master: any options? - by Armin@netPI - April-23rd-2019, 07:24 AM
RE: EtherCAT Master: any options? - by andreash - April-30th-2019, 01:17 PM
RE: EtherCAT Master: any options? - by Armin@netPI - April-30th-2019, 01:46 PM
RE: EtherCAT Master: any options? - by andreash - May-20th-2019, 05:59 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-20th-2019, 06:37 PM
RE: EtherCAT Master: any options? - by andreash - May-21st-2019, 09:43 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-21st-2019, 10:13 AM
RE: EtherCAT Master: any options? - by andreash - May-22nd-2019, 09:28 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 10:01 AM
RE: EtherCAT Master: any options? - by andreash - May-22nd-2019, 10:18 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 10:25 AM
RE: EtherCAT Master: any options? - by andreash - May-22nd-2019, 10:33 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 12:11 PM
RE: EtherCAT Master: any options? - by andreash - May-22nd-2019, 01:12 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 02:18 PM
RE: EtherCAT Master: any options? - by andreash - May-28th-2019, 11:39 AM
RE: EtherCAT Master: any options? - by Armin@netPI - May-22nd-2019, 03:00 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-28th-2019, 01:41 PM
RE: EtherCAT Master: any options? - by andreash - May-28th-2019, 01:57 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-28th-2019, 02:11 PM
RE: EtherCAT Master: any options? - by andreash - May-28th-2019, 02:21 PM
RE: EtherCAT Master: any options? - by andreash - May-30th-2019, 05:04 PM
RE: EtherCAT Master: any options? - by Armin@netPI - May-30th-2019, 07:55 PM
Answer - by Armin@netPI - March-31st-2018, 06:07 PM
Answer - by maiorfi - April-4th-2018, 05:26 PM
Answer - by Armin@netPI - April-4th-2018, 06:53 PM
Answer - by Armin@netPI - April-19th-2018, 10:49 AM
Answer - by Jorgem - April-19th-2018, 10:50 AM
Answer - by Jorgem - April-20th-2018, 11:41 AM
Answer - by Armin@netPI - April-20th-2018, 12:53 PM
Answer - by Jorgem - April-20th-2018, 01:39 PM
Answer - by Armin@netPI - April-20th-2018, 05:39 PM
RE: Answer - by andreash - April-15th-2019, 06:38 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  NodeRed and EtherCAT Schranz 1 11 September-2nd-2019, 03:46 PM
Last Post: Armin@netPI
  EtherCAT Slave OP mode (netPI RTE3) mauroriva 1 113 June-20th-2018, 08:38 AM
Last Post: Armin@netPI
  Container IP address - Network Options kimsmyth 2 165 January-30th-2018, 11:04 AM
Last Post: kimsmyth

Forum Jump:


Users browsing this thread: 1 Guest(s)