Continue? y/[N] y
Checking /home/edison/johnopenaps: Initialized empty Git repository in /home/edison/johnopenaps/.git/
[master (root-commit) b3de1ec] initializing openaps 0.1.6-dev
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 openaps.ini
/home/edison/johnopenaps initialized
/home/edison/src/oref0/ already exists; pulling latest
Already up-to-date.
Checking oref0 installation
ns
device is the place to start.
pi@raspberrypi:~/APS401 $ crontab -e
/tmp/crontab.sEpt2Q/crontab: No space left on device
sudo raspi-config
if your image is exoanded to whole sd card
I would actually put my money on it being related to the Azure upload rather than script to be honest. Since last weekend I hit the quota basically everyday.
I have not looked into Heroku - am I right in understanding that I can replace Azure with Heroku and then get a free tier?
OK fair - that is enough - will make the change tomorrow
I just got the last Nightscout Dev branch, is that recommended still?
I just finished setup, took 10 minutes, very easy.
Will take another 30 to test and configure likely
BRIDGE_SERVER EU
setting. Works the same as in azure settings but is missing from the steps and I had completely forgotten about it so it took me a little while to figure it out.
git cherry-pick a7262458b2f7721325283fbeb230febc5e57af39
ns
device to be less data intensive.
curl
s for upload, and not using the ns
device at all except for BG download
pi@raspberrypi:~/APS401 $ crontab -e
/tmp/crontab.Ys7Wg8: No space left on device
Creation of temporary crontab file failed - aborting
sudo raspi-config
and expanded the file system?
df -h
and cd / && sudo du -xh -d 3 | egrep "[0-9]G|[0-9][0-9][0-9]M"
to see what's using up all the space on the disk that's full
368M ./var/cache/apt
377M ./var/cache
101M ./var/lib
8.0K ./var/tmp/systemd-private-f#####################e0ef-rtkit-daemon.service-iujA9G
8.0K ./var/tmp/systemd-private-###################303-rtkit-daemon.service-aJ7GFI
104M ./var/log
685M ./var
102M ./opt/sonic-pi
651M ./opt/Wolfram/WolframEngine
651M ./opt/Wolfram
797M ./opt
101M ./lib/modules
148M ./lib
2.4G ./home/pi/APS401
173M ./home/pi/src
2.7G ./home/pi
2.7G ./home
456M ./usr/lib/arm-linux-gnueabihf
206M ./usr/lib/libreoffice
166M ./usr/lib/jvm
1.3G ./usr/lib
207M ./usr/share/locale
104M ./usr/share/doc
871M ./usr/share
115M ./usr/include/boost
145M ./usr/include
2.4G ./usr
6.7G .
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n
will show your installed packages in size order, largest package last (http://unix.stackexchange.com/a/107039)
sudo apt-get purge <packagename>
on stuff you don't need
sudo du
part there
rm -rf .git
and then oref0-reset-git
to re-create an empty one
.git
not git
ls
: you have to do ls -la
OK, do you have to pass a qualifier to make it show maybe?
gat it
got it
so after sudo du
....lot of lines withone jumping out...
2359388 ./objects/pack
pi@raspberrypi:~/APS401 $ oref0-reset-git
Attempting to fix git corruption. Please wait 15s.
/usr/local/bin/oref0-fix-git-corruption: line 7: cannot create temp file for here-document: No space left on device
Git repo does not appear to be corrupt.
/usr/local/bin/oref0-reset-git: line 52: 4930 Terminated ( sleep 15; killall oref0-fix-git-corruption )
rm -rf .git
first
sudo apt-get purge libreoffice-common
Processing triggers for gnome-icon-theme (3.12.0-1) ...
sudo apt-get purge wolfram-engine
will be fine as well?
pi@raspberrypi:~/APS401 $ cd / && sudo du -xh -d 3 | egrep "[0-9]G|[0-9][0-9][0-9]M"
368M ./var/cache/apt
377M ./var/cache
8.0K ./var/tmp/systemd-private--rtkit-daemon.service-iujA9G
8.0K ./var/tmp/systemd-private--rtkit-daemon.service-aJ7GFI
104M ./var/log
682M ./var
101M ./lib/modules
148M ./lib
173M ./home/pi/src
313M ./home/pi
313M ./home
456M ./usr/lib/arm-linux-gnueabihf
166M ./usr/lib/jvm
1.1G ./usr/lib
207M ./usr/share/locale
104M ./usr/share/doc
834M ./usr/share
115M ./usr/include/boost
145M ./usr/include
2.2G ./usr
3.4G .
df -h
will show the free
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n
if you want more input on things to remove
10000 greenfoot
10299 libqtgui4
10440 systemd
10715 gnome-icon-theme
10720 fonts-freefont-ttf
10774 perl
10970 libstdc++-4.9-dev
11332 libruby1.9.1
11680 omxplayer
11853 poppler-data
12000 libgl1-mesa-dri
12033 raspberrypi-bootloader
12810 ri1.9.1
12871 libruby2.1
12955 coreutils
13218 desktop-base
13344 cpp-4.9
13431 pypy-lib
13515 libavcodec56
14087 adwaita-icon-theme
14352 gcc-4.9
15108 perl-modules
16136 iso-codes
16266 locales
17009 libc6-dbg
17942 samba-libs
18542 git
18681 binutils
19400 gputils-common
19671 libflite1
20709 libgtk2.0-common
21367 g++-4.9
22684 libgtk-3-common
24828 libpython2.7-dev
26095 libwebkitgtk-3.0-0
26531 libicu52
27472 libqtwebkit4
32846 libllvm3.7
32888 pypy
33041 libraspberrypi-doc
33224 freepats
34217 libicu-dev
44964 nuscratch
45673 scratch
47401 libpython3.4-dev
91230 libboost1.55-dev
104882 raspberrypi-kernel
168481 oracle-java8-jdk