TODO.org: Update TODOs

This commit is contained in:
Collin J. Doering 2023-04-02 08:56:25 -04:00
parent d86955b433
commit 3ad37ee42f
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
1 changed files with 92 additions and 60 deletions

152
TODO.org
View File

@ -1035,9 +1035,59 @@ CLOSED: [2023-03-28 Tue 14:45] DEADLINE: <2023-06-15 Thu>
- State "CANCELED" from "TODO" [2023-03-28 Tue 14:45] \\
No longer relevant as I'm moving away from nextcloud.
See: https://ownyourbits.com/2017/04/18/different-ways-to-access-your-nextcloud-files/
*** CANCELED [#A] Update nextcloud :home_network:
CLOSED: [2023-04-01 Sat 22:25] DEADLINE: <2023-04-02 Sun>
:PROPERTIES:
:ARCHIVE_TIME: 2023-04-01 Sat 22:26
:END:
- State "CANCELED" from "PAUSE" [2023-04-01 Sat 22:25] \\
Have made the decision to not go back to nextcloud, however I will re-use the cloud0 vm (it
has been updated as part of another TODO)
- State "PAUSE" from "DOING" [2023-03-12 Sun 22:15] \\
Pausing this as the update is now borked and I'm using it as an opportunity to replace
nextcloud
- Note taken on [2023-03-10 Fri 09:41] \\
I attempted to update right to the latest version out of laziness. I should have done it
version by version, because the update paused for some time, and then failed saying multiple
major versions upgrades are not supported. Fair, but the update also wrote changes (not sure
exactly where, but the ~/var/www/html~ volume was adjusted, and perhaps other stuff too).
Anyways, the old nextcloud container no longer boots, and the system is officially bored.
Though this was unexpected, in a way it could be viewed as a blessing in disguise. Namely,
now I can replace nextcloud (which I have had more and more performance issues with as it is
more heavily used).
- State "DOING" from "NEXT" [2023-03-09 Thu 21:16]
- Note taken on [2023-01-05 Thu 12:36] \\
I may just replace nextcloud with [[id:a4009c1c-a32e-4b73-b0b4-af41d95747d0][radicle]] + some file storage web/mobile solution (eg. [[id:8f0253f9-968f-4332-996a-31f42f5c14d3][SyncThing]])
- Note taken on [2022-09-01 Thu 16:49] \\
Nextcloud reports:
#+begin_quote
Nextcloud 22.2.5
The version you are running is not maintained anymore. Please make sure to update to a supported version as soon as possible.
#+end_quote
Thus, its important to update ASAP
- State "NEXT" from "TODO" [2022-09-01 Thu 16:49]
*** DONE Resolve deprecation's in [[file:.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm][.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm]]
CLOSED: [2023-04-01 Sat 23:29] DEADLINE: <2023-04-04 Tue>
:PROPERTIES:
:ARCHIVE_TIME: 2023-04-02 Sun 08:14
:END:
- Note taken on [2023-04-01 Sat 23:29] \\
Done as part of another TODO
- State "DONE" from "TODO" [2023-04-01 Sat 23:29]
#+begin_src text
.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm:82:11: warning: 'accountsservice-service' is deprecated, use 'accountsservice-service-type' instead
.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm:84:11: warning: 'elogind-service' is deprecated, use 'elogind-service-type' instead
.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm:85:11: warning: 'dbus-service' is deprecated, use 'dbus-root-service-type' instead
#+end_src
** Backlog :backlog:
DEADLINE: <1990-05-08 Tue>
*** TODO Improve metrics collection [0/4] :metrics:
**** TODO Make prometheus setup production ready and used everywhere [0%] :metrics:
**** TODO Setup [[https://github.com/msroest/sabnzbd_exporter][sabnzbd_exporter]] (Prometheus exporter for sabnzbd) :home_network:metrics:
- Note taken on [2021-07-29 Thu 11:49] \\
May also be able to use [[https://grafana.com/grafana/dashboards/9567][this grafana community dashboard for sabnzbd]]
@ -1086,7 +1136,7 @@ DEADLINE: <1990-05-08 Tue>
*** TODO Setup [[https://github.com/home-assistant/core][home-assistant]] accessible on ~<SOMETHING>.home.rekahsoft.ca~
DEADLINE: <2023-05-01 Mon>
*** TODO [#C] Investigate usefulness of [[https://github.com/photoprism/photoprism][photoprism]] to manage photos similar to google photos :home_network:
DEADLINE: <2023-03-26 Sun>
DEADLINE: <2023-04-08 Sat>
*** TODO Investigate and setup [[id:cca06776-de84-4146-ba61-abe8697b178d][Readarr]]
*** TODO Setup [[https://octoprint.org/][octoprint]] accessible on ~3d.home.rekahsoft.ca~ :home_network:
@ -1101,8 +1151,9 @@ This follows maintenance work completed as part of [[*Rotate ssh-host keys][Rota
intervention.
- [ ] Remove data (or use ~pg_upgrade~ or reset postgres if the data upgrade didn't work out)
** TODO Run/configure docker/docker-compose from within guix configurations
** NEXT Run/configure docker/docker-compose from within guix configurations
- State "NEXT" from "TODO" [2023-04-02 Sun 08:14]
Better docker support within guix configuration is required to make this issue go away. Once
completed, the ~unguix~ directory can be removed.
@ -1121,8 +1172,13 @@ Checked indicates VMs that use docker/docker-compose (and either depend on files
- [X] [[file:.guix/rekahsoft/guix-config/vms/searx0-home-rekahsoft-ca.scm]]
- [X] [[file:.guix/rekahsoft/guix-config/vms/vault0-home-rekahsoft-ca.scm]]
** TODO [#A] Setup btrfs backups (using [[id:86cd693b-b56e-40a4-a56d-7b912c62e6f2][Btrbk]] + cron) [0%]
DEADLINE: <2023-04-04 Tue>
- [ ] Personal "Work" laptop
- [ ] Personal laptop
** DOING Add missing vm's to Prometheus configuration [75%] :home_network:
DEADLINE: <2023-04-01 Sat>
DEADLINE: <2023-04-08 Sat>
- State "DOING" from "TODO" [2022-07-01 Fri 13:09]
- [X] vault0.home.rekahsoft.ca
@ -1134,17 +1190,8 @@ DEADLINE: <2023-04-01 Sat>
- [ ] dash0.home.rekahsoft.ca
- [X] pbs.home.rekahsoft.ca
** DOING [#A] Make prometheus/loki setup production ready and used everywhere :home_network:metrics:
DEADLINE: <2023-04-01 Sat>
- State "DOING" from "TODO" [2023-03-01 Wed 11:37]
- Note taken on [2021-07-29 Thu 11:51] \\
See:
- https://github.com/grafana/loki/blob/v1.5.0/docs/clients/promtail/scraping.md#syslog-receiver
- https://www.gnu.org/software/inetutils/manual/html_node/syslogd-invocation.html#syslogd-invocation
- https://github.com/prometheus/snmp_exporter
- https://www.robustperception.io/snmp-monitoring-with-prometheus
** NEXT [#A] Investigate replacing nextcloud with another dav + file storage solution
DEADLINE: <2023-04-01 Sat>
DEADLINE: <2023-04-08 Sat>
- State "NEXT" from "TODO" [2023-03-10 Fri 09:44]
I'm currently thinking [[id:a4009c1c-a32e-4b73-b0b4-af41d95747d0][radicle]] + [[id:8f0253f9-968f-4332-996a-31f42f5c14d3][SyncThing]], but more research is required.
@ -1153,52 +1200,10 @@ The primary goal of this change would to avoid the maintenance and challenges th
with running nextcloud. As well as some of the performance challenges I have seen when
handling many files (eg. media not loading or crashing the nextcloud android app).
** TODO Allow for using ~guix home~ for minimal server dotfiles (eg so emacs-tramp works)
DEADLINE: <2023-04-01 Sat>
** PAUSE [#A] Update nextcloud :home_network:
DEADLINE: <2023-04-02 Sun>
- State "PAUSE" from "DOING" [2023-03-12 Sun 22:15] \\
Pausing this as the update is now borked and I'm using it as an opportunity to replace
nextcloud
- Note taken on [2023-03-10 Fri 09:41] \\
I attempted to update right to the latest version out of laziness. I should have done it
version by version, because the update paused for some time, and then failed saying multiple
major versions upgrades are not supported. Fair, but the update also wrote changes (not sure
exactly where, but the ~/var/www/html~ volume was adjusted, and perhaps other stuff too).
Anyways, the old nextcloud container no longer boots, and the system is officially bored.
Though this was unexpected, in a way it could be viewed as a blessing in disguise. Namely,
now I can replace nextcloud (which I have had more and more performance issues with as it is
more heavily used).
- State "DOING" from "NEXT" [2023-03-09 Thu 21:16]
- Note taken on [2023-01-05 Thu 12:36] \\
I may just replace nextcloud with [[id:a4009c1c-a32e-4b73-b0b4-af41d95747d0][radicle]] + some file storage web/mobile solution (eg. [[id:8f0253f9-968f-4332-996a-31f42f5c14d3][SyncThing]])
- Note taken on [2022-09-01 Thu 16:49] \\
Nextcloud reports:
#+begin_quote
Nextcloud 22.2.5
The version you are running is not maintained anymore. Please make sure to update to a supported version as soon as possible.
#+end_quote
Thus, its important to update ASAP
- State "NEXT" from "TODO" [2022-09-01 Thu 16:49]
** TODO Resolve deprecation's in [[file:.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm][.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm]]
DEADLINE: <2023-04-04 Tue>
#+begin_src text
.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm:82:11: warning: 'accountsservice-service' is deprecated, use 'accountsservice-service-type' instead
.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm:84:11: warning: 'elogind-service' is deprecated, use 'elogind-service-type' instead
.guix/rekahsoft/guix-config/proxmox-vm-lvm-minimal.scm:85:11: warning: 'dbus-service' is deprecated, use 'dbus-root-service-type' instead
#+end_src
** TODO [#A] Setup btrfs backups (using [[id:86cd693b-b56e-40a4-a56d-7b912c62e6f2][Btrbk]] + cron) [0%]
DEADLINE: <2023-04-04 Tue>
- [ ] Personal "Work" laptop
- [ ] Personal laptop
** TODO Enable using ~guix home~ to setup minimal server dotfiles (eg so emacs-tramp works)
DEADLINE: <2023-04-08 Sat>
** DOING Perform manual update of all systems
DEADLINE: <2023-03-31 Fri>
DEADLINE: <2023-04-08 Sat>
- State "DOING" from "TODO" [2023-03-28 Tue 20:07]
- [X] Manual
@ -1233,9 +1238,24 @@ DEADLINE: <2023-03-31 Fri>
- [X] [[file:./.guix/rekahsoft/guix-config/vms/searx0-home-rekahsoft-ca.scm]]
- [X] [[file:./.guix/rekahsoft/guix-config/vms/vault0-home-rekahsoft-ca.scm]]
** TODO Look into issues with syslog forwarding not working until service is manually restarted
** DOING [#A] Make loki setup production ready and used everywhere [0%] :metrics:
DEADLINE: <2023-04-15 Sat>
- State "DOING" from "TODO" [2023-03-01 Wed 11:37]
- Note taken on [2021-07-29 Thu 11:51] \\
See:
- https://github.com/grafana/loki/blob/v1.5.0/docs/clients/promtail/scraping.md#syslog-receiver
- https://www.gnu.org/software/inetutils/manual/html_node/syslogd-invocation.html#syslogd-invocation
- https://github.com/prometheus/snmp_exporter
- https://www.robustperception.io/snmp-monitoring-with-prometheus
*** NEXT Setup loki permanent log storage :logging:
- State "NEXT" from "TODO" [2023-04-02 Sun 08:50]
I was having issues getting this to work until I came across the following [[https://github.com/grafana/loki/pull/1834][loki PR]].
*** NEXT Look into issues with syslog forwarding not working until service is manually restarted :logging:
DEADLINE: <2023-04-04 Tue>
- State "NEXT" from "TODO" [2023-04-02 Sun 08:52]
I noticed this after upgrading all guix vms to enable syslog forwarding. It seems that I need
to manually restart the syslogd service after reboots. More investigations required.
@ -1252,9 +1272,10 @@ recent upgrades, or is an issue upon every boot. It appears to happen every boot
My first guess is that the syslogd service needs to depend on network (but imho that doesn't
make that much sense, as it should still eventually work once the network is online).
** TODO Setup docker syslog driver on vm's that use docker
*** NEXT Setup docker syslog driver on vm's that use docker :logging:
DEADLINE: <2023-04-06 Thu>
- State "NEXT" from "TODO" [2023-04-02 Sun 08:52]
See [[https://docs.docker.com/config/containers/logging/syslog/][docker syslog driver documentation]] for more details on how to configure it. Note however
that in guix, the guix docker-configuration (documentation in [[info:guix#Miscellaneous Services][Miscellaneous Services]] section)
does not allow this to be configured. However, as documented in [[info:guix#Service Reference][Service Reference]] section,
@ -1263,3 +1284,14 @@ configuration file in place.
Alternatively, the docker-configuration could be updated to support setting logging
configuration and other options.
*** TODO Setup loki (and associated services) in a High-Availability configuration
- [ ] Storage considerations
I originally was thinking of just storing logs on disk, but after further consideration and
consultation of the [[https://grafana.com/docs/loki/latest/operations/storage/filesystem][loki documentation]], decided it would be best to use the s3 backend with
my local ceph/rados powered s3. See the [[https://grafana.com/docs/loki/latest/operations/storage/filesystem][s3-exapnded-config.yaml]] they provide in their
documentation as a starting point.
- [ ]