-
-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-Software | Influxdb, port conflict with DietPi-Dashboard #4966
Comments
Hmm I testes InfluxDB on a RPi4B 64bit and it's working fine without issues. Can you share following
Are there any files located in |
|
hmm looks like the database is taking quite long to start up. I guess the counter is still increasing if your run |
|
there is an already running instance on port |
yes, i have dashboard
…On Wed, Nov 17, 2021 at 2:29 PM Joulinar ***@***.***> wrote:
there is an already running instance on port 8088. Did you install DietPi
Dashboard?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4966 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI6VDRE2UKIPRRBNPYQXFDTUMON4JANCNFSM5IGIYPUA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
|
Ayayay, did we cause a port conflict? InfluxDB should listen on port |
yes there are 2 ports in use
|
No need to reboot the system or uninstall dashboard. This is sufficient for testing: systemctl stop dietpi-dashboard
systemctl restart influxdb If it works then, you can change the port which dietpi-dashboard uses in G_CONFIG_INJECT 'port[[:blank:]]' 'port = 8089' /opt/dietpi-dashboard/config.toml
systemctl restart dietpi-dashboard |
it is the default setting for the RPC service
|
uninstalled dashboard - InfluxDB got running. All good.
All the ports where standard.
…On Wed, Nov 17, 2021 at 2:32 PM MichaIng ***@***.***> wrote:
Ayayay, did we cause a port conflict? InfluxDB should listen on port 8086
by default for database queries, but probably there is another listener
active for other tasks which we didn't think about.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4966 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI6VDRFU54GXUHQEV7K53LDUMOOHVANCNFSM5IGIYPUA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Since We need to add the RPC port info to the InfluxDB docs as well. |
@blablazzz |
@MichaIng |
Yes, though it also needs to be changed in |
Note that we don't have to clutter the 80xx port numbers. I just chose 8080 originally as a placeholder. Something like 3030 or so would work just as well. |
True. Though ports in all ranges are in use, so not sure whether using something below |
@ravenclaw900 |
I'd change it in the dashboard itself, just to keep it consistent even without config file, though that breaks anything written about the dashboard beforehand. Nothing wrong with |
@Joulinar |
Probably that would make sense during update to avoid people running on that conflicting port. As well our docs will not fit once we changed. |
Fix conflict with InfluxDB (MichaIng/DietPi#4966)
The TCP port change is now offered during next DietPi update: 91e792d |
Creating a bug report/issue
Required Information
Linux DietPi 5.10.63-rockchip64 #21.08.2 SMP PREEMPT Wed Sep 8 10:57:23 UTC 2021 aarch64 GNU/Linux
Steps to reproduce
Expected behaviour
Should be active
Actual behaviour
But its written - activating
after running 'systemctl restart influxdb' got error:
Job for influxdb.service failed because a timeout was exceeded.
See "systemctl status influxdb.service" and "journalctl -xe" for details.
and it gives:
Nov 17 08:09:22 DietPi influxd-systemd-start.sh[189435]: InfluxDB API unavailable after 74 attempts...
Nov 17 08:09:23 DietPi influxd-systemd-start.sh[189435]: InfluxDB API unavailable after 75 attempts...
Nov 17 08:09:24 DietPi influxd-systemd-start.sh[189435]: InfluxDB API unavailable after 76 attempts...
The text was updated successfully, but these errors were encountered: