Commit Graph

47 Commits

Author SHA1 Message Date
Buster Neece c39c366f17
Revert "Decommission Redis."
This reverts commit 0ba1556a95.
2022-12-06 08:45:43 -06:00
Buster Neece 0ba1556a95
Decommission Redis. 2022-11-10 21:01:32 -06:00
Aurélien Maury 6b28f209b0
Enhancement/ansible (#4977) 2022-01-12 18:38:44 -06:00
Buster "Silver Eagle" Neece a6ec36b21c
Analytics Overhaul and InfluxDB Removal (#3243)
- Make the Analytics table in the database the primary one for handling statistics for all stations, removing the InfluxDB dependency entirely
 - Expand the Analytics table to also track unique listeners per hour and day
 - Properly clean up the Listeners table according to each installation's history retention settings
 - Implement a cute new animated "waiting for services" startup message that avoids previous wait messages that looked more like errors
2020-10-07 18:50:30 -05:00
Buster "Silver Eagle" Neece 8dc01c7d6b
Update to InfluxDB latest on all Ansible installs. 2020-07-05 17:36:25 -05:00
Buster "Silver Eagle" Neece 835968d51f
(Ansible) Use Ubuntu package for 20.04 Influxdb. 2020-04-25 02:28:23 -05:00
Buster "Silver Eagle" Neece 93c9f67973 Use newer Ansible notation for packages. 2018-10-28 05:56:32 -05:00
Buster "Silver Eagle" Neece 5739e64155 Ansible cleanup 2018-05-28 23:06:32 -05:00
Buster "Silver Eagle" Neece e7a7db569c Update Traditional install to use the unified installer console command. 2018-05-28 22:39:19 -05:00
Buster "Silver Eagle" Neece eb76f0fa27 Move InfluxDB setup to PHP console command. 2018-03-18 23:20:29 -05:00
Buster Silver b869bdd30a Cleanup the ansible playbooks. [skip ci] 2017-06-15 19:44:39 -05:00
Buster Silver f5a5854a13 #159 -- More shuffling around with InfluxDB. [skip ci] 2017-06-13 07:37:39 -05:00
Buster Silver 38e3eb0625 #159 -- Fix minor typo. [skip ci] 2017-06-13 07:24:32 -05:00
Buster Silver 53a3db3c1c #159 -- Avoid too frequent start requests on Influx. [skip ci] 2017-06-13 07:12:36 -05:00
Buster Silver 4c7d393ca2 Fix InfluxDB INI quoting issue. [skip ci] 2017-06-13 06:09:34 -05:00
Buster Silver 8015c1f90c #159 -- InfluxDB doesn't enable HTTP by default on ARMHF. [skip ci] 2017-06-13 05:19:00 -05:00
Buster Silver 957d670ee6 #159 -- Fix InfluxDB spin-up time issue. 2017-06-12 17:25:27 -05:00
Buster Silver 605c4643ff #159 -- Ensure Multiverse is enabled and remove "restart influxdb" handler. 2017-06-12 07:38:12 -05:00
Buster Silver 8966346841 More debugging of the Influx issue. [skip ci] 2017-06-07 10:11:35 -05:00
Buster Silver 09b044b777 Make permission update broader. 2017-06-07 10:06:01 -05:00
Buster Silver eb84754b16 Set permissions on influxdb data folder because supervisord ran as wrong user. 2017-06-07 10:04:08 -05:00
Buster Silver dff432e774 Revert Supervisor-driven service management for core services. 2017-06-07 09:49:39 -05:00
Buster Silver 5c0d5b64ff Unregister services for both Upstart and Systemd. 2017-05-30 07:34:51 -05:00
Buster Silver daa7399fa0 Immediately disable influxdb service upon installation. 2017-05-30 07:12:24 -05:00
Buster Silver 46db6a76d2 Update the service names for supervisord. 2017-05-30 04:16:45 -05:00
Buster Silver ca25ad4c9b Move all AzuraCast tasks to run under supervisord in preparation for dockerizing. 2017-05-30 04:00:41 -05:00
Buster Silver 82981d0d2f #61 -- Extend the delay on InfluxDB to handle potential issues with spin-up time. 2016-10-29 14:17:24 -05:00
Buster Silver 62b575467c #59 -- Fix typo. 2016-10-16 03:44:41 -05:00
Buster Silver 65c364e9a8 Closes #59 -- Implement a 10-second pause between the "restart InfluxDB" task and influxdb provisioning to allow the service time to spin up. 2016-10-15 14:13:12 -05:00
Buster Silver f74a592dc1 #57 -- Ensure Python influxdb library is at the newest version before setting up queries. 2016-10-09 16:00:15 -05:00
Buster Silver ebff5d3a15 Replace raw InfluxDB query execution with Ansible InfluxDB tasks to ensure idempotence and clean up output. 2016-10-09 02:19:40 -05:00
Buster Silver 8f7560f0fb Ensure influxdb is latest version, not just present, for back-compatibility. 2016-09-23 21:25:28 -05:00
Buster Silver 60c349a53f Add back in missing variable to Influx ansible deploy. 2016-09-15 01:23:28 -05:00
Buster Silver 5eaeac7060 Switch to using Ubuntu apt repository for InfluxDB instead of direct deb file (to allow for armhf). 2016-09-15 01:15:50 -05:00
Buster Silver baf3d5168b Install the proper architecture build of InfluxDB. 2016-09-15 01:03:25 -05:00
Buster Silver 17b6b80b9f #30 - Try a different strategy to lock down InfluxDB, as the INI's spaces throw off the Ansible ini handler. 2016-09-13 18:46:28 -05:00
Buster Silver 172813c429 Revert "#30 - Update Ansible influxdb task to lock down connections to InfluxDB on production environments to localhost."
This reverts commit 916a683416.
2016-09-13 18:36:08 -05:00
Buster Silver 916a683416 #30 - Update Ansible influxdb task to lock down connections to InfluxDB on production environments to localhost. 2016-09-13 18:24:22 -05:00
Buster Silver 1ce1611273 Fix parsing error with influxdb YML 2016-09-12 19:42:33 -05:00
Buster Silver 3b2c3ca07e Extend the duration of all Influx statistics, as newer versions are far more performant with large data sets. Resample data more frequently as well. Create "influx_update" commands and execute those in case of existing Influx database. 2016-09-12 19:41:32 -05:00
Buster Silver cf675a99cb Create a new "python" task to ensure Python itself is updated to handle SNI in SSL validation on 14.04. 2016-09-12 01:30:18 -05:00
Buster Silver dd9fc4ded6 Set validate_certs=no on InfluxDB download to avoid issues with 14.04's default packaged Python (2.7) 2016-09-12 01:16:02 -05:00
Buster Silver cc72c2aa18 Use HTTP URL for Influx repo. 2016-09-12 01:09:53 -05:00
Buster Silver 93c83029d9 Closes #28 - Upgrade to InfluxDB 1.0 release version, begin using InfluxDB's own PHP library client.
WARNING: This update will result in loss of previous statistics due to a significant jump in InfluxDB's backend storage from 0.8 to 1.0.
2016-09-12 01:06:17 -05:00
Buster Silver 222869e1c3 Ignore 'database already exists' from Influx 2016-09-08 15:37:19 -05:00
Buster Silver efbba6b3a0 Refine and test Ansible via Vagrant to ensure it has full parity with the previous deploy scripts. 2016-09-08 02:41:34 -05:00
Buster Silver a138ea28e7 Initial commit of Ansible build scripts (incomplete). 2016-09-07 15:57:21 -05:00