Install on Raspberry Pi looks good, start failed

try on RPI 3 B+ and RPI 4 B
install Raspberry Pi OS from 2021-05-07-raspios-buster-armhf-full.zip
and update to: Linux version 5.10.52-v7l

use:
curl -fsSL raw.githubusercontent.com/cedalo/streamsheets-installer/master/pi-installer.sh -o get-streamsheets.sh && sh get-streamsheets.sh
[enter]
[Y]
[Y]

ERROR on start.sh ( also after reboot )

pi@RPI3mqtt:~/cedalo_platform $ sudo sh start.sh
Starting cedalo_platform_mosquitto_1 ...
Starting streamsheets-internal-mongodb ...

ERROR: for streamsheets-internal-mongodb __init__() got an unexpected keyword argument 'disable_buffering'

ERROR: for cedalo_platform_mosquitto_1 __init__() got an unexpected keyword argument 'disable_buffering'

ERROR: for streamsheets-internal-mongodb __init__() got an unexpected keyword argument 'disable_buffering'

ERROR: for mosquitto __init__() got an unexpected keyword argument 'disable_buffering'
Traceback (most recent call last):
File "/usr/local/bin/docker-compose", line 10, in
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/compose/cli/main.py", line 81, in main
command_func()
File "/usr/local/lib/python3.7/dist-packages/compose/cli/main.py", line 203, in perform_command
handler(command, command_options)
File "/usr/local/lib/python3.7/dist-packages/compose/metrics/decorator.py", line 18, in wrapper
result = fn(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/compose/cli/main.py", line 1186, in up
to_attach = up(False)
File "/usr/local/lib/python3.7/dist-packages/compose/cli/main.py", line 1182, in up
attach_dependencies=attach_dependencies,
File "/usr/local/lib/python3.7/dist-packages/compose/project.py", line 702, in up
get_deps,
File "/usr/local/lib/python3.7/dist-packages/compose/parallel.py", line 108, in parallel_execute
raise error_to_reraise
File "/usr/local/lib/python3.7/dist-packages/compose/parallel.py", line 206, in producer
result = func(obj)
File "/usr/local/lib/python3.7/dist-packages/compose/project.py", line 688, in do
override_options=override_options,
File "/usr/local/lib/python3.7/dist-packages/compose/service.py", line 586, in execute_convergence_plan
containers, scale, timeout, detached, start
File "/usr/local/lib/python3.7/dist-packages/compose/service.py", line 524, in _execute_convergence_start
"Starting",
File "/usr/local/lib/python3.7/dist-packages/compose/parallel.py", line 108, in parallel_execute
raise error_to_reraise
File "/usr/local/lib/python3.7/dist-packages/compose/parallel.py", line 206, in producer
result = func(obj)
File "/usr/local/lib/python3.7/dist-packages/compose/service.py", line 522, in
lambda c: self.start_container_if_stopped(c, attach_logs=not detached, quiet=True),
File "/usr/local/lib/python3.7/dist-packages/compose/service.py", line 637, in start_container_if_stopped
container.attach_log_stream()
File "/usr/local/lib/python3.7/dist-packages/compose/container.py", line 202, in attach_log_stream
self.log_stream = self.attach(stdout=True, stderr=True, stream=True)
File "/usr/local/lib/python3.7/dist-packages/compose/container.py", line 294, in attach
return self.client.attach(self.id, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/docker/utils/decorators.py", line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/docker/api/container.py", line 58, in attach
response = self._post(u, headers=headers, params=params, stream=True)
File "/usr/local/lib/python3.7/dist-packages/docker/utils/decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/docker/api/client.py", line 233, in _post
return self.post(url, **self._set_request_timeout(kwargs))
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 581, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 384, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 380, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.7/http/client.py", line 1348, in getresponse
response = self.response_class(self.sock, method=self._method)
File "/usr/local/lib/python3.7/dist-packages/docker/transport/unixconn.py", line 43, in response_class
return httplib.HTTPResponse(sock, *args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'disable_buffering'
pi@RPI3mqtt:~/cedalo_platform $ 

please, any hint what to check next?

Hi kll,

Looks like a python error. Could be a bad/old docker-compose installation.

Can you do this and tell me what you get:

python --version

docker-compose --version

thanks for your time,
ok, i did it again ( on RPI 4 ), but there was a RPI update inbetween, so now

Raspbian GNU/Linux 10
DEBIAN buster
Linux version 5.10.60-v7l
Raspberry Pi 4 Model B Rev 1.2

and to your question:
pi@RPI4:~ $ python --version
Python 2.7.16
pi@RPI4:~ $ python3 --version
Python 3.7.3
pi@RPI4:~ $ docker-compose --version
docker-compose version 1.29.2, build unknown
pi@RPI4:~ $

please, if i want try again, i need a new setup or you can tell me how to UN-INSTALL?

UPDATE:
new setup RPI4
now use 2021-05-07-raspios-buster-armhf.zip

NO UPDATE
Linux version 5.10.17-v7l

install and start works now!
also with reboot and manual start

pi@RPI4:~ $ python --version
Python 2.7.16
pi@RPI4:~ $ python3 --version
Python 3.7.3
pi@RPI4:~ $ docker-compose --version
docker-compose version 1.29.2, build unknown

now try update again
Linux version 5.10.60-v7l
Raspberry Pi 4 Model B Rev 1.2

still works
//_________________________________
looks good, thanks…
if you want me to test more tell me.

1 Like