· 6 years ago · Nov 19, 2019, 03:02 AM
1Here I'll be outlining all my steps taken, all questions asked, all commands entered in my quest to localy host my own instance of FireFly III on my Raspberry Pi.
2
3### IMPORTANT LINKS
4https://firefly-iii.org/
5https://docs.firefly-iii.org/
6https://github.com/firefly-iii/firefly-iii
7https://www.reddit.com/r/FireflyIII/
8___
9first tried:
10https://sandstorm.io/install
11curl https://install.sandstorm.io | bash
12ERROR:Sorry, the Sandstorm server currently only runs on x86_64 machines.
13
14Hmm, installation failed. Would it be OK to send an anonymous error report to the sandstorm.io team so we know something is wrong?
15It would only contain this error code: E_NON_X86_64 [yes] n
16Not sending report.
17
18You can report bugs at: http://github.com/sandstorm-io/sandstorm
19___
20
21Then tried AMPPS on computer but that didn't work because PHP was only version 7.1 and firefly needs 7.3 - not sure how to update php on AMPPS
22
23___
24
25
26# # # Setting static IP -
27https://www.zagrosrobotics.com/shop/custom.aspx?recid=84
28
29Ip eth0 set to
30192.168.0.69/24
31Static router
32192.168.1.1
33Static domain name servers 192.168.1.1 8.8.8.8 fd51:42f8:caae:d92e::1
34
35Sudo reboot
36
37Wlan set to same as above
38
39Set boot to CLI
40
41undo wifi
42**set ip to 192.168.1.69/24**
43
44
45# # # PROCESS
46Installed os - Raspbian GNU (Buster)
47Updated software, set localization: Chicago
48Enabled SSH
49- User pi
50- Password Eminem12
51
52From ocs install preparing your server I folowed
53https://howtoraspberrypi.com/how-to-install-web-server-raspberry-pi-lamp/
54https://www.linuxbabe.com/debian/install-lamp-stack-debian-10-buster
55
56Install Apache
57sudo apt install apache2
58
59success
60
61sudo chown -R pi:www-data /var/www/html/
62sudo chmod -R 770 /var/www/html/
63
64checking http://192.168.1.69/ works 'It works!'
65
66sudo apt install mariadb-server mariadb-client
67
68success
69
70systemctl status mariadb
71
72active
73
74sudo systemctl enable mariadb
75
76sudo mysql_secure_installation
77
78set mariadb password to **Cokeboat1**
79
80followed steps to remove anonymouse usesr, desallow root login remotely, remove test database and access to it, releoad privilege tables
81
82
83If needing to login with pi credentials use these commands
84sudo mariadb -u root
85or
86
87sudo mysql -u root
88
89pi@raspberrypi:~ $ mariadb --version
90mariadb Ver 15.1 Distrib 10.3.17-MariaDB, for debian-linux-gnueabihf (armv7l) using readline 5.2
91
92
93sudo apt install php7.3 libapache2-mod-php7.3 php7.3-mysql php-common php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-readline
94
95success
96
97sudo a2enmod php7.3
98success
99
100sudo systemctl restart apache2
101
102pi@raspberrypi:~ $ php --version
103PHP 7.3.11-1~deb10u1 (cli) (built: Oct 26 2019 14:14:18) ( NTS )
104Copyright (c) 1997-2018 The PHP Group
105Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies
106 with Zend OPcache v7.3.11-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies
107
108sudo nano /var/www/html/info.php
109Paste the following PHP code into the file.
110
111<?php phpinfo(); ?>
112
113navigated to http://192.168.1.69/info.php points to correct screen
114success
115
116sudo apt install php7.3-bcmath
117success
118
119sudo apt-get install php7.3-intl
120success
121
122sudo apt-get install php7.3-curl
123success
124
125sudo apt-get install php7.3-zip
126success
127
128sudo apt-get install php7.3-gd
129success
130
131sudo apt-get install php7.3-xml
132success
133
134sudo apt-get install php7.3-MBString
135success
136
137sudo apt-get install php7.3-LDAP
138success
139
140**Installing docker:**
141https://gist.github.com/josephbadow/588c2ae961231fe338c459127c7d835b
142
143$ curl -fsSL https://get.docker.com -o get-docker.sh
144$ sudo sh get-docker.sh
145
146success
147
148pip install docker-compose
149
150success
151
152sudo apt-get install python3-pip
153success
154
155Output
156```
157`pi@raspberrypi:~ $ sudo apt-get install python3-pip
158Reading package lists... Done
159Building dependency tree
160Reading state information... Done
161python3-pip is already the newest version (18.1-5+rpt1).
162The following packages were automatically installed and are no longer required:
163 libdrm-etnaviv1 libllvm6.0 point-rpi python3-pyperclip python3-thonny rpi.gpio-common
164Use 'sudo apt autoremove' to remove them.
1650 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
166pi@raspberrypi:~ $ pip install docker-compose
167Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
168Collecting docker-compose
169 Using cached https://files.pythonhosted.org/packages/2e/93/b8fb6532487fcc40f5c607ac428a609e7f74bfb26a1c3c980a253c6e5a14/docker_compose-1.25.0-py2.py3-none-any.whl
170Collecting backports.ssl-match-hostname<4,>=3.5; python_version < "3.5" (from docker-compose)
171 Using cached https://www.piwheels.org/simple/backports-ssl-match-hostname/backports.ssl_match_hostname-3.7.0.1-py2.py3-none-any.whl
172Requirement already satisfied: six<2,>=1.3.0 in /usr/lib/python2.7/dist-packages (from docker-compose) (1.12.0)
173Collecting docopt<1,>=0.6.1 (from docker-compose)
174 Using cached https://www.piwheels.org/simple/docopt/docopt-0.6.2-py2.py3-none-any.whl
175Collecting dockerpty<1,>=0.4.1 (from docker-compose)
176 Using cached https://files.pythonhosted.org/packages/8d/ee/e9ecce4c32204a6738e0a5d5883d3413794d7498fe8b06f44becc028d3ba/dockerpty-0.4.1.tar.gz
177Collecting docker[ssh]<5,>=3.7.0 (from docker-compose)
178 Using cached https://files.pythonhosted.org/packages/cc/ca/699d4754a932787ef353a157ada74efd1ceb6d1fc0bfb7989ae1e7b33111/docker-4.1.0-py2.py3-none-any.whl
179Collecting websocket-client<1,>=0.32.0 (from docker-compose)
180 Using cached https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl
181Collecting texttable<2,>=0.9.0 (from docker-compose)
182 Using cached https://files.pythonhosted.org/packages/82/a8/60df592e3a100a1f83928795aca210414d72cebdc6e4e0c95a6d8ac632fe/texttable-1.6.2.tar.gz
183Collecting subprocess32<4,>=3.5.4; python_version < "3.2" (from docker-compose)
184 Using cached https://files.pythonhosted.org/packages/32/c8/564be4d12629b912ea431f1a50eb8b3b9d00f1a0b1ceff17f266be190007/subprocess32-3.5.4.tar.gz
185Collecting cached-property<2,>=1.2.0 (from docker-compose)
186 Using cached https://files.pythonhosted.org/packages/3b/86/85c1be2e8db9e13ef9a350aecd6dea292bd612fa288c2f40d035bb750ded/cached_property-1.5.1-py2.py3-none-any.whl
187Requirement already satisfied: requests<3,>=2.20.0 in /usr/lib/python2.7/dist-packages (from docker-compose) (2.21.0)
188Requirement already satisfied: enum34<2,>=1.0.4; python_version < "3.4" in /usr/lib/python2.7/dist-packages (from docker-compose) (1.1.6)
189Requirement already satisfied: ipaddress<2,>=1.0.16; python_version < "3.3" in /usr/lib/python2.7/dist-packages (from docker-compose) (1.0.17)
190Collecting jsonschema<4,>=2.5.1 (from docker-compose)
191 Using cached https://files.pythonhosted.org/packages/c5/8f/51e89ce52a085483359217bc72cdbf6e75ee595d5b1d4b5ade40c7e018b8/jsonschema-3.2.0-py2.py3-none-any.whl
192Collecting PyYAML<5,>=3.10 (from docker-compose)
193 Using cached https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz
194Collecting backports.shutil-get-terminal-size==1.0.0; python_version < "3.3" (from docker-compose)
195 Using cached https://files.pythonhosted.org/packages/7d/cd/1750d6c35fe86d35f8562091737907f234b78fdffab42b29c72b1dd861f4/backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
196Collecting paramiko>=2.4.2; extra == "ssh" (from docker[ssh]<5,>=3.7.0->docker-compose)
197 Using cached https://files.pythonhosted.org/packages/4b/80/74dace9e48b0ef923633dfb5e48798f58a168e4734bca8ecfaf839ba051a/paramiko-2.6.0-py2.py3-none-any.whl
198Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from jsonschema<4,>=2.5.1->docker-compose) (40.8.0)
199Collecting attrs>=17.4.0 (from jsonschema<4,>=2.5.1->docker-compose)
200 Using cached https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl
201Collecting importlib-metadata; python_version < "3.8" (from jsonschema<4,>=2.5.1->docker-compose)
202 Using cached https://files.pythonhosted.org/packages/f6/d2/40b3fa882147719744e6aa50ac39cf7a22a913cbcba86a0371176c425a3b/importlib_metadata-0.23-py2.py3-none-any.whl
203Collecting pyrsistent>=0.14.0 (from jsonschema<4,>=2.5.1->docker-compose)
204 Using cached https://files.pythonhosted.org/packages/30/86/53a88c0a57698fa228db29a4000c28f4124823010388cb7042fe6e2be8dd/pyrsistent-0.15.5.tar.gz
205Collecting functools32; python_version < "3" (from jsonschema<4,>=2.5.1->docker-compose)
206 Using cached https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz
207Collecting bcrypt>=3.1.3 (from paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=3.7.0->docker-compose)
208 Using cached https://files.pythonhosted.org/packages/fa/aa/025a3ab62469b5167bc397837c9ffc486c42a97ef12ceaa6699d8f5a5416/bcrypt-3.1.7.tar.gz
209 Installing build dependencies ... error
210 Complete output from command /usr/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-aiQzIq --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools>=40.8.0 wheel "cffi>=1.1; python_implementation != 'PyPy'":
211 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
212 Collecting setuptools>=40.8.0
213 Using cached https://files.pythonhosted.org/packages/d9/de/554b6310ac87c5b921bc45634b07b11394fe63bc4cb5176f5240addf18ab/setuptools-41.6.0-py2.py3-none-any.whl
214 Collecting wheel
215 Using cached https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
216 Collecting cffi>=1.1
217 Using cached https://files.pythonhosted.org/packages/2d/bf/960e5a422db3ac1a5e612cb35ca436c3fc985ed4b7ed13a1b4879006f450/cffi-1.13.2.tar.gz
218 Collecting pycparser (from cffi>=1.1)
219 Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.19-py2.py3-none-any.whl
220 Building wheels for collected packages: cffi
221 Running setup.py bdist_wheel for cffi: started
222 Running setup.py bdist_wheel for cffi: finished with status 'error'
223 Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-bIboZj/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-TfmLvd --python-tag cp27:
224 Package libffi was not found in the pkg-config search path.
225 Perhaps you should add the directory containing `libffi.pc'
226 to the PKG_CONFIG_PATH environment variable
227 No package 'libffi' found
228 Package libffi was not found in the pkg-config search path.
229 Perhaps you should add the directory containing `libffi.pc'
230 to the PKG_CONFIG_PATH environment variable
231 No package 'libffi' found
232 Package libffi was not found in the pkg-config search path.
233 Perhaps you should add the directory containing `libffi.pc'
234 to the PKG_CONFIG_PATH environment variable
235 No package 'libffi' found
236 Package libffi was not found in the pkg-config search path.
237 Perhaps you should add the directory containing `libffi.pc'
238 to the PKG_CONFIG_PATH environment variable
239 No package 'libffi' found
240 Package libffi was not found in the pkg-config search path.
241 Perhaps you should add the directory containing `libffi.pc'
242 to the PKG_CONFIG_PATH environment variable
243 No package 'libffi' found
244 running bdist_wheel
245 running build
246 running build_py
247 creating build
248 creating build/lib.linux-armv7l-2.7
249 creating build/lib.linux-armv7l-2.7/cffi
250 copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
251 copying cffi/pkgconfig.py -> build/lib.linux-armv7l-2.7/cffi
252 copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
253 copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
254 copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
255 copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
256 copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
257 copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
258 copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
259 copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
260 copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
261 copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
262 copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
263 copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
264 copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
265 copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
266 copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
267 copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
268 copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
269 copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-2.7/cffi
270 running build_ext
271 building '_cffi_backend' extension
272 creating build/temp.linux-armv7l-2.7
273 creating build/temp.linux-armv7l-2.7/c
274 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
275 c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
276 #include <ffi.h>
277 ^~~~~~~
278 compilation terminated.
279 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
280
281 ----------------------------------------
282 Failed building wheel for cffi
283 Running setup.py clean for cffi
284 Failed to build cffi
285 Installing collected packages: setuptools, wheel, pycparser, cffi
286 Running setup.py install for cffi: started
287 Running setup.py install for cffi: finished with status 'error'
288 Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-bIboZj/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-uG8vFf/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-aiQzIq --compile:
289 Package libffi was not found in the pkg-config search path.
290 Perhaps you should add the directory containing `libffi.pc'
291 to the PKG_CONFIG_PATH environment variable
292 No package 'libffi' found
293 Package libffi was not found in the pkg-config search path.
294 Perhaps you should add the directory containing `libffi.pc'
295 to the PKG_CONFIG_PATH environment variable
296 No package 'libffi' found
297 Package libffi was not found in the pkg-config search path.
298 Perhaps you should add the directory containing `libffi.pc'
299 to the PKG_CONFIG_PATH environment variable
300 No package 'libffi' found
301 Package libffi was not found in the pkg-config search path.
302 Perhaps you should add the directory containing `libffi.pc'
303 to the PKG_CONFIG_PATH environment variable
304 No package 'libffi' found
305 Package libffi was not found in the pkg-config search path.
306 Perhaps you should add the directory containing `libffi.pc'
307 to the PKG_CONFIG_PATH environment variable
308 No package 'libffi' found
309 running install
310 running build
311 running build_py
312 creating build
313 creating build/lib.linux-armv7l-2.7
314 creating build/lib.linux-armv7l-2.7/cffi
315 copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
316 copying cffi/pkgconfig.py -> build/lib.linux-armv7l-2.7/cffi
317 copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
318 copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
319 copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
320 copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
321 copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
322 copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
323 copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
324 copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
325 copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
326 copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
327 copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
328 copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
329 copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
330 copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
331 copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
332 copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
333 copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
334 copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-2.7/cffi
335 running build_ext
336 building '_cffi_backend' extension
337 creating build/temp.linux-armv7l-2.7
338 creating build/temp.linux-armv7l-2.7/c
339 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
340 c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
341 #include <ffi.h>
342 ^~~~~~~
343 compilation terminated.
344 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
345
346 ----------------------------------------
347 Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-bIboZj/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-uG8vFf/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-aiQzIq --compile" failed with error code 1 in /tmp/pip-install-bIboZj/cffi/
348
349 ----------------------------------------
350Command "/usr/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-aiQzIq --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools>=40.8.0 wheel "cffi>=1.1; python_implementation != 'PyPy'"" failed with error code 1 in None
351pi@raspber`
352```
353
354**error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1**
355
356
357**?????**
358
359
360curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
361
362success
363
364navigate to var/www
365cd /var/www/
366
367composer create-project grumpydictator/firefly-iii --no-dev --prefer-dist firefly-iii 4.8.1.8
368
369sudo composer create-project grumpydictator/firefly-iii --no-dev --prefer-dist firefly-iii 4.8.1.8
370
371success
372
373sudo chown -R www-data:www-data firefly-iii
374sudo chmod -R 775 firefly-iii/storage
375
376success
377
378reading .env file in firefly directory # instrcutions lead to dead link ::
379# If you want Firefly III to mail you, update these settings
380# For instructions, see: https://firefly-iii.readthedocs.io/en/latest/installation/mail.html
381MAIL_DRIVER=log
382MAIL_HOST=smtp.mailtrap.io
383MAIL_PORT=2525
384MAIL_FROM=mrcatbr3ad@gmail.com
385MAIL_USERNAME=null
386MAIL_PASSWORD=null
387MAIL_ENCRYPTION=null
388
389
390updated .env file to correct timezone (only thing I changed)
391America/Chicago
392
393saved
394
395php artisan migrate:refresh --seed
396Failed to open stream: permission denied
397
398googled and found this
399sudo -u www-data php artisan migrate:refresh --seed
400
401updated .env to:::
402#original DB_CONNECTION=pgsql
403DB_CONNECTION=mysql
404#original DB_HOST=firefly_iii_db
405DB_HOST=localhost
406DB_PORT=3306
407
408########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
409
410ssh
411
412login as: pi
413pi@192.168.1.69's password:
414Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l
415
416The programs included with the Debian GNU/Linux system are free software;
417the exact distribution terms for each program are described in the
418individual files in /usr/share/doc/*/copyright.
419
420Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
421permitted by applicable law.
422Last login: Mon Nov 18 18:04:05 2019
423
424Wi-Fi is currently blocked by rfkill.
425Use raspi-config to set the country before use.
426
427pi@raspberrypi:~ $ curl https://install.sandstorm.io | bash
428 % Total % Received % Xferd Average Speed Time Time Time Current
429 Dload Upload Total Spent Left Speed
430100 79206 100 79206 0 0 187k 0 --:--:-- --:--:-- --:--:-- 187k
431*** INSTALLATION FAILED ***
432
433Sorry, the Sandstorm server currently only runs on x86_64 machines.
434
435Hmm, installation failed. Would it be OK to send an anonymous error report to the sandstorm.io team so we know something is wrong?
436It would only contain this error code: E_NON_X86_64 [yes] n
437Not sending report.
438
439You can report bugs at: http://github.com/sandstorm-io/sandstorm
440pi@raspberrypi:~ $ sudo apt install apache2
441Reading package lists... Done
442Building dependency tree
443Reading state information... Done
444The following packages were automatically installed and are no longer required:
445 libdrm-etnaviv1 libllvm6.0 point-rpi python3-pyperclip python3-thonny rpi.gpio-common
446Use 'sudo apt autoremove' to remove them.
447The following additional packages will be installed:
448 apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap ssl-cert
449Suggested packages:
450 apache2-doc apache2-suexec-pristine | apache2-suexec-custom openssl-blacklist
451The following NEW packages will be installed:
452 apache2 apache2-bin apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
453 ssl-cert
4540 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
455Need to get 1,992 kB of archives.
456After this operation, 6,229 kB of additional disk space will be used.
457Do you want to continue? [Y/n] y
458Get:1 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libapr1 armhf 1.6.5-1 [83.3 kB]
459Get:2 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libaprutil1 armhf 1.6.1-4 [81.7 kB]
460Get:3 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libaprutil1-dbd-sqlite3 armhf 1.6.1-4 [17.3 kB]
461Get:4 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libaprutil1-ldap armhf 1.6.1-4 [16.3 kB]
462Get:5 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf apache2-bin armhf 2.4.38-3+deb10u3 [1,121 kB]
463Get:6 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf apache2-data all 2.4.38-3+deb10u3 [165 kB]
464Get:7 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf apache2-utils armhf 2.4.38-3+deb10u3 [235 kB]
465Get:8 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf apache2 armhf 2.4.38-3+deb10u3 [251 kB]
466Get:9 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf ssl-cert all 1.0.39 [20.8 kB]
467Fetched 1,992 kB in 4s (544 kB/s)
468Preconfiguring packages ...
469Selecting previously unselected package libapr1:armhf.
470(Reading database ... 159711 files and directories currently installed.)
471Preparing to unpack .../0-libapr1_1.6.5-1_armhf.deb ...
472Unpacking libapr1:armhf (1.6.5-1) ...
473Selecting previously unselected package libaprutil1:armhf.
474Preparing to unpack .../1-libaprutil1_1.6.1-4_armhf.deb ...
475Unpacking libaprutil1:armhf (1.6.1-4) ...
476Selecting previously unselected package libaprutil1-dbd-sqlite3:armhf.
477Preparing to unpack .../2-libaprutil1-dbd-sqlite3_1.6.1-4_armhf.deb ...
478Unpacking libaprutil1-dbd-sqlite3:armhf (1.6.1-4) ...
479Selecting previously unselected package libaprutil1-ldap:armhf.
480Preparing to unpack .../3-libaprutil1-ldap_1.6.1-4_armhf.deb ...
481Unpacking libaprutil1-ldap:armhf (1.6.1-4) ...
482Selecting previously unselected package apache2-bin.
483Preparing to unpack .../4-apache2-bin_2.4.38-3+deb10u3_armhf.deb ...
484Unpacking apache2-bin (2.4.38-3+deb10u3) ...
485Selecting previously unselected package apache2-data.
486Preparing to unpack .../5-apache2-data_2.4.38-3+deb10u3_all.deb ...
487Unpacking apache2-data (2.4.38-3+deb10u3) ...
488Selecting previously unselected package apache2-utils.
489Preparing to unpack .../6-apache2-utils_2.4.38-3+deb10u3_armhf.deb ...
490Unpacking apache2-utils (2.4.38-3+deb10u3) ...
491Selecting previously unselected package apache2.
492Preparing to unpack .../7-apache2_2.4.38-3+deb10u3_armhf.deb ...
493Unpacking apache2 (2.4.38-3+deb10u3) ...
494Selecting previously unselected package ssl-cert.
495Preparing to unpack .../8-ssl-cert_1.0.39_all.deb ...
496Unpacking ssl-cert (1.0.39) ...
497Setting up libapr1:armhf (1.6.5-1) ...
498Setting up ssl-cert (1.0.39) ...
499Setting up apache2-data (2.4.38-3+deb10u3) ...
500Setting up libaprutil1:armhf (1.6.1-4) ...
501Setting up libaprutil1-ldap:armhf (1.6.1-4) ...
502Setting up libaprutil1-dbd-sqlite3:armhf (1.6.1-4) ...
503Setting up apache2-utils (2.4.38-3+deb10u3) ...
504Setting up apache2-bin (2.4.38-3+deb10u3) ...
505Setting up apache2 (2.4.38-3+deb10u3) ...
506Enabling module mpm_event.
507Enabling module authz_core.
508Enabling module authz_host.
509Enabling module authn_core.
510Enabling module auth_basic.
511Enabling module access_compat.
512Enabling module authn_file.
513Enabling module authz_user.
514Enabling module alias.
515Enabling module dir.
516Enabling module autoindex.
517Enabling module env.
518Enabling module mime.
519Enabling module negotiation.
520Enabling module setenvif.
521Enabling module filter.
522Enabling module deflate.
523Enabling module status.
524Enabling module reqtimeout.
525Enabling conf charset.
526Enabling conf localized-error-pages.
527Enabling conf other-vhosts-access-log.
528Enabling conf security.
529Enabling conf serve-cgi-bin.
530Enabling site 000-default.
531Created symlink /etc/systemd/system/multi-user.target.wants/apache2.service → /lib/systemd/system/apache2.service.
532Created symlink /etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service → /lib/systemd/system/apache-htcacheclean.service.
533Processing triggers for systemd (241-7~deb10u1+rpi1) ...
534Processing triggers for man-db (2.8.5-2) ...
535Processing triggers for libc-bin (2.28-10+rpi1) ...
536pi@raspberrypi:~ $
537pi@raspberrypi:~ $ sudo chown -R pi:www-data /var/www/html/
538pi@raspberrypi:~ $ sudo chmod -R 770 /var/www/html/
539pi@raspberrypi:~ $ systemctl status apache2
540● apache2.service - The Apache HTTP Server
541 Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
542 Active: active (running) since Mon 2019-11-18 19:01:52 CST; 4min 7s ago
543 Docs: https://httpd.apache.org/docs/2.4/
544 Main PID: 1085 (apache2)
545 Tasks: 55 (limit: 2200)
546 Memory: 4.3M
547 CGroup: /system.slice/apache2.service
548 ├─1085 /usr/sbin/apache2 -k start
549 ├─1086 /usr/sbin/apache2 -k start
550 └─1087 /usr/sbin/apache2 -k start
551
552Nov 18 19:01:52 raspberrypi systemd[1]: Starting The Apache HTTP Server...
553Nov 18 19:01:52 raspberrypi apachectl[1074]: AH00558: apache2: Could not reliably determine the server's fully qualif
554Nov 18 19:01:52 raspberrypi systemd[1]: Started The Apache HTTP Server.
555
556pi@raspberrypi:~ $
557pi@raspberrypi:~ $ sudo apt install mariadb-server mariadb-client
558Reading package lists... Done
559Building dependency tree
560Reading state information... Done
561The following packages were automatically installed and are no longer required:
562 libdrm-etnaviv1 libllvm6.0 point-rpi python3-pyperclip python3-thonny rpi.gpio-common
563Use 'sudo apt autoremove' to remove them.
564The following additional packages will be installed:
565 galera-3 gawk libaio1 libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl
566 libencode-locale-perl libfcgi-perl libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl
567 libhttp-date-perl libhttp-message-perl libio-html-perl liblwp-mediatypes-perl libmariadb3 libreadline5
568 libsigsegv2 libterm-readkey-perl libtimedate-perl liburi-perl mariadb-client-10.3 mariadb-client-core-10.3
569 mariadb-common mariadb-server-10.3 mariadb-server-core-10.3 mysql-common socat
570Suggested packages:
571 gawk-doc libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl libdata-dump-perl
572 libipc-sharedcache-perl libwww-perl mailx mariadb-test tinyca
573The following NEW packages will be installed:
574 galera-3 gawk libaio1 libcgi-fast-perl libcgi-pm-perl libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl
575 libencode-locale-perl libfcgi-perl libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl
576 libhttp-date-perl libhttp-message-perl libio-html-perl liblwp-mediatypes-perl libmariadb3 libreadline5
577 libsigsegv2 libterm-readkey-perl libtimedate-perl liburi-perl mariadb-client mariadb-client-10.3
578 mariadb-client-core-10.3 mariadb-common mariadb-server mariadb-server-10.3 mariadb-server-core-10.3 mysql-common
579 socat
5800 upgraded, 32 newly installed, 0 to remove and 0 not upgraded.
581Need to get 18.2 MB of archives.
582After this operation, 150 MB of additional disk space will be used.
583Do you want to continue? [Y/n] y
584Get:1 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libsigsegv2 armhf 2.12-2 [32.3 kB]
585Get:2 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf gawk armhf 1:4.2.1+dfsg-1 [590 kB]
586Get:3 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf mysql-common all 5.8+1.0.5 [7,324 B]
587Get:4 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf mariadb-common all 1:10.3.17-0+deb10u1 [31.6 kB]
588Get:5 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf galera-3 armhf 25.3.25-2 [811 kB]
589Get:6 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libdbi-perl armhf 1.642-1+b1 [766 kB]
590Get:7 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libconfig-inifiles-perl all 3.000001-1 [51.9 kB]
591Get:8 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libaio1 armhf 0.3.112-3 [10.8 kB]
592Get:9 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libreadline5 armhf 5.2+dfsg-3 [103 kB]
593Get:10 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf mariadb-client-core-10.3 armhf 1:10.3.17-0+deb10u1 [4,662 kB]
594Get:11 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf mariadb-client-10.3 armhf 1:10.3.17-0+deb10u1 [984 kB]
595Get:13 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf socat armhf 1.7.3.2-2 [324 kB]
596Get:12 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf mariadb-server-core-10.3 armhf 1:10.3.17-0+deb10u1 [5,171 kB]
597Get:15 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libhtml-tagset-perl all 3.20-3 [12.7 kB]
598Get:16 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf liburi-perl all 1.76-1 [89.9 kB]
599Get:18 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libcgi-pm-perl all 4.40-1 [222 kB]
600Get:14 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf mariadb-server-10.3 armhf 1:10.3.17-0+deb10u1 [3,558 kB]
601Get:20 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libcgi-fast-perl all 1:2.13-1 [11.4 kB]
602Get:17 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libhtml-parser-perl armhf 3.72-3+b2 [101 kB]
603Get:22 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libdbd-mysql-perl armhf 4.050-2 [114 kB]
604Get:19 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libfcgi-perl armhf 0.78-2+b2 [35.0 kB]
605Get:21 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf libmariadb3 armhf 1:10.3.17-0+deb10u1 [157 kB]
606Get:23 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libencode-locale-perl all 1.05-1 [13.7 kB]
607Get:24 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libhtml-template-perl all 2.97-1 [66.0 kB]
608Get:25 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libtimedate-perl all 2.3000-2 [42.2 kB]
609Get:26 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libhttp-date-perl all 6.02-1 [10.7 kB]
610Get:27 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libio-html-perl all 1.001-1 [17.6 kB]
611Get:28 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf liblwp-mediatypes-perl all 6.02-1 [22.1 kB]
612Get:29 http://raspbian.mirror.constant.com/raspbian buster/main armhf libhttp-message-perl all 6.18-1 [77.8 kB]
613Get:30 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libterm-readkey-perl armhf 2.38-1 [26.3 kB]
614Get:31 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf mariadb-client all 1:10.3.17-0+deb10u1 [30.5 kB]
615Get:32 http://mirror.sjc02.svwh.net/raspbian/raspbian buster/main armhf mariadb-server all 1:10.3.17-0+deb10u1 [30.6 kB]
616Fetched 18.2 MB in 13s (1,405 kB/s)
617Extracting templates from packages: 100%
618Preconfiguring packages ...
619Selecting previously unselected package libsigsegv2:armhf.
620(Reading database ... 160423 files and directories currently installed.)
621Preparing to unpack .../libsigsegv2_2.12-2_armhf.deb ...
622Unpacking libsigsegv2:armhf (2.12-2) ...
623Setting up libsigsegv2:armhf (2.12-2) ...
624Selecting previously unselected package gawk.
625(Reading database ... 160432 files and directories currently installed.)
626Preparing to unpack .../00-gawk_1%3a4.2.1+dfsg-1_armhf.deb ...
627Unpacking gawk (1:4.2.1+dfsg-1) ...
628Selecting previously unselected package mysql-common.
629Preparing to unpack .../01-mysql-common_5.8+1.0.5_all.deb ...
630Unpacking mysql-common (5.8+1.0.5) ...
631Selecting previously unselected package mariadb-common.
632Preparing to unpack .../02-mariadb-common_1%3a10.3.17-0+deb10u1_all.deb ...
633Unpacking mariadb-common (1:10.3.17-0+deb10u1) ...
634Selecting previously unselected package galera-3.
635Preparing to unpack .../03-galera-3_25.3.25-2_armhf.deb ...
636Unpacking galera-3 (25.3.25-2) ...
637Selecting previously unselected package libdbi-perl:armhf.
638Preparing to unpack .../04-libdbi-perl_1.642-1+b1_armhf.deb ...
639Unpacking libdbi-perl:armhf (1.642-1+b1) ...
640Selecting previously unselected package libconfig-inifiles-perl.
641Preparing to unpack .../05-libconfig-inifiles-perl_3.000001-1_all.deb ...
642Unpacking libconfig-inifiles-perl (3.000001-1) ...
643Selecting previously unselected package libaio1:armhf.
644Preparing to unpack .../06-libaio1_0.3.112-3_armhf.deb ...
645Unpacking libaio1:armhf (0.3.112-3) ...
646Selecting previously unselected package libreadline5:armhf.
647Preparing to unpack .../07-libreadline5_5.2+dfsg-3_armhf.deb ...
648Unpacking libreadline5:armhf (5.2+dfsg-3) ...
649Selecting previously unselected package mariadb-client-core-10.3.
650Preparing to unpack .../08-mariadb-client-core-10.3_1%3a10.3.17-0+deb10u1_armhf.deb ...
651Unpacking mariadb-client-core-10.3 (1:10.3.17-0+deb10u1) ...
652Selecting previously unselected package mariadb-client-10.3.
653Preparing to unpack .../09-mariadb-client-10.3_1%3a10.3.17-0+deb10u1_armhf.deb ...
654Unpacking mariadb-client-10.3 (1:10.3.17-0+deb10u1) ...
655Selecting previously unselected package mariadb-server-core-10.3.
656Preparing to unpack .../10-mariadb-server-core-10.3_1%3a10.3.17-0+deb10u1_armhf.deb ...
657Unpacking mariadb-server-core-10.3 (1:10.3.17-0+deb10u1) ...
658Selecting previously unselected package socat.
659Preparing to unpack .../11-socat_1.7.3.2-2_armhf.deb ...
660Unpacking socat (1.7.3.2-2) ...
661Setting up mysql-common (5.8+1.0.5) ...
662update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
663Setting up mariadb-common (1:10.3.17-0+deb10u1) ...
664update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
665Selecting previously unselected package mariadb-server-10.3.
666(Reading database ... 161004 files and directories currently installed.)
667Preparing to unpack .../00-mariadb-server-10.3_1%3a10.3.17-0+deb10u1_armhf.deb ...
668Unpacking mariadb-server-10.3 (1:10.3.17-0+deb10u1) ...
669Selecting previously unselected package libhtml-tagset-perl.
670Preparing to unpack .../01-libhtml-tagset-perl_3.20-3_all.deb ...
671Unpacking libhtml-tagset-perl (3.20-3) ...
672Selecting previously unselected package liburi-perl.
673Preparing to unpack .../02-liburi-perl_1.76-1_all.deb ...
674Unpacking liburi-perl (1.76-1) ...
675Selecting previously unselected package libhtml-parser-perl.
676Preparing to unpack .../03-libhtml-parser-perl_3.72-3+b2_armhf.deb ...
677Unpacking libhtml-parser-perl (3.72-3+b2) ...
678Selecting previously unselected package libcgi-pm-perl.
679Preparing to unpack .../04-libcgi-pm-perl_4.40-1_all.deb ...
680Unpacking libcgi-pm-perl (4.40-1) ...
681Selecting previously unselected package libfcgi-perl.
682Preparing to unpack .../05-libfcgi-perl_0.78-2+b2_armhf.deb ...
683Unpacking libfcgi-perl (0.78-2+b2) ...
684Selecting previously unselected package libcgi-fast-perl.
685Preparing to unpack .../06-libcgi-fast-perl_1%3a2.13-1_all.deb ...
686Unpacking libcgi-fast-perl (1:2.13-1) ...
687Selecting previously unselected package libmariadb3:armhf.
688Preparing to unpack .../07-libmariadb3_1%3a10.3.17-0+deb10u1_armhf.deb ...
689Unpacking libmariadb3:armhf (1:10.3.17-0+deb10u1) ...
690Selecting previously unselected package libdbd-mysql-perl:armhf.
691Preparing to unpack .../08-libdbd-mysql-perl_4.050-2_armhf.deb ...
692Unpacking libdbd-mysql-perl:armhf (4.050-2) ...
693Selecting previously unselected package libencode-locale-perl.
694Preparing to unpack .../09-libencode-locale-perl_1.05-1_all.deb ...
695Unpacking libencode-locale-perl (1.05-1) ...
696Selecting previously unselected package libhtml-template-perl.
697Preparing to unpack .../10-libhtml-template-perl_2.97-1_all.deb ...
698Unpacking libhtml-template-perl (2.97-1) ...
699Selecting previously unselected package libtimedate-perl.
700Preparing to unpack .../11-libtimedate-perl_2.3000-2_all.deb ...
701Unpacking libtimedate-perl (2.3000-2) ...
702Selecting previously unselected package libhttp-date-perl.
703Preparing to unpack .../12-libhttp-date-perl_6.02-1_all.deb ...
704Unpacking libhttp-date-perl (6.02-1) ...
705Selecting previously unselected package libio-html-perl.
706Preparing to unpack .../13-libio-html-perl_1.001-1_all.deb ...
707Unpacking libio-html-perl (1.001-1) ...
708Selecting previously unselected package liblwp-mediatypes-perl.
709Preparing to unpack .../14-liblwp-mediatypes-perl_6.02-1_all.deb ...
710Unpacking liblwp-mediatypes-perl (6.02-1) ...
711Selecting previously unselected package libhttp-message-perl.
712Preparing to unpack .../15-libhttp-message-perl_6.18-1_all.deb ...
713Unpacking libhttp-message-perl (6.18-1) ...
714Selecting previously unselected package libterm-readkey-perl.
715Preparing to unpack .../16-libterm-readkey-perl_2.38-1_armhf.deb ...
716Unpacking libterm-readkey-perl (2.38-1) ...
717Selecting previously unselected package mariadb-client.
718Preparing to unpack .../17-mariadb-client_1%3a10.3.17-0+deb10u1_all.deb ...
719Unpacking mariadb-client (1:10.3.17-0+deb10u1) ...
720Selecting previously unselected package mariadb-server.
721Preparing to unpack .../18-mariadb-server_1%3a10.3.17-0+deb10u1_all.deb ...
722Unpacking mariadb-server (1:10.3.17-0+deb10u1) ...
723Setting up libconfig-inifiles-perl (3.000001-1) ...
724Setting up libreadline5:armhf (5.2+dfsg-3) ...
725Setting up gawk (1:4.2.1+dfsg-1) ...
726Setting up libhtml-tagset-perl (3.20-3) ...
727Setting up liblwp-mediatypes-perl (6.02-1) ...
728Setting up libencode-locale-perl (1.05-1) ...
729Setting up socat (1.7.3.2-2) ...
730Setting up libio-html-perl (1.001-1) ...
731Setting up libmariadb3:armhf (1:10.3.17-0+deb10u1) ...
732Setting up galera-3 (25.3.25-2) ...
733Setting up libtimedate-perl (2.3000-2) ...
734Setting up libfcgi-perl (0.78-2+b2) ...
735Setting up libterm-readkey-perl (2.38-1) ...
736Setting up libaio1:armhf (0.3.112-3) ...
737Setting up liburi-perl (1.76-1) ...
738Setting up libdbi-perl:armhf (1.642-1+b1) ...
739Setting up libhttp-date-perl (6.02-1) ...
740Setting up mariadb-server-core-10.3 (1:10.3.17-0+deb10u1) ...
741Setting up libdbd-mysql-perl:armhf (4.050-2) ...
742Setting up mariadb-client-core-10.3 (1:10.3.17-0+deb10u1) ...
743Setting up libhtml-parser-perl (3.72-3+b2) ...
744Setting up libhttp-message-perl (6.18-1) ...
745Setting up libcgi-pm-perl (4.40-1) ...
746Setting up libhtml-template-perl (2.97-1) ...
747Setting up mariadb-client-10.3 (1:10.3.17-0+deb10u1) ...
748Setting up mariadb-server-10.3 (1:10.3.17-0+deb10u1) ...
749Created symlink /etc/systemd/system/mysql.service → /lib/systemd/system/mariadb.service.
750Created symlink /etc/systemd/system/mysqld.service → /lib/systemd/system/mariadb.service.
751Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /lib/systemd/system/mariadb.service.
752Setting up mariadb-client (1:10.3.17-0+deb10u1) ...
753Setting up libcgi-fast-perl (1:2.13-1) ...
754Setting up mariadb-server (1:10.3.17-0+deb10u1) ...
755Processing triggers for systemd (241-7~deb10u1+rpi1) ...
756Processing triggers for man-db (2.8.5-2) ...
757Processing triggers for libc-bin (2.28-10+rpi1) ...
758pi@raspberrypi:~ $ systemctl status mariadb
759● mariadb.service - MariaDB 10.3.17 database server
760 Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
761 Active: active (running) since Mon 2019-11-18 19:08:26 CST; 38s ago
762 Docs: man:mysqld(8)
763 https://mariadb.com/kb/en/library/systemd/
764 Main PID: 2216 (mysqld)
765 Status: "Taking your SQL requests now..."
766 Tasks: 31 (limit: 2200)
767 Memory: 49.6M
768 CGroup: /system.slice/mariadb.service
769 └─2216 /usr/sbin/mysqld
770
771Nov 18 19:08:28 raspberrypi /etc/mysql/debian-start[2254]: performance_schema
772Nov 18 19:08:28 raspberrypi /etc/mysql/debian-start[2254]: Phase 6/7: Checking and upgrading tables
773Nov 18 19:08:28 raspberrypi /etc/mysql/debian-start[2254]: Running 'mysqlcheck' with connection arguments: --socket='
774Nov 18 19:08:28 raspberrypi /etc/mysql/debian-start[2254]: # Connecting to localhost...
775Nov 18 19:08:28 raspberrypi /etc/mysql/debian-start[2254]: # Disconnecting from localhost...
776Nov 18 19:08:28 raspberrypi /etc/mysql/debian-start[2254]: Processing databases
777Nov 18 19:08:28 raspberrypi /etc/mysql/debian-start[2254]: information_schema
778Nov 18 19:08:28 raspberrypi /etc/mysql/debian-start[2254]: performance_schema
779Nov 18 19:08:28 raspberrypi /etc/mysql/debian-start[2254]: Phase 7/7: Running 'FLUSH PRIVILEGES'
780Nov 18 19:08:28 raspberrypi /etc/mysql/debian-start[2254]: OK
781
782pi@raspberrypi:~ $ sudo systemctl enable mariadb
783pi@raspberrypi:~ $ sudo mysql_secure_installation
784
785NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
786 SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
787
788In order to log into MariaDB to secure it, we'll need the current
789password for the root user. If you've just installed MariaDB, and
790you haven't set the root password yet, the password will be blank,
791so you should just press enter here.
792
793Enter current password for root (enter for none):
794OK, successfully used password, moving on...
795
796Setting the root password ensures that nobody can log into the MariaDB
797root user without the proper authorisation.
798
799Set root password? [Y/n] y
800New password:
801Re-enter new password:
802Password updated successfully!
803Reloading privilege tables..
804 ... Success!
805
806
807By default, a MariaDB installation has an anonymous user, allowing anyone
808to log into MariaDB without having to have a user account created for
809them. This is intended only for testing, and to make the installation
810go a bit smoother. You should remove them before moving into a
811production environment.
812
813Remove anonymous users? [Y/n] y
814 ... Success!
815
816Normally, root should only be allowed to connect from 'localhost'. This
817ensures that someone cannot guess at the root password from the network.
818
819Disallow root login remotely? [Y/n]
820 ... Success!
821
822By default, MariaDB comes with a database named 'test' that anyone can
823access. This is also intended only for testing, and should be removed
824before moving into a production environment.
825
826Remove test database and access to it? [Y/n]
827 - Dropping test database...
828 ... Success!
829 - Removing privileges on test database...
830 ... Success!
831
832Reloading the privilege tables will ensure that all changes made so far
833will take effect immediately.
834
835Reload privilege tables now? [Y/n]
836 ... Success!
837
838Cleaning up...
839
840All done! If you've completed all of the above steps, your MariaDB
841installation should now be secure.
842
843Thanks for using MariaDB!
844pi@raspberrypi:~ $ sudo mariadb -u root
845Welcome to the MariaDB monitor. Commands end with ; or \g.
846Your MariaDB connection id is 55
847Server version: 10.3.17-MariaDB-0+deb10u1 Raspbian 10
848
849Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
850
851Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
852
853MariaDB [(none)]> exit;
854Bye
855pi@raspberrypi:~ $ mariadb --version
856mariadb Ver 15.1 Distrib 10.3.17-MariaDB, for debian-linux-gnueabihf (armv7l) using readline 5.2
857pi@raspberrypi:~ $ sudo mariadb -u root
858Welcome to the MariaDB monitor. Commands end with ; or \g.
859Your MariaDB connection id is 56
860Server version: 10.3.17-MariaDB-0+deb10u1 Raspbian 10
861
862Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
863
864Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
865
866MariaDB [(none)]> or
867 ->
868 -> sudo mysql -u root
869[1]+ Stopped sudo mariadb -u root
870pi@raspberrypi:~ $ sudo apt install php7.3 libapache2-mod-php7.3 php7.3-mysql php-common php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-readline
871Reading package lists... Done
872Building dependency tree
873Reading state information... Done
874The following packages were automatically installed and are no longer required:
875 libdrm-etnaviv1 libllvm6.0 point-rpi python3-pyperclip python3-thonny rpi.gpio-common
876Use 'sudo apt autoremove' to remove them.
877Suggested packages:
878 php-pear
879The following NEW packages will be installed:
880 libapache2-mod-php7.3 php-common php7.3 php7.3-cli php7.3-common php7.3-json php7.3-mysql php7.3-opcache
881 php7.3-readline
8820 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
883Need to get 3,055 kB of archives.
884After this operation, 14.4 MB of additional disk space will be used.
885Get:1 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php-common all 2:69 [15.0 kB]
886Get:2 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-common armhf 7.3.11-1~deb10u1 [518 kB]
887Get:3 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-json armhf 7.3.11-1~deb10u1 [16.2 kB]
888Get:4 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-opcache armhf 7.3.11-1~deb10u1 [154 kB]
889Get:5 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-readline armhf 7.3.11-1~deb10u1 [10.7 kB]
890Get:6 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-cli armhf 7.3.11-1~deb10u1 [1,124 kB]
891Get:7 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libapache2-mod-php7.3 armhf 7.3.11-1~deb10u1 [1,082 kB]
892Get:8 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3 all 7.3.11-1~deb10u1 [39.0 kB]
893Get:9 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-mysql armhf 7.3.11-1~deb10u1 [96.4 kB]
894Fetched 3,055 kB in 3s (901 kB/s)
895Selecting previously unselected package php-common.
896(Reading database ... 161454 files and directories currently installed.)
897Preparing to unpack .../0-php-common_2%3a69_all.deb ...
898Unpacking php-common (2:69) ...
899Selecting previously unselected package php7.3-common.
900Preparing to unpack .../1-php7.3-common_7.3.11-1~deb10u1_armhf.deb ...
901Unpacking php7.3-common (7.3.11-1~deb10u1) ...
902Selecting previously unselected package php7.3-json.
903Preparing to unpack .../2-php7.3-json_7.3.11-1~deb10u1_armhf.deb ...
904Unpacking php7.3-json (7.3.11-1~deb10u1) ...
905Selecting previously unselected package php7.3-opcache.
906Preparing to unpack .../3-php7.3-opcache_7.3.11-1~deb10u1_armhf.deb ...
907Unpacking php7.3-opcache (7.3.11-1~deb10u1) ...
908Selecting previously unselected package php7.3-readline.
909Preparing to unpack .../4-php7.3-readline_7.3.11-1~deb10u1_armhf.deb ...
910Unpacking php7.3-readline (7.3.11-1~deb10u1) ...
911Selecting previously unselected package php7.3-cli.
912Preparing to unpack .../5-php7.3-cli_7.3.11-1~deb10u1_armhf.deb ...
913Unpacking php7.3-cli (7.3.11-1~deb10u1) ...
914Selecting previously unselected package libapache2-mod-php7.3.
915Preparing to unpack .../6-libapache2-mod-php7.3_7.3.11-1~deb10u1_armhf.deb ...
916Unpacking libapache2-mod-php7.3 (7.3.11-1~deb10u1) ...
917Selecting previously unselected package php7.3.
918Preparing to unpack .../7-php7.3_7.3.11-1~deb10u1_all.deb ...
919Unpacking php7.3 (7.3.11-1~deb10u1) ...
920Selecting previously unselected package php7.3-mysql.
921Preparing to unpack .../8-php7.3-mysql_7.3.11-1~deb10u1_armhf.deb ...
922Unpacking php7.3-mysql (7.3.11-1~deb10u1) ...
923Setting up php-common (2:69) ...
924Created symlink /etc/systemd/system/timers.target.wants/phpsessionclean.timer → /lib/systemd/system/phpsessionclean.timer.
925Setting up php7.3-common (7.3.11-1~deb10u1) ...
926
927Creating config file /etc/php/7.3/mods-available/calendar.ini with new version
928
929Creating config file /etc/php/7.3/mods-available/ctype.ini with new version
930
931Creating config file /etc/php/7.3/mods-available/exif.ini with new version
932
933Creating config file /etc/php/7.3/mods-available/fileinfo.ini with new version
934
935Creating config file /etc/php/7.3/mods-available/ftp.ini with new version
936
937Creating config file /etc/php/7.3/mods-available/gettext.ini with new version
938
939Creating config file /etc/php/7.3/mods-available/iconv.ini with new version
940
941Creating config file /etc/php/7.3/mods-available/pdo.ini with new version
942
943Creating config file /etc/php/7.3/mods-available/phar.ini with new version
944
945Creating config file /etc/php/7.3/mods-available/posix.ini with new version
946
947Creating config file /etc/php/7.3/mods-available/shmop.ini with new version
948
949Creating config file /etc/php/7.3/mods-available/sockets.ini with new version
950
951Creating config file /etc/php/7.3/mods-available/sysvmsg.ini with new version
952
953Creating config file /etc/php/7.3/mods-available/sysvsem.ini with new version
954
955Creating config file /etc/php/7.3/mods-available/sysvshm.ini with new version
956
957Creating config file /etc/php/7.3/mods-available/tokenizer.ini with new version
958Setting up php7.3-mysql (7.3.11-1~deb10u1) ...
959
960Creating config file /etc/php/7.3/mods-available/mysqlnd.ini with new version
961
962Creating config file /etc/php/7.3/mods-available/mysqli.ini with new version
963
964Creating config file /etc/php/7.3/mods-available/pdo_mysql.ini with new version
965Setting up php7.3-opcache (7.3.11-1~deb10u1) ...
966
967Creating config file /etc/php/7.3/mods-available/opcache.ini with new version
968Setting up php7.3-json (7.3.11-1~deb10u1) ...
969
970Creating config file /etc/php/7.3/mods-available/json.ini with new version
971Setting up php7.3-readline (7.3.11-1~deb10u1) ...
972
973Creating config file /etc/php/7.3/mods-available/readline.ini with new version
974Setting up php7.3-cli (7.3.11-1~deb10u1) ...
975update-alternatives: using /usr/bin/php7.3 to provide /usr/bin/php (php) in auto mode
976update-alternatives: using /usr/bin/phar7.3 to provide /usr/bin/phar (phar) in auto mode
977update-alternatives: using /usr/bin/phar.phar7.3 to provide /usr/bin/phar.phar (phar.phar) in auto mode
978
979Creating config file /etc/php/7.3/cli/php.ini with new version
980Setting up libapache2-mod-php7.3 (7.3.11-1~deb10u1) ...
981
982Creating config file /etc/php/7.3/apache2/php.ini with new version
983Module mpm_event disabled.
984Enabling module mpm_prefork.
985apache2_switch_mpm Switch to prefork
986apache2_invoke: Enable module php7.3
987Setting up php7.3 (7.3.11-1~deb10u1) ...
988Processing triggers for man-db (2.8.5-2) ...
989pi@raspberrypi:~ $ sudo a2enmod php7.3
990Considering dependency mpm_prefork for php7.3:
991Considering conflict mpm_event for mpm_prefork:
992Considering conflict mpm_worker for mpm_prefork:
993Module mpm_prefork already enabled
994Considering conflict php5 for php7.3:
995Module php7.3 already enabled
996pi@raspberrypi:~ $ sudo systemctl restart apache2
997pi@raspberrypi:~ $ php --version
998PHP 7.3.11-1~deb10u1 (cli) (built: Oct 26 2019 14:14:18) ( NTS )
999Copyright (c) 1997-2018 The PHP Group
1000Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies
1001 with Zend OPcache v7.3.11-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies
1002pi@raspberrypi:~ $ sudo nano /var/www/html/info.php
1003pi@raspberrypi:~ $ sudo find / -name php.ini
1004/etc/php/7.3/apache2/php.ini
1005/etc/php/7.3/cli/php.ini
1006^[[A^[[A
1007pi@raspberrypi:~ $ sudo nano /var/www/html/info.php
1008pi@raspberrypi:~ $ cd /etc/php/7.3/apache2
1009pi@raspberrypi:/etc/php/7.3/apache2 $ sudo nano php.ini
1010pi@raspberrypi:/etc/php/7.3/apache2 $
1011pi@raspberrypi:/etc/php/7.3/apache2 $ cd
1012pi@raspberrypi:~ $ install php-bcmath
1013install: missing destination file operand after 'php-bcmath'
1014Try 'install --help' for more information.
1015pi@raspberrypi:~ $ sudo apt install php7.3-bcmath
1016Reading package lists... Done
1017Building dependency tree
1018Reading state information... Done
1019The following packages were automatically installed and are no longer required:
1020 libdrm-etnaviv1 libllvm6.0 point-rpi python3-pyperclip python3-thonny rpi.gpio-common
1021Use 'sudo apt autoremove' to remove them.
1022The following NEW packages will be installed:
1023 php7.3-bcmath
10240 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1025Need to get 12.5 kB of archives.
1026After this operation, 56.3 kB of additional disk space will be used.
1027Get:1 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-bcmath armhf 7.3.11-1~deb10u1 [12.5 kB]
1028Fetched 12.5 kB in 2s (7,289 B/s)
1029Selecting previously unselected package php7.3-bcmath.
1030(Reading database ... 161604 files and directories currently installed.)
1031Preparing to unpack .../php7.3-bcmath_7.3.11-1~deb10u1_armhf.deb ...
1032Unpacking php7.3-bcmath (7.3.11-1~deb10u1) ...
1033Setting up php7.3-bcmath (7.3.11-1~deb10u1) ...
1034
1035Creating config file /etc/php/7.3/mods-available/bcmath.ini with new version
1036Processing triggers for libapache2-mod-php7.3 (7.3.11-1~deb10u1) ...
1037pi@raspberrypi:~ $ sudo apt-get install php7.3-intl
1038Reading package lists... Done
1039Building dependency tree
1040Reading state information... Done
1041The following packages were automatically installed and are no longer required:
1042 libdrm-etnaviv1 libllvm6.0 point-rpi python3-pyperclip python3-thonny rpi.gpio-common
1043Use 'sudo apt autoremove' to remove them.
1044The following NEW packages will be installed:
1045 php7.3-intl
10460 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1047Need to get 105 kB of archives.
1048After this operation, 413 kB of additional disk space will be used.
1049Get:1 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-intl armhf 7.3.11-1~deb10u1 [105 kB]
1050Fetched 105 kB in 1s (131 kB/s)
1051Selecting previously unselected package php7.3-intl.
1052(Reading database ... 161613 files and directories currently installed.)
1053Preparing to unpack .../php7.3-intl_7.3.11-1~deb10u1_armhf.deb ...
1054Unpacking php7.3-intl (7.3.11-1~deb10u1) ...
1055Setting up php7.3-intl (7.3.11-1~deb10u1) ...
1056
1057Creating config file /etc/php/7.3/mods-available/intl.ini with new version
1058Processing triggers for libapache2-mod-php7.3 (7.3.11-1~deb10u1) ...
1059pi@raspberrypi:~ $ sudo apt-get install php7.3-curl
1060Reading package lists... Done
1061Building dependency tree
1062Reading state information... Done
1063The following packages were automatically installed and are no longer required:
1064 libdrm-etnaviv1 libllvm6.0 point-rpi python3-pyperclip python3-thonny rpi.gpio-common
1065Use 'sudo apt autoremove' to remove them.
1066The following NEW packages will be installed:
1067 php7.3-curl
10680 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1069Need to get 26.6 kB of archives.
1070After this operation, 114 kB of additional disk space will be used.
1071Get:1 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-curl armhf 7.3.11-1~deb10u1 [26.6 kB]
1072Fetched 26.6 kB in 1s (40.2 kB/s)
1073Selecting previously unselected package php7.3-curl.
1074(Reading database ... 161622 files and directories currently installed.)
1075Preparing to unpack .../php7.3-curl_7.3.11-1~deb10u1_armhf.deb ...
1076Unpacking php7.3-curl (7.3.11-1~deb10u1) ...
1077Setting up php7.3-curl (7.3.11-1~deb10u1) ...
1078
1079Creating config file /etc/php/7.3/mods-available/curl.ini with new version
1080Processing triggers for libapache2-mod-php7.3 (7.3.11-1~deb10u1) ...
1081pi@raspberrypi:~ $ sudo apt-get install php7.3-zip
1082Reading package lists... Done
1083Building dependency tree
1084Reading state information... Done
1085The following packages were automatically installed and are no longer required:
1086 libdrm-etnaviv1 libllvm6.0 point-rpi python3-pyperclip python3-thonny rpi.gpio-common
1087Use 'sudo apt autoremove' to remove them.
1088The following additional packages will be installed:
1089 libzip4
1090The following NEW packages will be installed:
1091 libzip4 php7.3-zip
10920 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1093Need to get 63.1 kB of archives.
1094After this operation, 195 kB of additional disk space will be used.
1095Do you want to continue? [Y/n] y
1096Get:1 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf libzip4 armhf 1.5.1-4 [45.4 kB]
1097Get:2 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-zip armhf 7.3.11-1~deb10u1 [17.6 kB]
1098Fetched 63.1 kB in 1s (75.9 kB/s)
1099Selecting previously unselected package libzip4:armhf.
1100(Reading database ... 161631 files and directories currently installed.)
1101Preparing to unpack .../libzip4_1.5.1-4_armhf.deb ...
1102Unpacking libzip4:armhf (1.5.1-4) ...
1103Selecting previously unselected package php7.3-zip.
1104Preparing to unpack .../php7.3-zip_7.3.11-1~deb10u1_armhf.deb ...
1105Unpacking php7.3-zip (7.3.11-1~deb10u1) ...
1106Setting up libzip4:armhf (1.5.1-4) ...
1107Setting up php7.3-zip (7.3.11-1~deb10u1) ...
1108
1109Creating config file /etc/php/7.3/mods-available/zip.ini with new version
1110Processing triggers for libapache2-mod-php7.3 (7.3.11-1~deb10u1) ...
1111Processing triggers for libc-bin (2.28-10+rpi1) ...
1112pi@raspberrypi:~ $ sudo apt-get install php7.3-gd
1113Reading package lists... Done
1114Building dependency tree
1115Reading state information... Done
1116The following packages were automatically installed and are no longer required:
1117 libdrm-etnaviv1 libllvm6.0 point-rpi python3-pyperclip python3-thonny rpi.gpio-common
1118Use 'sudo apt autoremove' to remove them.
1119The following NEW packages will be installed:
1120 php7.3-gd
11210 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1122Need to get 22.6 kB of archives.
1123After this operation, 104 kB of additional disk space will be used.
1124Get:1 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-gd armhf 7.3.11-1~deb10u1 [22.6 kB]
1125Fetched 22.6 kB in 1s (34.8 kB/s)
1126Selecting previously unselected package php7.3-gd.
1127(Reading database ... 161647 files and directories currently installed.)
1128Preparing to unpack .../php7.3-gd_7.3.11-1~deb10u1_armhf.deb ...
1129Unpacking php7.3-gd (7.3.11-1~deb10u1) ...
1130Setting up php7.3-gd (7.3.11-1~deb10u1) ...
1131
1132Creating config file /etc/php/7.3/mods-available/gd.ini with new version
1133Processing triggers for libapache2-mod-php7.3 (7.3.11-1~deb10u1) ...
1134pi@raspberrypi:~ $ sudo apt-get install php7.3-xml
1135Reading package lists... Done
1136Building dependency tree
1137Reading state information... Done
1138The following packages were automatically installed and are no longer required:
1139 libdrm-etnaviv1 libllvm6.0 point-rpi python3-pyperclip python3-thonny rpi.gpio-common
1140Use 'sudo apt autoremove' to remove them.
1141The following NEW packages will be installed:
1142 php7.3-xml
11430 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1144Need to get 85.2 kB of archives.
1145After this operation, 342 kB of additional disk space will be used.
1146Get:1 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-xml armhf 7.3.11-1~deb10u1 [85.2 kB]
1147Fetched 85.2 kB in 1s (118 kB/s)
1148Selecting previously unselected package php7.3-xml.
1149(Reading database ... 161656 files and directories currently installed.)
1150Preparing to unpack .../php7.3-xml_7.3.11-1~deb10u1_armhf.deb ...
1151Unpacking php7.3-xml (7.3.11-1~deb10u1) ...
1152Setting up php7.3-xml (7.3.11-1~deb10u1) ...
1153
1154Creating config file /etc/php/7.3/mods-available/dom.ini with new version
1155
1156Creating config file /etc/php/7.3/mods-available/simplexml.ini with new version
1157
1158Creating config file /etc/php/7.3/mods-available/wddx.ini with new version
1159
1160Creating config file /etc/php/7.3/mods-available/xml.ini with new version
1161
1162Creating config file /etc/php/7.3/mods-available/xmlreader.ini with new version
1163
1164Creating config file /etc/php/7.3/mods-available/xmlwriter.ini with new version
1165
1166Creating config file /etc/php/7.3/mods-available/xsl.ini with new version
1167Processing triggers for libapache2-mod-php7.3 (7.3.11-1~deb10u1) ...
1168pi@raspberrypi:~ $ sudo apt-get install php7.3-MBString
1169Reading package lists... Done
1170Building dependency tree
1171Reading state information... Done
1172Note, selecting 'php7.3-mbstring' for glob 'php7.3-MBString'
1173The following packages were automatically installed and are no longer required:
1174 libdrm-etnaviv1 libllvm6.0 point-rpi python3-pyperclip python3-thonny rpi.gpio-common
1175Use 'sudo apt autoremove' to remove them.
1176The following NEW packages will be installed:
1177 php7.3-mbstring
11780 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1179Need to get 476 kB of archives.
1180After this operation, 1,481 kB of additional disk space will be used.
1181Get:1 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-mbstring armhf 7.3.11-1~deb10u1 [476 kB]
1182Fetched 476 kB in 1s (507 kB/s)
1183Selecting previously unselected package php7.3-mbstring.
1184(Reading database ... 161677 files and directories currently installed.)
1185Preparing to unpack .../php7.3-mbstring_7.3.11-1~deb10u1_armhf.deb ...
1186Unpacking php7.3-mbstring (7.3.11-1~deb10u1) ...
1187Setting up php7.3-mbstring (7.3.11-1~deb10u1) ...
1188
1189Creating config file /etc/php/7.3/mods-available/mbstring.ini with new version
1190Processing triggers for libapache2-mod-php7.3 (7.3.11-1~deb10u1) ...
1191pi@raspberrypi:~ $ sudo apt-get install php7.3-LDAP
1192Reading package lists... Done
1193Building dependency tree
1194Reading state information... Done
1195Note, selecting 'php7.3-ldap' for glob 'php7.3-LDAP'
1196The following packages were automatically installed and are no longer required:
1197 libdrm-etnaviv1 libllvm6.0 point-rpi python3-pyperclip python3-thonny rpi.gpio-common
1198Use 'sudo apt autoremove' to remove them.
1199The following NEW packages will be installed:
1200 php7.3-ldap
12010 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1202Need to get 24.6 kB of archives.
1203After this operation, 101 kB of additional disk space will be used.
1204Get:1 http://mirrors.gigenet.com/raspbian/raspbian buster/main armhf php7.3-ldap armhf 7.3.11-1~deb10u1 [24.6 kB]
1205Fetched 24.6 kB in 1s (35.0 kB/s)
1206Selecting previously unselected package php7.3-ldap.
1207(Reading database ... 161686 files and directories currently installed.)
1208Preparing to unpack .../php7.3-ldap_7.3.11-1~deb10u1_armhf.deb ...
1209Unpacking php7.3-ldap (7.3.11-1~deb10u1) ...
1210Setting up php7.3-ldap (7.3.11-1~deb10u1) ...
1211
1212Creating config file /etc/php/7.3/mods-available/ldap.ini with new version
1213Processing triggers for libapache2-mod-php7.3 (7.3.11-1~deb10u1) ...
1214pi@raspberrypi:~ $ curl -fsSL https://get.docker.com -o get-docker.sh
1215pi@raspberrypi:~ $ sudo sh get-docker.sh
1216# Executing docker install script, commit: f45d7c11389849ff46a6b4d94e0dd1ffebca32c1
1217+ sh -c apt-get update -qq >/dev/null
1218+ sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
1219+ sh -c curl -fsSL "https://download.docker.com/linux/raspbian/gpg" | apt-key add -qq - >/dev/null
1220Warning: apt-key output should not be parsed (stdout is not a terminal)
1221+ sh -c echo "deb [arch=armhf] https://download.docker.com/linux/raspbian buster stable" > /etc/apt/sources.list.d/docker.list
1222+ sh -c apt-get update -qq >/dev/null
1223+ [ -n ]
1224+ sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
1225+ sh -c docker version
1226Client: Docker Engine - Community
1227 Version: 19.03.5
1228 API version: 1.40
1229 Go version: go1.12.12
1230 Git commit: 633a0ea
1231 Built: Wed Nov 13 07:37:22 2019
1232 OS/Arch: linux/arm
1233 Experimental: false
1234
1235Server: Docker Engine - Community
1236 Engine:
1237 Version: 19.03.5
1238 API version: 1.40 (minimum version 1.12)
1239 Go version: go1.12.12
1240 Git commit: 633a0ea
1241 Built: Wed Nov 13 07:31:17 2019
1242 OS/Arch: linux/arm
1243 Experimental: false
1244 containerd:
1245 Version: 1.2.10
1246 GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
1247 runc:
1248 Version: 1.0.0-rc8+dev
1249 GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
1250 docker-init:
1251 Version: 0.18.0
1252 GitCommit: fec3683
1253If you would like to use Docker as a non-root user, you should now consider
1254adding your user to the "docker" group with something like:
1255
1256 sudo usermod -aG docker your-user
1257
1258Remember that you will have to log out and back in for this to take effect!
1259
1260WARNING: Adding a user to the "docker" group will grant the ability to run
1261 containers which can be used to obtain root privileges on the
1262 docker host.
1263 Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
1264 for more information.
1265pi@raspberrypi:~ $ pip install docker-compose
1266Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
1267Collecting docker-compose
1268 Downloading https://files.pythonhosted.org/packages/2e/93/b8fb6532487fcc40f5c607ac428a609e7f74bfb26a1c3c980a253c6e5a14/docker_compose-1.25.0-py2.py3-none-any.whl (137kB)
1269 100% |████████████████████████████████| 143kB 1.2MB/s
1270Collecting backports.ssl-match-hostname<4,>=3.5; python_version < "3.5" (from docker-compose)
1271 Downloading https://www.piwheels.org/simple/backports-ssl-match-hostname/backports.ssl_match_hostname-3.7.0.1-py2.py3-none-any.whl
1272Requirement already satisfied: six<2,>=1.3.0 in /usr/lib/python2.7/dist-packages (from docker-compose) (1.12.0)
1273Collecting docopt<1,>=0.6.1 (from docker-compose)
1274 Downloading https://www.piwheels.org/simple/docopt/docopt-0.6.2-py2.py3-none-any.whl
1275Collecting dockerpty<1,>=0.4.1 (from docker-compose)
1276 Downloading https://files.pythonhosted.org/packages/8d/ee/e9ecce4c32204a6738e0a5d5883d3413794d7498fe8b06f44becc028d3ba/dockerpty-0.4.1.tar.gz
1277Collecting docker[ssh]<5,>=3.7.0 (from docker-compose)
1278 Downloading https://files.pythonhosted.org/packages/cc/ca/699d4754a932787ef353a157ada74efd1ceb6d1fc0bfb7989ae1e7b33111/docker-4.1.0-py2.py3-none-any.whl (139kB)
1279 100% |████████████████████████████████| 143kB 1.3MB/s
1280Collecting websocket-client<1,>=0.32.0 (from docker-compose)
1281 Downloading https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl (200kB)
1282 100% |████████████████████████████████| 204kB 1.0MB/s
1283Collecting texttable<2,>=0.9.0 (from docker-compose)
1284 Downloading https://files.pythonhosted.org/packages/82/a8/60df592e3a100a1f83928795aca210414d72cebdc6e4e0c95a6d8ac632fe/texttable-1.6.2.tar.gz
1285Collecting subprocess32<4,>=3.5.4; python_version < "3.2" (from docker-compose)
1286 Downloading https://files.pythonhosted.org/packages/32/c8/564be4d12629b912ea431f1a50eb8b3b9d00f1a0b1ceff17f266be190007/subprocess32-3.5.4.tar.gz (97kB)
1287 100% |████████████████████████████████| 102kB 1.7MB/s
1288Collecting cached-property<2,>=1.2.0 (from docker-compose)
1289 Downloading https://files.pythonhosted.org/packages/3b/86/85c1be2e8db9e13ef9a350aecd6dea292bd612fa288c2f40d035bb750ded/cached_property-1.5.1-py2.py3-none-any.whl
1290Requirement already satisfied: requests<3,>=2.20.0 in /usr/lib/python2.7/dist-packages (from docker-compose) (2.21.0)
1291Requirement already satisfied: enum34<2,>=1.0.4; python_version < "3.4" in /usr/lib/python2.7/dist-packages (from docker-compose) (1.1.6)
1292Requirement already satisfied: ipaddress<2,>=1.0.16; python_version < "3.3" in /usr/lib/python2.7/dist-packages (from docker-compose) (1.0.17)
1293Collecting jsonschema<4,>=2.5.1 (from docker-compose)
1294 Downloading https://files.pythonhosted.org/packages/c5/8f/51e89ce52a085483359217bc72cdbf6e75ee595d5b1d4b5ade40c7e018b8/jsonschema-3.2.0-py2.py3-none-any.whl (56kB)
1295 100% |████████████████████████████████| 61kB 1.8MB/s
1296Collecting PyYAML<5,>=3.10 (from docker-compose)
1297 Downloading https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz (270kB)
1298 100% |████████████████████████████████| 276kB 781kB/s
1299Collecting backports.shutil-get-terminal-size==1.0.0; python_version < "3.3" (from docker-compose)
1300 Downloading https://files.pythonhosted.org/packages/7d/cd/1750d6c35fe86d35f8562091737907f234b78fdffab42b29c72b1dd861f4/backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
1301Collecting paramiko>=2.4.2; extra == "ssh" (from docker[ssh]<5,>=3.7.0->docker-compose)
1302 Downloading https://files.pythonhosted.org/packages/4b/80/74dace9e48b0ef923633dfb5e48798f58a168e4734bca8ecfaf839ba051a/paramiko-2.6.0-py2.py3-none-any.whl (199kB)
1303 100% |████████████████████████████████| 204kB 999kB/s
1304Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from jsonschema<4,>=2.5.1->docker-compose) (40.8.0)
1305Collecting attrs>=17.4.0 (from jsonschema<4,>=2.5.1->docker-compose)
1306 Downloading https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl
1307Collecting importlib-metadata; python_version < "3.8" (from jsonschema<4,>=2.5.1->docker-compose)
1308 Downloading https://files.pythonhosted.org/packages/f6/d2/40b3fa882147719744e6aa50ac39cf7a22a913cbcba86a0371176c425a3b/importlib_metadata-0.23-py2.py3-none-any.whl
1309Collecting pyrsistent>=0.14.0 (from jsonschema<4,>=2.5.1->docker-compose)
1310 Downloading https://files.pythonhosted.org/packages/30/86/53a88c0a57698fa228db29a4000c28f4124823010388cb7042fe6e2be8dd/pyrsistent-0.15.5.tar.gz (107kB)
1311 100% |████████████████████████████████| 112kB 1.6MB/s
1312Collecting functools32; python_version < "3" (from jsonschema<4,>=2.5.1->docker-compose)
1313 Downloading https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz
1314Collecting bcrypt>=3.1.3 (from paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=3.7.0->docker-compose)
1315 Downloading https://files.pythonhosted.org/packages/fa/aa/025a3ab62469b5167bc397837c9ffc486c42a97ef12ceaa6699d8f5a5416/bcrypt-3.1.7.tar.gz (42kB)
1316 100% |████████████████████████████████| 51kB 1.9MB/s
1317 Installing build dependencies ... error
1318 Complete output from command /usr/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-TFKNE8 --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools>=40.8.0 wheel "cffi>=1.1; python_implementation != 'PyPy'":
1319 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
1320 Collecting setuptools>=40.8.0
1321 Downloading https://files.pythonhosted.org/packages/d9/de/554b6310ac87c5b921bc45634b07b11394fe63bc4cb5176f5240addf18ab/setuptools-41.6.0-py2.py3-none-any.whl (582kB)
1322 Collecting wheel
1323 Downloading https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
1324 Collecting cffi>=1.1
1325 Downloading https://files.pythonhosted.org/packages/2d/bf/960e5a422db3ac1a5e612cb35ca436c3fc985ed4b7ed13a1b4879006f450/cffi-1.13.2.tar.gz (460kB)
1326 Collecting pycparser (from cffi>=1.1)
1327 Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.19-py2.py3-none-any.whl (111kB)
1328 Building wheels for collected packages: cffi
1329 Running setup.py bdist_wheel for cffi: started
1330 Running setup.py bdist_wheel for cffi: finished with status 'error'
1331 Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-cfmE5_/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-DZLa4_ --python-tag cp27:
1332 Package libffi was not found in the pkg-config search path.
1333 Perhaps you should add the directory containing `libffi.pc'
1334 to the PKG_CONFIG_PATH environment variable
1335 No package 'libffi' found
1336 Package libffi was not found in the pkg-config search path.
1337 Perhaps you should add the directory containing `libffi.pc'
1338 to the PKG_CONFIG_PATH environment variable
1339 No package 'libffi' found
1340 Package libffi was not found in the pkg-config search path.
1341 Perhaps you should add the directory containing `libffi.pc'
1342 to the PKG_CONFIG_PATH environment variable
1343 No package 'libffi' found
1344 Package libffi was not found in the pkg-config search path.
1345 Perhaps you should add the directory containing `libffi.pc'
1346 to the PKG_CONFIG_PATH environment variable
1347 No package 'libffi' found
1348 Package libffi was not found in the pkg-config search path.
1349 Perhaps you should add the directory containing `libffi.pc'
1350 to the PKG_CONFIG_PATH environment variable
1351 No package 'libffi' found
1352 running bdist_wheel
1353 running build
1354 running build_py
1355 creating build
1356 creating build/lib.linux-armv7l-2.7
1357 creating build/lib.linux-armv7l-2.7/cffi
1358 copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
1359 copying cffi/pkgconfig.py -> build/lib.linux-armv7l-2.7/cffi
1360 copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
1361 copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
1362 copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
1363 copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
1364 copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
1365 copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
1366 copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
1367 copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
1368 copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
1369 copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
1370 copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
1371 copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
1372 copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
1373 copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
1374 copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
1375 copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
1376 copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
1377 copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-2.7/cffi
1378 running build_ext
1379 building '_cffi_backend' extension
1380 creating build/temp.linux-armv7l-2.7
1381 creating build/temp.linux-armv7l-2.7/c
1382 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
1383 c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
1384 #include <ffi.h>
1385 ^~~~~~~
1386 compilation terminated.
1387 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
1388
1389 ----------------------------------------
1390 Failed building wheel for cffi
1391 Running setup.py clean for cffi
1392 Failed to build cffi
1393 Installing collected packages: setuptools, wheel, pycparser, cffi
1394 Running setup.py install for cffi: started
1395 Running setup.py install for cffi: finished with status 'error'
1396 Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-cfmE5_/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-Xye5mE/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-TFKNE8 --compile:
1397 Package libffi was not found in the pkg-config search path.
1398 Perhaps you should add the directory containing `libffi.pc'
1399 to the PKG_CONFIG_PATH environment variable
1400 No package 'libffi' found
1401 Package libffi was not found in the pkg-config search path.
1402 Perhaps you should add the directory containing `libffi.pc'
1403 to the PKG_CONFIG_PATH environment variable
1404 No package 'libffi' found
1405 Package libffi was not found in the pkg-config search path.
1406 Perhaps you should add the directory containing `libffi.pc'
1407 to the PKG_CONFIG_PATH environment variable
1408 No package 'libffi' found
1409 Package libffi was not found in the pkg-config search path.
1410 Perhaps you should add the directory containing `libffi.pc'
1411 to the PKG_CONFIG_PATH environment variable
1412 No package 'libffi' found
1413 Package libffi was not found in the pkg-config search path.
1414 Perhaps you should add the directory containing `libffi.pc'
1415 to the PKG_CONFIG_PATH environment variable
1416 No package 'libffi' found
1417 running install
1418 running build
1419 running build_py
1420 creating build
1421 creating build/lib.linux-armv7l-2.7
1422 creating build/lib.linux-armv7l-2.7/cffi
1423 copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
1424 copying cffi/pkgconfig.py -> build/lib.linux-armv7l-2.7/cffi
1425 copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
1426 copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
1427 copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
1428 copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
1429 copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
1430 copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
1431 copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
1432 copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
1433 copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
1434 copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
1435 copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
1436 copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
1437 copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
1438 copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
1439 copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
1440 copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
1441 copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
1442 copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-2.7/cffi
1443 running build_ext
1444 building '_cffi_backend' extension
1445 creating build/temp.linux-armv7l-2.7
1446 creating build/temp.linux-armv7l-2.7/c
1447 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
1448 c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
1449 #include <ffi.h>
1450 ^~~~~~~
1451 compilation terminated.
1452 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
1453
1454 ----------------------------------------
1455 Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-cfmE5_/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-Xye5mE/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-TFKNE8 --compile" failed with error code 1 in /tmp/pip-install-cfmE5_/cffi/
1456
1457 ----------------------------------------
1458Command "/usr/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-TFKNE8 --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools>=40.8.0 wheel "cffi>=1.1; python_implementation != 'PyPy'"" failed with error code 1 in None
1459pi@raspberrypi:~ $ sudo apt-get install python3-pip
1460Reading package lists... Done
1461Building dependency tree
1462Reading state information... Done
1463python3-pip is already the newest version (18.1-5+rpt1).
1464The following packages were automatically installed and are no longer required:
1465 libdrm-etnaviv1 libllvm6.0 point-rpi python3-pyperclip python3-thonny rpi.gpio-common
1466Use 'sudo apt autoremove' to remove them.
14670 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1468pi@raspberrypi:~ $ pip install docker-compose
1469Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
1470Collecting docker-compose
1471 Using cached https://files.pythonhosted.org/packages/2e/93/b8fb6532487fcc40f5c607ac428a609e7f74bfb26a1c3c980a253c6e5a14/docker_compose-1.25.0-py2.py3-none-any.whl
1472Collecting backports.ssl-match-hostname<4,>=3.5; python_version < "3.5" (from docker-compose)
1473 Using cached https://www.piwheels.org/simple/backports-ssl-match-hostname/backports.ssl_match_hostname-3.7.0.1-py2.py3-none-any.whl
1474Requirement already satisfied: six<2,>=1.3.0 in /usr/lib/python2.7/dist-packages (from docker-compose) (1.12.0)
1475Collecting docopt<1,>=0.6.1 (from docker-compose)
1476 Using cached https://www.piwheels.org/simple/docopt/docopt-0.6.2-py2.py3-none-any.whl
1477Collecting dockerpty<1,>=0.4.1 (from docker-compose)
1478 Using cached https://files.pythonhosted.org/packages/8d/ee/e9ecce4c32204a6738e0a5d5883d3413794d7498fe8b06f44becc028d3ba/dockerpty-0.4.1.tar.gz
1479Collecting docker[ssh]<5,>=3.7.0 (from docker-compose)
1480 Using cached https://files.pythonhosted.org/packages/cc/ca/699d4754a932787ef353a157ada74efd1ceb6d1fc0bfb7989ae1e7b33111/docker-4.1.0-py2.py3-none-any.whl
1481Collecting websocket-client<1,>=0.32.0 (from docker-compose)
1482 Using cached https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl
1483Collecting texttable<2,>=0.9.0 (from docker-compose)
1484 Using cached https://files.pythonhosted.org/packages/82/a8/60df592e3a100a1f83928795aca210414d72cebdc6e4e0c95a6d8ac632fe/texttable-1.6.2.tar.gz
1485Collecting subprocess32<4,>=3.5.4; python_version < "3.2" (from docker-compose)
1486 Using cached https://files.pythonhosted.org/packages/32/c8/564be4d12629b912ea431f1a50eb8b3b9d00f1a0b1ceff17f266be190007/subprocess32-3.5.4.tar.gz
1487Collecting cached-property<2,>=1.2.0 (from docker-compose)
1488 Using cached https://files.pythonhosted.org/packages/3b/86/85c1be2e8db9e13ef9a350aecd6dea292bd612fa288c2f40d035bb750ded/cached_property-1.5.1-py2.py3-none-any.whl
1489Requirement already satisfied: requests<3,>=2.20.0 in /usr/lib/python2.7/dist-packages (from docker-compose) (2.21.0)
1490Requirement already satisfied: enum34<2,>=1.0.4; python_version < "3.4" in /usr/lib/python2.7/dist-packages (from docker-compose) (1.1.6)
1491Requirement already satisfied: ipaddress<2,>=1.0.16; python_version < "3.3" in /usr/lib/python2.7/dist-packages (from docker-compose) (1.0.17)
1492Collecting jsonschema<4,>=2.5.1 (from docker-compose)
1493 Using cached https://files.pythonhosted.org/packages/c5/8f/51e89ce52a085483359217bc72cdbf6e75ee595d5b1d4b5ade40c7e018b8/jsonschema-3.2.0-py2.py3-none-any.whl
1494Collecting PyYAML<5,>=3.10 (from docker-compose)
1495 Using cached https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz
1496Collecting backports.shutil-get-terminal-size==1.0.0; python_version < "3.3" (from docker-compose)
1497 Using cached https://files.pythonhosted.org/packages/7d/cd/1750d6c35fe86d35f8562091737907f234b78fdffab42b29c72b1dd861f4/backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
1498Collecting paramiko>=2.4.2; extra == "ssh" (from docker[ssh]<5,>=3.7.0->docker-compose)
1499 Using cached https://files.pythonhosted.org/packages/4b/80/74dace9e48b0ef923633dfb5e48798f58a168e4734bca8ecfaf839ba051a/paramiko-2.6.0-py2.py3-none-any.whl
1500Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from jsonschema<4,>=2.5.1->docker-compose) (40.8.0)
1501Collecting attrs>=17.4.0 (from jsonschema<4,>=2.5.1->docker-compose)
1502 Using cached https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl
1503Collecting importlib-metadata; python_version < "3.8" (from jsonschema<4,>=2.5.1->docker-compose)
1504 Using cached https://files.pythonhosted.org/packages/f6/d2/40b3fa882147719744e6aa50ac39cf7a22a913cbcba86a0371176c425a3b/importlib_metadata-0.23-py2.py3-none-any.whl
1505Collecting pyrsistent>=0.14.0 (from jsonschema<4,>=2.5.1->docker-compose)
1506 Using cached https://files.pythonhosted.org/packages/30/86/53a88c0a57698fa228db29a4000c28f4124823010388cb7042fe6e2be8dd/pyrsistent-0.15.5.tar.gz
1507Collecting functools32; python_version < "3" (from jsonschema<4,>=2.5.1->docker-compose)
1508 Using cached https://files.pythonhosted.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db/functools32-3.2.3-2.tar.gz
1509Collecting bcrypt>=3.1.3 (from paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=3.7.0->docker-compose)
1510 Using cached https://files.pythonhosted.org/packages/fa/aa/025a3ab62469b5167bc397837c9ffc486c42a97ef12ceaa6699d8f5a5416/bcrypt-3.1.7.tar.gz
1511 Installing build dependencies ... error
1512 Complete output from command /usr/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-aiQzIq --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools>=40.8.0 wheel "cffi>=1.1; python_implementation != 'PyPy'":
1513 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple, https://www.piwheels.org/simple
1514 Collecting setuptools>=40.8.0
1515 Using cached https://files.pythonhosted.org/packages/d9/de/554b6310ac87c5b921bc45634b07b11394fe63bc4cb5176f5240addf18ab/setuptools-41.6.0-py2.py3-none-any.whl
1516 Collecting wheel
1517 Using cached https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
1518 Collecting cffi>=1.1
1519 Using cached https://files.pythonhosted.org/packages/2d/bf/960e5a422db3ac1a5e612cb35ca436c3fc985ed4b7ed13a1b4879006f450/cffi-1.13.2.tar.gz
1520 Collecting pycparser (from cffi>=1.1)
1521 Using cached https://www.piwheels.org/simple/pycparser/pycparser-2.19-py2.py3-none-any.whl
1522 Building wheels for collected packages: cffi
1523 Running setup.py bdist_wheel for cffi: started
1524 Running setup.py bdist_wheel for cffi: finished with status 'error'
1525 Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-bIboZj/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-TfmLvd --python-tag cp27:
1526 Package libffi was not found in the pkg-config search path.
1527 Perhaps you should add the directory containing `libffi.pc'
1528 to the PKG_CONFIG_PATH environment variable
1529 No package 'libffi' found
1530 Package libffi was not found in the pkg-config search path.
1531 Perhaps you should add the directory containing `libffi.pc'
1532 to the PKG_CONFIG_PATH environment variable
1533 No package 'libffi' found
1534 Package libffi was not found in the pkg-config search path.
1535 Perhaps you should add the directory containing `libffi.pc'
1536 to the PKG_CONFIG_PATH environment variable
1537 No package 'libffi' found
1538 Package libffi was not found in the pkg-config search path.
1539 Perhaps you should add the directory containing `libffi.pc'
1540 to the PKG_CONFIG_PATH environment variable
1541 No package 'libffi' found
1542 Package libffi was not found in the pkg-config search path.
1543 Perhaps you should add the directory containing `libffi.pc'
1544 to the PKG_CONFIG_PATH environment variable
1545 No package 'libffi' found
1546 running bdist_wheel
1547 running build
1548 running build_py
1549 creating build
1550 creating build/lib.linux-armv7l-2.7
1551 creating build/lib.linux-armv7l-2.7/cffi
1552 copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
1553 copying cffi/pkgconfig.py -> build/lib.linux-armv7l-2.7/cffi
1554 copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
1555 copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
1556 copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
1557 copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
1558 copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
1559 copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
1560 copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
1561 copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
1562 copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
1563 copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
1564 copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
1565 copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
1566 copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
1567 copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
1568 copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
1569 copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
1570 copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
1571 copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-2.7/cffi
1572 running build_ext
1573 building '_cffi_backend' extension
1574 creating build/temp.linux-armv7l-2.7
1575 creating build/temp.linux-armv7l-2.7/c
1576 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
1577 c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
1578 #include <ffi.h>
1579 ^~~~~~~
1580 compilation terminated.
1581 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
1582
1583 ----------------------------------------
1584 Failed building wheel for cffi
1585 Running setup.py clean for cffi
1586 Failed to build cffi
1587 Installing collected packages: setuptools, wheel, pycparser, cffi
1588 Running setup.py install for cffi: started
1589 Running setup.py install for cffi: finished with status 'error'
1590 Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-bIboZj/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-uG8vFf/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-aiQzIq --compile:
1591 Package libffi was not found in the pkg-config search path.
1592 Perhaps you should add the directory containing `libffi.pc'
1593 to the PKG_CONFIG_PATH environment variable
1594 No package 'libffi' found
1595 Package libffi was not found in the pkg-config search path.
1596 Perhaps you should add the directory containing `libffi.pc'
1597 to the PKG_CONFIG_PATH environment variable
1598 No package 'libffi' found
1599 Package libffi was not found in the pkg-config search path.
1600 Perhaps you should add the directory containing `libffi.pc'
1601 to the PKG_CONFIG_PATH environment variable
1602 No package 'libffi' found
1603 Package libffi was not found in the pkg-config search path.
1604 Perhaps you should add the directory containing `libffi.pc'
1605 to the PKG_CONFIG_PATH environment variable
1606 No package 'libffi' found
1607 Package libffi was not found in the pkg-config search path.
1608 Perhaps you should add the directory containing `libffi.pc'
1609 to the PKG_CONFIG_PATH environment variable
1610 No package 'libffi' found
1611 running install
1612 running build
1613 running build_py
1614 creating build
1615 creating build/lib.linux-armv7l-2.7
1616 creating build/lib.linux-armv7l-2.7/cffi
1617 copying cffi/vengine_gen.py -> build/lib.linux-armv7l-2.7/cffi
1618 copying cffi/pkgconfig.py -> build/lib.linux-armv7l-2.7/cffi
1619 copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-2.7/cffi
1620 copying cffi/lock.py -> build/lib.linux-armv7l-2.7/cffi
1621 copying cffi/error.py -> build/lib.linux-armv7l-2.7/cffi
1622 copying cffi/commontypes.py -> build/lib.linux-armv7l-2.7/cffi
1623 copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-2.7/cffi
1624 copying cffi/ffiplatform.py -> build/lib.linux-armv7l-2.7/cffi
1625 copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-2.7/cffi
1626 copying cffi/verifier.py -> build/lib.linux-armv7l-2.7/cffi
1627 copying cffi/api.py -> build/lib.linux-armv7l-2.7/cffi
1628 copying cffi/cparser.py -> build/lib.linux-armv7l-2.7/cffi
1629 copying cffi/recompiler.py -> build/lib.linux-armv7l-2.7/cffi
1630 copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-2.7/cffi
1631 copying cffi/model.py -> build/lib.linux-armv7l-2.7/cffi
1632 copying cffi/__init__.py -> build/lib.linux-armv7l-2.7/cffi
1633 copying cffi/_cffi_include.h -> build/lib.linux-armv7l-2.7/cffi
1634 copying cffi/parse_c_type.h -> build/lib.linux-armv7l-2.7/cffi
1635 copying cffi/_embedding.h -> build/lib.linux-armv7l-2.7/cffi
1636 copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-2.7/cffi
1637 running build_ext
1638 building '_cffi_backend' extension
1639 creating build/temp.linux-armv7l-2.7
1640 creating build/temp.linux-armv7l-2.7/c
1641 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-armv7l-2.7/c/_cffi_backend.o
1642 c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
1643 #include <ffi.h>
1644 ^~~~~~~
1645 compilation terminated.
1646 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
1647
1648 ----------------------------------------
1649 Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-bIboZj/cffi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-uG8vFf/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-aiQzIq --compile" failed with error code 1 in /tmp/pip-install-bIboZj/cffi/
1650
1651 ----------------------------------------
1652Command "/usr/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-aiQzIq --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url https://www.piwheels.org/simple -- setuptools>=40.8.0 wheel "cffi>=1.1; python_implementation != 'PyPy'"" failed with error code 1 in None
1653pi@raspberrypi:~ $ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
1654All settings correct for using Composer
1655Downloading...
1656
1657Composer (version 1.9.1) successfully installed to: /usr/local/bin/composer
1658Use it: php /usr/local/bin/composer
1659
1660pi@raspberrypi:~ $ composer -v
1661 ______
1662 / ____/___ ____ ___ ____ ____ ________ _____
1663 / / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
1664/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
1665\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
1666 /_/
1667Composer version 1.9.1 2019-11-01 17:20:17
1668
1669Usage:
1670 command [options] [arguments]
1671
1672Options:
1673 -h, --help Display this help message
1674 -q, --quiet Do not output any message
1675 -V, --version Display this application version
1676 --ansi Force ANSI output
1677 --no-ansi Disable ANSI output
1678 -n, --no-interaction Do not ask any interactive question
1679 --profile Display timing and memory usage information
1680 --no-plugins Whether to disable plugins.
1681 -d, --working-dir=WORKING-DIR If specified, use the given directory as working directory.
1682 --no-cache Prevent use of the cache
1683 -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
1684
1685Available commands:
1686 about Shows the short information about Composer.
1687 archive Creates an archive of this composer package.
1688 browse Opens the package's repository URL or homepage in your browser.
1689 check-platform-reqs Check that platform requirements are satisfied.
1690 clear-cache Clears composer's internal package cache.
1691 clearcache Clears composer's internal package cache.
1692 config Sets config options.
1693 create-project Creates new project from a package into given directory.
1694 depends Shows which packages cause the given package to be installed.
1695 diagnose Diagnoses the system to identify common errors.
1696 dump-autoload Dumps the autoloader.
1697 dumpautoload Dumps the autoloader.
1698 exec Executes a vendored binary/script.
1699 global Allows running commands in the global composer dir ($COMPOSER_HOME).
1700 help Displays help for a command
1701 home Opens the package's repository URL or homepage in your browser.
1702 i Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.
1703 info Shows information about packages.
1704 init Creates a basic composer.json file in current directory.
1705 install Installs the project dependencies from the composer.lock file if present, or falls back on the composer.json.
1706 licenses Shows information about licenses of dependencies.
1707 list Lists commands
1708 outdated Shows a list of installed packages that have updates available, including their latest version.
1709 prohibits Shows which packages prevent the given package from being installed.
1710 remove Removes a package from the require or require-dev.
1711 require Adds required packages to your composer.json and installs them.
1712 run Runs the scripts defined in composer.json.
1713 run-script Runs the scripts defined in composer.json.
1714 search Searches for packages.
1715 self-update Updates composer.phar to the latest version.
1716 selfupdate Updates composer.phar to the latest version.
1717 show Shows information about packages.
1718 status Shows a list of locally modified packages, for packages installed from source.
1719 suggests Shows package suggestions.
1720 u Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
1721 update Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
1722 upgrade Upgrades your dependencies to the latest version according to composer.json, and updates the composer.lock file.
1723 validate Validates a composer.json and composer.lock.
1724 why Shows which packages cause the given package to be installed.
1725 why-not Shows which packages prevent the given package from being installed.
1726pi@raspberrypi:~ $ cd /var/www
1727pi@raspberrypi:/var/www $ composer create-project grumpydictator/firefly-iii --no-dev --prefer-dist firefly-iii 4.8.1.8
1728Installing grumpydictator/firefly-iii (4.8.1.8)
1729
1730
1731 [ErrorException]
1732 mkdir(): Permission denied
1733
1734
1735create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
1736
1737pi@raspberrypi:/var/www $ sudo chown -R www-data:www-data firefly-iii
1738chown: cannot access 'firefly-iii': No such file or directory
1739pi@raspberrypi:/var/www $ sudo composer create-project grumpydictator/firefly-iii --no-dev --prefer-dist firefly-iii 4.8.1.8
1740Do not run Composer as root/super user! See https://getcomposer.org/root for details
1741Installing grumpydictator/firefly-iii (4.8.1.8)
1742 - Installing grumpydictator/firefly-iii (4.8.1.8): Downloading (100%)
1743Created project in firefly-iii
1744> @php -r "file_exists('.env') || copy('.env.example', '.env');"
1745> @php -r "if (!(getenv('DYNO'))===false){file_exists('.env') || copy('.deploy/heroku/.env.heroku', '.env');copy('.deploy/heroku/.locales', '.locales');}"
1746Loading composer repositories with package information
1747Installing dependencies from lock file
1748Package operations: 86 installs, 0 updates, 0 removals
1749 - Installing symfony/polyfill-ctype (v1.12.0): Downloading (100%)
1750 - Installing phpoption/phpoption (1.5.0): Downloading (100%)
1751 - Installing vlucas/phpdotenv (v3.6.0): Downloading (100%)
1752 - Installing symfony/css-selector (v4.3.5): Downloading (100%)
1753 - Installing tijsverkoyen/css-to-inline-styles (2.2.2): Downloading (100%)
1754 - Installing symfony/polyfill-php72 (v1.12.0): Downloading (100%)
1755 - Installing symfony/polyfill-mbstring (v1.12.0): Downloading (100%)
1756 - Installing symfony/var-dumper (v4.3.5): Downloading (100%)
1757 - Installing symfony/routing (v4.3.5): Downloading (100%)
1758 - Installing symfony/process (v4.3.5): Downloading (100%)
1759 - Installing symfony/polyfill-php73 (v1.12.0): Downloading (100%)
1760 - Installing symfony/polyfill-intl-idn (v1.12.0): Downloading (100%)
1761 - Installing symfony/mime (v4.3.5): Downloading (100%)
1762 - Installing symfony/http-foundation (v4.3.5): Downloading (100%)
1763 - Installing symfony/event-dispatcher-contracts (v1.1.7): Downloading (100%)
1764 - Installing symfony/event-dispatcher (v4.3.5): Downloading (100%)
1765 - Installing psr/log (1.1.1): Downloading (100%)
1766 - Installing symfony/debug (v4.3.5): Downloading (100%)
1767 - Installing symfony/http-kernel (v4.3.5): Downloading (100%)
1768 - Installing symfony/finder (v4.3.5): Downloading (100%)
1769 - Installing psr/container (1.0.0): Downloading (100%)
1770 - Installing symfony/service-contracts (v1.1.7): Downloading (100%)
1771 - Installing symfony/console (v4.3.5): Downloading (100%)
1772 - Installing symfony/polyfill-iconv (v1.12.0): Downloading (100%)
1773 - Installing doctrine/lexer (1.1.0): Downloading (100%)
1774 - Installing egulias/email-validator (2.1.11): Downloading (100%)
1775 - Installing swiftmailer/swiftmailer (v6.2.1): Downloading (100%)
1776 - Installing paragonie/random_compat (v9.99.99): Downloading (100%)
1777 - Installing ramsey/uuid (3.8.0): Downloading (100%)
1778 - Installing psr/simple-cache (1.0.1): Downloading (100%)
1779 - Installing opis/closure (3.4.1): Downloading (100%)
1780 - Installing symfony/translation-contracts (v1.1.7): Downloading (100%)
1781 - Installing symfony/translation (v4.3.5): Downloading (100%)
1782 - Installing nesbot/carbon (2.25.3): Downloading (100%)
1783 - Installing monolog/monolog (1.25.1): Downloading (100%)
1784 - Installing league/flysystem (1.0.57): Downloading (100%)
1785 - Installing erusev/parsedown (1.7.3): Downloading (100%)
1786 - Installing dragonmantank/cron-expression (v2.3.0): Downloading (100%)
1787 - Installing doctrine/inflector (v1.3.0): Downloading (100%)
1788 - Installing laravel/framework (v5.8.35): Downloading (100%)
1789 - Installing tightenco/collect (v6.4.0): Downloading (100%)
1790 - Installing adldap2/adldap2 (v10.1.1): Downloading (100%)
1791 - Installing adldap2/adldap2-laravel (v6.0.8): Downloading (100%)
1792 - Installing ralouphie/getallheaders (3.0.3): Downloading (100%)
1793 - Installing psr/http-message (1.0.1): Downloading (100%)
1794 - Installing guzzlehttp/psr7 (1.6.1): Downloading (100%)
1795 - Installing guzzlehttp/promises (v1.3.1): Downloading (100%)
1796 - Installing guzzlehttp/guzzle (6.4.1): Downloading (100%)
1797 - Installing bunq/sdk_php (dev-master 9f4ce9a): Downloading (100%)
1798 - Installing danhunsaker/laravel-flysystem-service (v1.2.2): Downloading (100%)
1799 - Installing danhunsaker/laravel-flysystem-others (v1.3.4): Downloading (100%)
1800 - Installing facade/ignition-contracts (1.0.0): Downloading (100%)
1801 - Installing davejamesmiller/laravel-breadcrumbs (5.3.1): Downloading (100%)
1802 - Installing doctrine/event-manager (v1.0.0): Downloading (100%)
1803 - Installing doctrine/cache (v1.8.0): Downloading (100%)
1804 - Installing doctrine/dbal (v2.9.2): Downloading (100%)
1805 - Installing fideloper/proxy (4.2.1): Downloading (100%)
1806 - Installing psr/http-factory (1.0.1): Downloading (100%)
1807 - Installing zendframework/zend-diactoros (2.1.5): Downloading (100%)
1808 - Installing symfony/psr-http-message-bridge (v1.2.0): Downloading (100%)
1809 - Installing phpseclib/phpseclib (2.0.23): Downloading (100%)
1810 - Installing league/event (2.2.0): Downloading (100%)
1811 - Installing lcobucci/jwt (3.3.1): Downloading (100%)
1812 - Installing defuse/php-encryption (v2.2.1): Downloading (100%)
1813 - Installing league/oauth2-server (7.4.0): Downloading (100%)
1814 - Installing firebase/php-jwt (v5.0.0): Downloading (100%)
1815 - Installing laravel/passport (v7.5.1): Downloading (100%)
1816 - Installing laravelcollective/html (v5.8.1): Downloading (100%)
1817 - Installing league/commonmark (1.0.0): Downloading (100%)
1818 - Installing league/csv (9.4.1): Downloading (100%)
1819 - Installing league/flysystem-replicate-adapter (1.0.1): Downloading (100%)
1820 - Installing league/flysystem-sftp (1.0.22): Downloading (100%)
1821 - Installing league/fractal (0.18.0): Downloading (100%)
1822 - Installing litipk/flysystem-fallback-adapter (0.1.3): Downloading (100%)
1823 - Installing mschindler83/fints-hbci-php (1.0.4): Downloading (100%)
1824 - Installing paragonie/constant_time_encoding (v2.2.3): Downloading (100%)
1825 - Installing symfony/polyfill-util (v1.12.0): Downloading (100%)
1826 - Installing symfony/polyfill-php56 (v1.12.0): Downloading (100%)
1827 - Installing pragmarx/google2fa (v6.1.3): Downloading (100%)
1828 - Installing bacon/bacon-qr-code (1.0.3): Downloading (100%)
1829 - Installing pragmarx/google2fa-qrcode (v1.0.3): Downloading (100%)
1830 - Installing pragmarx/google2fa-laravel (v1.3.0): Downloading (100%)
1831 - Installing pragmarx/random (v0.2.2): Downloading (100%)
1832 - Installing pragmarx/recovery (v0.1.0): Downloading (100%)
1833 - Installing twig/twig (v1.42.3): Downloading (100%)
1834 - Installing rcrowe/twigbridge (v0.9.12): Downloading (100%)
1835Generating optimized autoload files
1836> Illuminate\Foundation\ComposerScripts::postAutoloadDump
1837> @php artisan firefly:instructions install
1838+------------------------------------------------------------------------------+
1839| |
1840| Thank you for installing Firefly III, v4.8.1.8! |
1841| This version of Firefly III requires PHP7.3. |
1842| |
1843+------------------------------------------------------------------------------+
1844> @php artisan key:generate
1845Application key set successfully.
1846pi@raspberrypi:/var/www $ sudo chown -R www-data:www-data firefly-iii
1847pi@raspberrypi:/var/www $ sudo chmod -R 775 firefly-iii/storage
1848pi@raspberrypi:/var/www $ ls
1849firefly-iii html
1850pi@raspberrypi:/var/www $ cd /var/www/firefly-iii
1851pi@raspberrypi:/var/www/firefly-iii $ sudo nano .env
1852Use "fg" to return to nano.
1853
1854[2]+ Stopped sudo nano .env
1855pi@raspberrypi:/var/www/firefly-iii $ sudo nano .env
1856pi@raspberrypi:/var/www/firefly-iii $ php artisan migrate:refresh --seed
1857
1858In StreamHandler.php line 108:
1859
1860 The stream or file "/var/www/firefly-iii/storage/logs/ff3-cli-2019-11-18.log" could not be opened: failed to ope
1861 n stream: Permission denied
1862
1863
1864pi@raspberrypi:/var/www/firefly-iii $ sudo chmod -R 775 firefly-iii/storage
1865chmod: cannot access 'firefly-iii/storage': No such file or directory
1866pi@raspberrypi:/var/www/firefly-iii $ cd /var/www
1867pi@raspberrypi:/var/www $ sudo chmod -R 775 firefly-iii/storage
1868pi@raspberrypi:/var/www $ cd /var/www/firefly-iii
1869pi@raspberrypi:/var/www/firefly-iii $ php artisan migrate:refresh --seed
1870
1871In StreamHandler.php line 108:
1872
1873 The stream or file "/var/www/firefly-iii/storage/logs/ff3-cli-2019-11-18.log" could not be opened: failed to ope
1874 n stream: Permission denied
1875
1876
1877pi@raspberrypi:/var/www/firefly-iii $ sudo -u www-data php artisan migrate:refresh --seed
1878
1879In Connection.php line 664:
1880
1881 could not find driver (SQL: select * from information_schema.tables where table_schema = public and table_name =
1882 migrations and table_type = 'BASE TABLE')
1883
1884
1885In PDOConnection.php line 31:
1886
1887 could not find driver
1888
1889
1890In PDOConnection.php line 27:
1891
1892 could not find driver
1893
1894
1895pi@raspberrypi:/var/www/firefly-iii $ sudo nano .env
1896pi@raspberrypi:/var/www/firefly-iii $ sudo -u www-data php artisan migrate:refresh --seed
1897
1898In Connection.php line 664:
1899
1900 SQLSTATE[HY000] [1698] Access denied for user 'firefly'@'localhost' (SQL: select * from information_schema.table
1901 s where table_schema = firefly and table_name = migrations and table_type = 'BASE TABLE')
1902
1903
1904In PDOConnection.php line 31:
1905
1906 SQLSTATE[HY000] [1698] Access denied for user 'firefly'@'localhost'
1907
1908
1909In PDOConnection.php line 27:
1910
1911 SQLSTATE[HY000] [1698] Access denied for user 'firefly'@'localhost'
1912
1913
1914pi@raspberrypi:/var/www/firefly-iii $ sudo nano .env
1915pi@raspberrypi:/var/www/firefly-iii $ sudo -u www-data php artisan migrate:refresh --seed
1916
1917In Connection.php line 664:
1918
1919 SQLSTATE[HY000] [1698] Access denied for user 'firefly'@'localhost' (SQL: select * from information_schema.table
1920 s where table_schema = firefly and table_name = migrations and table_type = 'BASE TABLE')
1921
1922
1923In PDOConnection.php line 31:
1924
1925 SQLSTATE[HY000] [1698] Access denied for user 'firefly'@'localhost'
1926
1927
1928In PDOConnection.php line 27:
1929
1930 SQLSTATE[HY000] [1698] Access denied for user 'firefly'@'localhost'
1931
1932
1933pi@raspberrypi:/var/www/firefly-iii $ sudo nano .env
1934pi@raspberrypi:/var/www/firefly-iii $ sudo nano .env
1935pi@raspberrypi:/var/www/firefly-iii $ sudo -u www-data php artisan migrate:refresh --seed
1936
1937In Connection.php line 664:
1938
1939 SQLSTATE[HY000] [1698] Access denied for user 'firefly'@'localhost' (SQL: select * from information_schema.table
1940 s where table_schema = firefly and table_name = migrations and table_type = 'BASE TABLE')
1941
1942
1943In PDOConnection.php line 31:
1944
1945 SQLSTATE[HY000] [1698] Access denied for user 'firefly'@'localhost'
1946
1947
1948In PDOConnection.php line 27:
1949
1950 SQLSTATE[HY000] [1698] Access denied for user 'firefly'@'localhost'
1951
1952
1953pi@raspberrypi:/var/www/firefly-iii $ sudo nano .env
1954pi@raspberrypi:/var/www/firefly-iii $ sudo -u www-data php artisan migrate:refresh --seed
1955
1956In Connection.php line 664:
1957
1958 SQLSTATE[HY000] [1698] Access denied for user 'pi'@'localhost' (SQL: select * from information_schema.tables whe
1959 re table_schema = firefly and table_name = migrations and table_type = 'BASE TABLE')
1960
1961
1962In PDOConnection.php line 31:
1963
1964 SQLSTATE[HY000] [1698] Access denied for user 'pi'@'localhost'
1965
1966
1967In PDOConnection.php line 27:
1968
1969 SQLSTATE[HY000] [1698] Access denied for user 'pi'@'localhost'
1970
1971
1972pi@raspberrypi:/var/www/firefly-iii $ sudo nano .env
1973pi@raspberrypi:/var/www/firefly-iii $ sudo -u www-data php artisan migrate:refresh --seed
1974
1975In Connection.php line 664:
1976
1977 SQLSTATE[HY000] [1698] Access denied for user 'pi'@'localhost' (SQL: select * from information_schema.tables whe
1978 re table_schema = firefly and table_name = migrations and table_type = 'BASE TABLE')
1979
1980
1981In PDOConnection.php line 31:
1982
1983 SQLSTATE[HY000] [1698] Access denied for user 'pi'@'localhost'
1984
1985
1986In PDOConnection.php line 27:
1987
1988 SQLSTATE[HY000] [1698] Access denied for user 'pi'@'localhost'
1989
1990
1991pi@raspberrypi:/var/www/firefly-iii $ sudo nano .env
1992pi@raspberrypi:/var/www/firefly-iii $ sudo nano .env
1993pi@raspberrypi:/var/www/firefly-iii $ sudo -u www-data php artisan migrate:refresh --seed
1994
1995In Connection.php line 664:
1996
1997 SQLSTATE[HY000] [1698] Access denied for user 'Firefly'@'localhost' (SQL: select * from information_schema.table
1998 s where table_schema = and table_name = migrations and table_type = 'BASE TABLE')
1999
2000
2001In PDOConnection.php line 31:
2002
2003 SQLSTATE[HY000] [1698] Access denied for user 'Firefly'@'localhost'
2004
2005
2006In PDOConnection.php line 27:
2007
2008 SQLSTATE[HY000] [1698] Access denied for user 'Firefly'@'localhost'
2009
2010
2011pi@raspberrypi:/var/www/firefly-iii $ sudo nano .env
2012pi@raspberrypi:/var/www/firefly-iii $ sudo nano .env
2013pi@raspberrypi:/var/www/firefly-iii $
2014
2015currently sitting here: