Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Influxdb stopped working without any changes.

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Influxdb stopped working without any changes.

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Mathias2803 last edited by

      The system was running normally for a longer time, but suddenly the system stopped working.

      Can anybody help me to get the system running again?

      iOBroker:
      Plattform: linux
      RAM: 3.7 GB
      Node.js: v18.20.4(18.20.5 / 20.18.1)
      NPM: 10.7.0(10.8.2)

      influxdb v4.0.2

      If you need any additional information, feel free to explain me what I should do to provide you.

      Thanks a lot in advance.

      2025-01-07 10:46:02.787  - debug: influxdb.0 (3296) Redis Objects: Use Redis connection: 127.0.0.1:9001
      2025-01-07 10:46:02.890  - debug: influxdb.0 (3296) Objects client ready ... initialize now
      2025-01-07 10:46:02.894  - debug: influxdb.0 (3296) Objects create System PubSub Client
      2025-01-07 10:46:02.896  - debug: influxdb.0 (3296) Objects create User PubSub Client
      2025-01-07 10:46:03.085  - debug: influxdb.0 (3296) Objects client initialize lua scripts
      2025-01-07 10:46:03.095  - debug: influxdb.0 (3296) Objects connected to redis: 127.0.0.1:9001
      2025-01-07 10:46:03.200  - debug: influxdb.0 (3296) Redis States: Use Redis connection: 127.0.0.1:9000
      2025-01-07 10:46:03.262  - debug: influxdb.0 (3296) States create System PubSub Client
      2025-01-07 10:46:03.264  - debug: influxdb.0 (3296) States create User PubSub Client
      2025-01-07 10:46:03.397  - debug: influxdb.0 (3296) States connected to redis: 127.0.0.1:9000
      2025-01-07 10:46:03.546  - debug: influxdb.0 (3296) Plugin sentry Initialize Plugin (enabled=true)
      2025-01-07 10:46:04.467  - info: influxdb.0 (3296) starting. Version 4.0.2 in /opt/iobroker/node_modules/iobroker.influxdb, node: v18.20.4, js-controller: 6.0.9
      2025-01-07 10:46:04.509  - info: influxdb.0 (3296) No stored data from last exit found
      2025-01-07 10:46:04.514  - info: influxdb.0 (3296) Connecting http://localhost:8086/ ...
      2025-01-07 10:46:04.515  - info: influxdb.0 (3296) Influx DB Version used: 1.x
      2025-01-07 10:46:04.516  - debug: influxdb.0 (3296) Connect InfluxDB1: http://localhost:8086 [iobroker]
      2025-01-07 10:46:04.618  - error: influxdb.0 (3296) Error: connect ECONNREFUSED 127.0.0.1:8086
      2025-01-07 10:46:04.741  - debug: influxdb.0 (3296) Found Alias: 0_userdata.0.PoolPumpe.Pool-Temp-Sensor.Wasser-Sensor.Temp --> Pool-Temp
      2025-01-07 10:46:04.742  - info: influxdb.0 (3296) enabled logging of Pool-Temp, Alias=true, 1 points now activated
      2025-01-07 10:46:04.744  - info: influxdb.0 (3296) enabled logging of 0_userdata.0.PoolPumpe.Programm.AutomaticTriggerPointers.UV-Calculation, Alias=false, 2 points now activated
      2025-01-07 10:46:04.745  - debug: influxdb.0 (3296) Found Alias: 0_userdata.0.SolarEdge_Feedback.Netzeinspeisung --> Solar-Netz-Einspeisung
      2025-01-07 10:46:04.746  - info: influxdb.0 (3296) enabled logging of Solar-Netz-Einspeisung, Alias=true, 3 points now activated
      2025-01-07 10:46:04.747  - debug: influxdb.0 (3296) Found Alias: 0_userdata.0.SolarEdge_Feedback.Production --> Solar-Produktion
      2025-01-07 10:46:04.748  - info: influxdb.0 (3296) enabled logging of Solar-Produktion, Alias=true, 4 points now activated
      2025-01-07 10:46:04.749  - debug: influxdb.0 (3296) Found Alias: 0_userdata.0.SolarEdge_Feedback.Verbrauch --> Solar-Haus-Verbrauch
      2025-01-07 10:46:04.750  - info: influxdb.0 (3296) enabled logging of Solar-Haus-Verbrauch, Alias=true, 5 points now activated
      2025-01-07 10:46:04.751  - debug: influxdb.0 (3296) Found Alias: 0_userdata.0.SolarEdge_Feedback.Überschuss --> Solar-Überschuss
      2025-01-07 10:46:04.752  - info: influxdb.0 (3296) enabled logging of Solar-Überschuss, Alias=true, 6 points now activated
      2025-01-07 10:46:04.753  - info: influxdb.0 (3296) enabled logging of daswetter.0.NextHours.Location_1.Day_1.current.clouds_value, Alias=false, 7 points now activated
      2025-01-07 10:46:04.754  - info: influxdb.0 (3296) enabled logging of daswetter.0.NextHours2.Location_1.Day_1.current.clouds, Alias=false, 8 points now activated
      2025-01-07 10:46:04.755  - info: influxdb.0 (3296) enabled logging of deconz.0.Sensors.10.temperature, Alias=false, 9 points now activated
      2025-01-07 10:46:04.757  - info: influxdb.0 (3296) enabled logging of deconz.0.Sensors.13.humidity, Alias=false, 10 points now activated
      2025-01-07 10:46:04.757  - info: influxdb.0 (3296) enabled logging of deconz.0.Sensors.18.temperature, Alias=false, 11 points now activated
      2025-01-07 10:46:04.758  - info: influxdb.0 (3296) enabled logging of deconz.0.Sensors.21.temperature, Alias=false, 12 points now activated
      2025-01-07 10:46:04.759  - info: influxdb.0 (3296) enabled logging of deconz.0.Sensors.24.temperature, Alias=false, 13 points now activated
      2025-01-07 10:46:04.760  - info: influxdb.0 (3296) enabled logging of deconz.0.Sensors.45.power, Alias=false, 14 points now activated
      2025-01-07 10:46:04.762  - info: influxdb.0 (3296) enabled logging of modbus.0.holdingRegisters.40083_I_AC_Power, Alias=false, 15 points now activated
      2025-01-07 10:46:04.763  - info: influxdb.0 (3296) enabled logging of modbus.0.holdingRegisters.40206_M_AC_Power, Alias=false, 16 points now activated
      2025-01-07 10:46:04.765  - info: influxdb.0 (3296) enabled logging of mqtt.0.ESP8266.soilMoisture-2.soilMoisturePer, Alias=false, 17 points now activated
      2025-01-07 10:46:04.766  - info: influxdb.0 (3296) enabled logging of mqtt.0.ESP8266.soilMoisture-2.soilMoistureVal, Alias=false, 18 points now activated
      2025-01-07 10:46:04.767  - debug: influxdb.0 (3296) Found Alias: mqtt.0.ESP8266.soilMoisture.soilMoisturePer --> Feuchtigkeit in %
      2025-01-07 10:46:04.768  - info: influxdb.0 (3296) enabled logging of Feuchtigkeit in %, Alias=true, 19 points now activated
      2025-01-07 10:46:04.769  - debug: influxdb.0 (3296) Found Alias: mqtt.0.ESP8266.soilMoisture.soilMoistureVal --> Feuchtigkeit Wert
      2025-01-07 10:46:04.770  - info: influxdb.0 (3296) enabled logging of Feuchtigkeit Wert, Alias=true, 20 points now activated
      2025-01-07 10:46:04.771  - debug: influxdb.0 (3296) Found Alias: mqtt.0.esp32.LoRa.Data --> LoraMessages
      2025-01-07 10:46:04.772  - info: influxdb.0 (3296) enabled logging of LoraMessages, Alias=true, 21 points now activated
      2025-01-07 10:46:04.773  - debug: influxdb.0 (3296) Found Alias: mqtt.0.esp32.LoRa.RSSI --> LoraRSSI
      2025-01-07 10:46:04.774  - info: influxdb.0 (3296) enabled logging of LoraRSSI, Alias=true, 22 points now activated
      2025-01-07 10:46:04.775  - info: influxdb.0 (3296) enabled logging of openuv.0.UV, Alias=false, 23 points now activated
      2025-01-07 10:46:04.776  - debug: influxdb.0 (3296) Found Alias: shelly.0.SHPLG-S#B4D9A9#1.Relay0.Power --> Stromverbrauch TV-WZ
      2025-01-07 10:46:04.777  - info: influxdb.0 (3296) enabled logging of Stromverbrauch TV-WZ, Alias=true, 24 points now activated
      2025-01-07 10:46:04.778  - debug: influxdb.0 (3296) Found Alias: shelly.0.SHPLG2-1#2F51B9#1.Relay0.Power --> 16A-ShellyPlug
      2025-01-07 10:46:04.778  - info: influxdb.0 (3296) enabled logging of 16A-ShellyPlug, Alias=true, 25 points now activated
      2025-01-07 10:46:04.779  - debug: influxdb.0 (3296) Found Alias: shelly.0.SHSW-PM#00274B#1.Relay0.Power --> Emily-Schlafzimmer
      2025-01-07 10:46:04.780  - info: influxdb.0 (3296) enabled logging of Emily-Schlafzimmer, Alias=true, 26 points now activated
      2025-01-07 10:46:04.781  - debug: influxdb.0 (3296) Found Alias: shelly.0.SHSW-PM#76E800#1.Relay0.Switch --> Poolpumpe_Schalter
      2025-01-07 10:46:04.782  - info: influxdb.0 (3296) enabled logging of Poolpumpe_Schalter, Alias=true, 27 points now activated
      2025-01-07 10:46:04.782  - debug: influxdb.0 (3296) Found Alias: vw-connect.0.VSSZZZAAZMD511242.charger.status.batteryStatusData.stateOfCharge.content --> Seat-Ladezustand
      2025-01-07 10:46:04.783  - info: influxdb.0 (3296) enabled logging of Seat-Ladezustand, Alias=true, 28 points now activated
      2025-01-07 10:46:04.784  - info: influxdb.0 (3296) enabled logging of daswetter.0.NextHours.Location_1.Day_1.current.uv_index_value, Alias=false, 29 points now activated
      2025-01-07 10:46:04.785  - info: influxdb.0 (3296) enabled logging of shelly.1.shellyplus1pm#3c610572b990#1.Relay0.Power, Alias=false, 30 points now activated
      2025-01-07 10:46:04.786  - info: influxdb.0 (3296) enabled logging of alias.0.Pool.Heizung.ELECTRIC_POWER, Alias=false, 31 points now activated
      2025-01-07 10:46:04.787  - info: influxdb.0 (3296) enabled logging of 0_userdata.0.PoolPumpe.Heizung.Solar-Temperatur, Alias=false, 32 points now activated
      2025-01-07 10:46:04.788  - info: influxdb.0 (3296) enabled logging of alias.0.Pool.UVC.ELECTRIC_POWER, Alias=false, 33 points now activated
      2025-01-07 10:46:04.788  - info: influxdb.0 (3296) enabled logging of alias.0.Pool.Filter.ELECTRIC_POWER, Alias=false, 34 points now activated
      2025-01-07 10:46:04.789  - info: influxdb.0 (3296) enabled logging of sainlogic.0.weather.current.indoorhumidity, Alias=false, 35 points now activated
      2025-01-07 10:46:04.790  - info: influxdb.0 (3296) enabled logging of sainlogic.0.weather.current.indoortemp, Alias=false, 36 points now activated
      2025-01-07 10:46:04.791  - info: influxdb.0 (3296) enabled logging of sainlogic.0.weather.current.pressureabs, Alias=false, 37 points now activated
      2025-01-07 10:46:04.791  - info: influxdb.0 (3296) enabled logging of sainlogic.0.weather.current.1.soilmoisture, Alias=false, 38 points now activated
      2025-01-07 10:46:04.792  - info: influxdb.0 (3296) enabled logging of sainlogic.0.weather.current.2.soilmoisture, Alias=false, 39 points now activated
      2025-01-07 10:46:04.793  - info: influxdb.0 (3296) enabled logging of 0_userdata.0.PoolPumpe.Wasser-Temp-Test, Alias=false, 40 points now activated
      2025-01-07 10:46:04.794  - info: influxdb.0 (3296) enabled logging of 0_userdata.0.Regenwasserpumpe.Wasserstandsensor.Wasserstand, Alias=false, 41 points now activated
      2025-01-07 10:46:04.795  - info: influxdb.0 (3296) enabled logging of 0_userdata.0.Regenwasserpumpe.Wasserstandsensor.Fuellstand, Alias=false, 42 points now activated
      2025-01-07 10:46:04.796  - debug: influxdb.0 (3296) Found Alias: smartgarden.0.LOCATION_5ec04d8f-2Dd6ec-2D4b4b-2Daa4a-2D3405684cec21.DEVICE_e456ddde-2D1088-2D46f3-2D9cbd-2D2434a9188529.SERVICE_VALVE_e456ddde-2D1088-2D46f3-2D9cbd-2D2434a9188529.duration_value --> Beregnung
      2025-01-07 10:46:04.796  - info: influxdb.0 (3296) enabled logging of Beregnung, Alias=true, 43 points now activated
      2025-01-07 10:46:04.797  - info: influxdb.0 (3296) enabled logging of smartgarden.0.LOCATION_5ec04d8f-2Dd6ec-2D4b4b-2Daa4a-2D3405684cec21.DEVICE_ee8a5a48-2D2c62-2D4bd6-2Db911-2D711e17b9d5f9.SERVICE_SENSOR_ee8a5a48-2D2c62-2D4bd6-2Db911-2D711e17b9d5f9.soilHumidity_value, Alias=false, 44 points now activated
      2025-01-07 10:46:04.798  - info: influxdb.0 (3296) enabled logging of smartgarden.0.LOCATION_5ec04d8f-2Dd6ec-2D4b4b-2Daa4a-2D3405684cec21.DEVICE_ee8a5a48-2D2c62-2D4bd6-2Db911-2D711e17b9d5f9.SERVICE_SENSOR_ee8a5a48-2D2c62-2D4bd6-2Db911-2D711e17b9d5f9.soilTemperature_value, Alias=false, 45 points now activated
      2025-01-07 10:46:04.799  - info: influxdb.0 (3296) enabled logging of mqtt.0.ESP8266.Pilze.Humidity, Alias=false, 46 points now activated
      2025-01-07 10:46:04.800  - info: influxdb.0 (3296) enabled logging of mqtt.0.ESP8266.Pilze.Temperature, Alias=false, 47 points now activated
      2025-01-07 10:46:04.800  - debug: influxdb.0 (3296) Found Alias: shelly.1.shellyplusplugs#b0b21c118b8c#1.Relay0.Switch --> Befeuchtung-Switch
      2025-01-07 10:46:04.801  - info: influxdb.0 (3296) enabled logging of Befeuchtung-Switch, Alias=true, 48 points now activated
      2025-01-07 10:46:04.802  - debug: influxdb.0 (3296) Found Alias: shelly.1.shellyplusplugs#b0b21c0fcfc0#1.Relay0.Switch --> Lüfter_Switch
      2025-01-07 10:46:04.803  - info: influxdb.0 (3296) enabled logging of Lüfter_Switch, Alias=true, 49 points now activated
      2025-01-07 10:46:04.803  - info: influxdb.0 (3296) enabled logging of 0_userdata.0.Pilzzucht.Luefter_Status, Alias=false, 50 points now activated
      2025-01-07 10:46:04.804  - info: influxdb.0 (3296) enabled logging of 0_userdata.0.Pilzzucht.Lueftbefeuchter_Status, Alias=false, 51 points now activated
      2025-01-07 10:46:05.947  - debug: influxdb.0 (3296) connected set to false
      2025-01-07 10:46:14.619  - info: influxdb.0 (3296) Connecting http://localhost:8086/ ...
      2025-01-07 10:46:14.620  - info: influxdb.0 (3296) Influx DB Version used: 1.x
      2025-01-07 10:46:14.620  - debug: influxdb.0 (3296) Connect InfluxDB1: http://localhost:8086 [iobroker]
      2025-01-07 10:46:14.636  - error: influxdb.0 (3296) Error: connect ECONNREFUSED 127.0.0.1:8086
      2025-01-07 10:46:24.637  - info: influxdb.0 (3296) Connecting http://localhost:8086/ ...
      2025-01-07 10:46:24.638  - info: influxdb.0 (3296) Influx DB Version used: 1.x
      2025-01-07 10:46:24.638  - debug: influxdb.0 (3296) Connect InfluxDB1: http://localhost:8086 [iobroker]
      2025-01-07 10:46:24.652  - error: influxdb.0 (3296) Error: connect ECONNREFUSED 127.0.0.1:8086
      2025-01-07 10:46:34.653  - info: influxdb.0 (3296) Connecting http://localhost:8086/ ...
      2025-01-07 10:46:34.654  - info: influxdb.0 (3296) Influx DB Version used: 1.x
      2025-01-07 10:46:34.654  - debug: influxdb.0 (3296) Connect InfluxDB1: http://localhost:8086 [iobroker]
      2025-01-07 10:46:34.661  - error: influxdb.0 (3296) Error: connect ECONNREFUSED 127.0.0.1:8086
      
      M 1 Reply Last reply Reply Quote 0
      • M
        Mathias2803 @Mathias2803 last edited by

        @mathias2803 If I enter following command I get these message:

        pi@ioBroker:~ $ sudo -u influxdb -g influxdb /usr/bin/influxd -config /etc/influxdb/influxdb.conf

        
         8888888           .d888 888                   8888888b.  888888b.
           888            d88P"  888                   888  "Y88b 888  "88b
           888            888    888                   888    888 888  .88P
           888   88888b.  888888 888 888  888 888  888 888    888 8888888K.
           888   888 "88b 888    888 888  888  Y8bd8P' 888    888 888  "Y88b
           888   888  888 888    888 888  888   X88K   888    888 888    888
           888   888  888 888    888 Y88b 888 .d8""8b. 888  .d88P 888   d88P
         8888888 888  888 888    888  "Y88888 888  888 8888888P"  8888888P"
        
        2025-01-07T11:32:34.351439Z     info    InfluxDB starting       {"log_id": "0tx8SPgl000", "version": "1.8.10", "branch": "1.8", "commit": "688e697c51fd"}
        2025-01-07T11:32:34.351499Z     info    Go runtime      {"log_id": "0tx8SPgl000", "version": "go1.13.8", "maxprocs": 4}
        2025-01-07T11:32:34.353406Z     info    Using data dir  {"log_id": "0tx8SPgl000", "service": "store", "path": "/mnt/mySSD/InfluxDB/data"}
        2025-01-07T11:32:34.353502Z     info    Compaction settings     {"log_id": "0tx8SPgl000", "service": "store", "max_concurrent_compactions": 2, "throughput_bytes_per_second": 50331648, "throughput_bytes_per_second_burst": 50331648}
        2025-01-07T11:32:34.353573Z     info    Open store (start)      {"log_id": "0tx8SPgl000", "service": "store", "trace_id": "0tx8SPhG000", "op_name": "tsdb_open", "op_event": "start"}
        2025-01-07T11:32:34.354357Z     error   Unable to open series file      {"log_id": "0tx8SPgl000", "path": "/mnt/mySSD/InfluxDB/data/_internal/_series", "partition": 0, "error": "open /mnt/mySSD/InfluxDB/data/_internal/_series/00/0000: read-only file system"}
        2025-01-07T11:32:34.354449Z     info    Open store (end)        {"log_id": "0tx8SPgl000", "service": "store", "trace_id": "0tx8SPhG000", "op_name": "tsdb_open", "op_event": "end", "op_elapsed": "0.879ms"}
        run: open server: open tsdb store: open /mnt/mySSD/InfluxDB/data/_internal/_series/00/0000: read-only file system
        
        
        
        MartinP 1 Reply Last reply Reply Quote 0
        • MartinP
          MartinP @Mathias2803 last edited by MartinP

          @mathias2803 perhaps the SSD is not longer mounted, e.g. due to ssd file system corruption

          what is the result of:

          ls -l /mnt/mySSD
          
          

          P.S. You are writing in english in german branch of forum tree

          baebcbd6-6832-4093-aca2-5322d820486a-grafik.png

          M 1 Reply Last reply Reply Quote 0
          • M
            Mathias2803 @MartinP last edited by

            @martinp Ich könnte auch in Deutsch schreiben, aber ich dachte so können es mehr Personen lesen??

            pi@ioBroker:~ $ ls -l /mnt/mySSD
            insgesamt 5912
            drwxrwxrwx 2 pi       pi       5271552 Dez 22 02:00 Influx-BackUp
            drwxrwxrwx 2 root     root      741376 Mai 27  2022 Influx-BackUp_old
            drwxrwxrwx 5 pi       pi          4096 Mai 30  2022 InfluxDB
            drwxrwxrwx 5 pi       pi          4096 Mai 27  2022 InfluxDB_müll
            drwxrwxrwx 5 influxdb influxdb    4096 Mai 27  2022 InfluxDB_müll2
            drwxrwxrwx 2 pi       pi          4096 Mai 27  2022 InfluxDB_müll3
            drwxrwxrwx 5 root     root        4096 Okt  1  2021 InfluxDB_old
            drwxrwxrwx 2 root     root       16384 Sep 28  2021 lost+found
            
            
            MartinP M 2 Replies Last reply Reply Quote 0
            • MartinP
              MartinP @Mathias2803 last edited by MartinP

              @mathias2803 Das Filesystem hat Fehler und wird nur read-only gemountet - habe ich gerade übersehen

              run: open server: open tsdb store: open /mnt/mySSD/InfluxDB/data/_internal/_series/00/0000: read-only file system
              
              

              Mit Linux Bordmitteln das Dateisystem auf der SSD reparieren lassen und das Beste hoffen, dass es keine größeren Datenverluste gegeben hat ...

              Die generelle "Gesundheit" der SSD solltest Du auch ggfs überprüfen ...

              M 1 Reply Last reply Reply Quote 0
              • M
                Mathias2803 @MartinP last edited by

                @martinp

                pi@ioBroker:~ $ ls -l /mnt/mySSD/InfluxDB/data/_internal/_series/00/0000
                -rwxrwxrwx 1 influxdb influxdb 4194304 Dez 22 01:05 /mnt/mySSD/InfluxDB/data/_internal/_series/00/0000
                pi@ioBroker:~ $ ls -l /mnt/mySSD/InfluxDB/data/_internal/_series/00
                insgesamt 276
                -rwxrwxrwx 1 influxdb influxdb 4194304 Dez 22 01:05 0000
                pi@ioBroker:~ $ ls -l /mnt/mySSD/InfluxDB/data/_internal/_series
                insgesamt 32
                drwxrwxrwx 2 influxdb influxdb 4096 Mai 30  2022 00
                drwxrwxrwx 2 influxdb influxdb 4096 Mai 30  2022 01
                drwxrwxrwx 2 influxdb influxdb 4096 Mai 30  2022 02
                drwxrwxrwx 2 influxdb influxdb 4096 Mai 30  2022 03
                drwxrwxrwx 2 influxdb influxdb 4096 Mai 30  2022 04
                drwxrwxrwx 2 influxdb influxdb 4096 Mai 30  2022 05
                drwxrwxrwx 2 influxdb influxdb 4096 Mai 30  2022 06
                drwxrwxrwx 2 influxdb influxdb 4096 Mai 30  2022 07
                pi@ioBroker:~ $ ls -l /mnt/mySSD/InfluxDB/data/_internal
                insgesamt 8
                drwxrwxrwx 10 influxdb influxdb 4096 Dez 22 01:05 monitor
                drwxrwxrwx 10 influxdb influxdb 4096 Mai 30  2022 _series
                pi@ioBroker:~ $ ls -l /mnt/mySSD/InfluxDB/data
                insgesamt 8
                drwxrwxrwx 4 influxdb influxdb 4096 Mai 30  2022 _internal
                drwx------ 4 influxdb influxdb 4096 Mai 30  2022 iobroker
                pi@ioBroker:~ $ ls -l /mnt/mySSD/InfluxDB
                insgesamt 12
                drwxrwxrwx 4 influxdb influxdb 4096 Mai 30  2022 data
                drwxrwxrwx 2 influxdb influxdb 4096 Dez 22 01:05 meta
                drwxrwxrwx 4 influxdb influxdb 4096 Mai 30  2022 wal
                
                
                1 Reply Last reply Reply Quote 0
                • M
                  Mathias2803 @Mathias2803 last edited by Mathias2803

                  @MartinP

                  "Mit Linux Bordmitteln das Dateisystem auf der SSD reparieren lassen und das Beste hoffen, dass es keine größeren Datenverluste gegeben hat ..."

                  Wie mache ich das??

                  "Die generelle "Gesundheit" der SSD solltest Du auch ggfs überprüfen ..."

                  Und was muss ich da tun?

                  MartinP 1 Reply Last reply Reply Quote 0
                  • MartinP
                    MartinP @Mathias2803 last edited by

                    @mathias2803 Ich bin auch nicht der Linux - Experte meine Ansatzpunkte wären

                    https://docs.hetzner.com/de/robot/dedicated-server/troubleshooting/filesystem-check/

                    https://www.naturalborncoder.com/2023/05/checking-hard-drives-from-the-linux-command-line/

                    M 4 Replies Last reply Reply Quote 0
                    • M
                      Mathias2803 @MartinP last edited by

                      @martinp said in Influxdb stopped working without any changes.:

                      icht der Linux - Experte meine Ansatzpunkte wären

                      fdisk -l

                      Disk /dev/sda: 119,2 GiB, 128035676160 bytes, 250069680 sectors
                      Disk model: Portable SSD
                      Units: sectors of 1 * 512 = 512 bytes
                      Sector size (logical/physical): 512 bytes / 4096 bytes
                      I/O size (minimum/optimal): 4096 bytes / 4096 bytes
                      Disklabel type: dos
                      Disk identifier: 0xa4b57300
                      
                      1 Reply Last reply Reply Quote 0
                      • M
                        Mathias2803 @MartinP last edited by

                        @martinp

                        sudo smartctl -H /dev/sda

                        smartctl 6.6 2017-11-05 r4594 [armv7l-linux-5.10.103-v7l+] (local build)
                        Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
                        
                        === START OF READ SMART DATA SECTION ===
                        SMART Status not supported: Incomplete response, ATA output registers missing
                        SMART overall-health self-assessment test result: PASSED
                        Warning: This result is based on an Attribute check.
                        
                        1 Reply Last reply Reply Quote 0
                        • M
                          Mathias2803 @MartinP last edited by

                          @martinp

                          sudo smartctl -a /dev/sda

                          smartctl 6.6 2017-11-05 r4594 [armv7l-linux-5.10.103-v7l+] (local build)
                          Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
                          
                          === START OF INFORMATION SECTION ===
                          Device Model:     INTENSO
                          Serial Number:    AA000000000000008041
                          Firmware Version: T0910A0
                          User Capacity:    128.035.676.160 bytes [128 GB]
                          Sector Size:      512 bytes logical/physical
                          Rotation Rate:    Solid State Device
                          Form Factor:      2.5 inches
                          Device is:        Not in smartctl database [for details use: -P showall]
                          ATA Version is:   ACS-2 T13/2015-D revision 3
                          SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
                          Local Time is:    Tue Jan  7 13:13:22 2025 CET
                          SMART support is: Available - device has SMART capability.
                          SMART support is: Enabled
                          
                          === START OF READ SMART DATA SECTION ===
                          SMART Status not supported: Incomplete response, ATA output registers missing
                          SMART overall-health self-assessment test result: PASSED
                          Warning: This result is based on an Attribute check.
                          
                          General SMART Values:
                          Offline data collection status:  (0x00) Offline data collection activity
                                                                  was never started.
                                                                  Auto Offline Data Collection: Disabled.
                          Self-test execution status:      (   0) The previous self-test routine completed
                                                                  without error or no self-test has ever
                                                                  been run.
                          Total time to complete Offline
                          data collection:                (  120) seconds.
                          Offline data collection
                          capabilities:                    (0x11) SMART execute Offline immediate.
                                                                  No Auto Offline data collection support.
                                                                  Suspend Offline collection upon new
                                                                  command.
                                                                  No Offline surface scan supported.
                                                                  Self-test supported.
                                                                  No Conveyance Self-test supported.
                                                                  No Selective Self-test supported.
                          SMART capabilities:            (0x0002) Does not save SMART data before
                                                                  entering power-saving mode.
                                                                  Supports SMART auto save timer.
                          Error logging capability:        (0x01) Error logging supported.
                                                                  General Purpose Logging supported.
                          Short self-test routine
                          recommended polling time:        (   2) minutes.
                          Extended self-test routine
                          recommended polling time:        (  10) minutes.
                          
                          SMART Attributes Data Structure revision number: 1
                          Vendor Specific SMART Attributes with Thresholds:
                          ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
                            1 Raw_Read_Error_Rate     0x0032   100   100   050    Old_age   Always       -       0
                            5 Reallocated_Sector_Ct   0x0032   100   100   050    Old_age   Always       -       0
                            9 Power_On_Hours          0x0032   100   100   050    Old_age   Always       -       28364
                           12 Power_Cycle_Count       0x0032   100   100   050    Old_age   Always       -       87
                          160 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       0
                          161 Unknown_Attribute       0x0033   100   100   050    Pre-fail  Always       -       100
                          163 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       1
                          164 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       76817
                          165 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       716
                          166 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       11
                          167 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       121
                          168 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       5050
                          169 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       98
                          175 Program_Fail_Count_Chip 0x0032   100   100   050    Old_age   Always       -       0
                          176 Erase_Fail_Count_Chip   0x0032   100   100   050    Old_age   Always       -       0
                          177 Wear_Leveling_Count     0x0032   100   100   050    Old_age   Always       -       0
                          178 Used_Rsvd_Blk_Cnt_Chip  0x0032   100   100   050    Old_age   Always       -       0
                          181 Program_Fail_Cnt_Total  0x0032   100   100   050    Old_age   Always       -       0
                          182 Erase_Fail_Count_Total  0x0032   100   100   050    Old_age   Always       -       0
                          192 Power-Off_Retract_Count 0x0032   100   100   050    Old_age   Always       -       65
                          194 Temperature_Celsius     0x0022   100   100   050    Old_age   Always       -       40
                          195 Hardware_ECC_Recovered  0x0032   100   100   050    Old_age   Always       -       0
                          196 Reallocated_Event_Count 0x0032   100   100   050    Old_age   Always       -       0
                          197 Current_Pending_Sector  0x0032   100   100   050    Old_age   Always       -       0
                          198 Offline_Uncorrectable   0x0032   100   100   050    Old_age   Always       -       0
                          199 UDMA_CRC_Error_Count    0x0032   100   100   050    Old_age   Always       -       0
                          232 Available_Reservd_Space 0x0032   100   100   050    Old_age   Always       -       100
                          241 Total_LBAs_Written      0x0030   100   100   050    Old_age   Offline      -       106276
                          242 Total_LBAs_Read         0x0030   100   100   050    Old_age   Offline      -       1239
                          245 Unknown_Attribute       0x0032   100   100   050    Old_age   Always       -       111462
                          
                          SMART Error Log Version: 1
                          No Errors Logged
                          
                          SMART Self-test log structure revision number 1
                          No self-tests have been logged.  [To run self-tests, use: smartctl -t]
                          
                          Selective Self-tests/Logging not supported
                          
                          
                          1 Reply Last reply Reply Quote 0
                          • M
                            Mathias2803 @MartinP last edited by

                            @martinp

                            lsblk

                            NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
                            sda           8:0    0 119,2G  0 disk
                            └─sda1        8:1    0 119,2G  0 part /mnt/mySSD
                            mmcblk0     179:0    0  59,5G  0 disk
                            ├─mmcblk0p1 179:1    0   256M  0 part /boot
                            └─mmcblk0p2 179:2    0  59,2G  0 part /
                            
                            JLeg 1 Reply Last reply Reply Quote 0
                            • JLeg
                              JLeg @Mathias2803 last edited by

                              @mathias2803

                              fsck -N /dev/sda1
                              

                              ...wenn da Fehler angezeigt werden, nochmal ohne "-N" aufrufen...

                              M 2 Replies Last reply Reply Quote 0
                              • M
                                Mathias2803 @JLeg last edited by

                                @jleg said in Influxdb stopped working without any changes.:

                                fsck -N /dev/sda1

                                pi@ioBroker:~ $ fsck -N /dev/sda1
                                fsck from util-linux 2.33.1
                                [/usr/sbin/fsck.ext4 (1) -- /mnt/mySSD] fsck.ext4 /dev/sda1
                                
                                
                                pi@ioBroker:~ $ sudo fsck -N /dev/sda1
                                fsck from util-linux 2.33.1
                                [/usr/sbin/fsck.ext4 (1) -- /mnt/mySSD] fsck.ext4 /dev/sda1
                                
                                
                                pi@ioBroker:~ $ sudo fsck /dev/sda1
                                fsck from util-linux 2.33.1
                                e2fsck 1.44.5 (15-Dec-2018)
                                /dev/sda1 is mounted.
                                e2fsck: Cannot continue, aborting.
                                
                                1 Reply Last reply Reply Quote 0
                                • M
                                  Mathias2803 @JLeg last edited by

                                  @jleg

                                  pi@ioBroker:~ $ fsck /dev/sda1
                                  fsck from util-linux 2.33.1
                                  e2fsck 1.44.5 (15-Dec-2018)
                                  /dev/sda1 is mounted.
                                  
                                  
                                  
                                  WARNING!!!  The filesystem is mounted.   If you continue you ***WILL***
                                  cause ***SEVERE*** filesystem damage.
                                  
                                  
                                  Do you really want to continue<n>? yes
                                  fsck.ext4: Keine Berechtigung while trying to open /dev/sda1
                                  You must have r/w access to the filesystem or be root
                                  
                                  
                                  JLeg Thomas Braun 2 Replies Last reply Reply Quote 0
                                  • JLeg
                                    JLeg @Mathias2803 last edited by

                                    @mathias2803 vorher

                                    umount /mnt/mySSD
                                    

                                    versuchen - falls noch Prozesse zugreifen, wird das aber u.U. nicht klappen. Als root sollte fsck aber nach der Warnung trotzdem tun...

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      Mathias2803 @JLeg last edited by

                                      @jleg said in Influxdb stopped working without any changes.:

                                      umount /mnt/mySSD

                                      Nach dem umount:

                                      sudo fsck /dev/sda1

                                      fsck from util-linux 2.33.1
                                      e2fsck 1.44.5 (15-Dec-2018)
                                      /dev/sda1 is in use.
                                      e2fsck: Cannot continue, aborting.
                                      
                                      JLeg 1 Reply Last reply Reply Quote 0
                                      • JLeg
                                        JLeg @Mathias2803 last edited by

                                        @mathias2803 zeig mal

                                        cat /etc/fstab
                                        
                                        M 2 Replies Last reply Reply Quote 0
                                        • M
                                          Mathias2803 @JLeg last edited by

                                          @jleg said in Influxdb stopped working without any changes.:

                                          cat /etc/fstab

                                          cat /etc/fstab

                                          proc            /proc           proc    defaults          0       0
                                          PARTUUID=f0881a94-01  /boot           vfat    defaults          0       2
                                          PARTUUID=f0881a94-02  /               ext4    defaults,noatime  0       1
                                          #UUID=22A1-48DB /mnt/mySSD/ ext4 nofail 0
                                          #UUID=22A1-48DB /mnt/mySSD ext4 auto,nofail,sync,users,rw 0 0
                                          #UUID=22A1-48DB-a4b57300-01 /mnt/mySSD ext4 auto,nofail,sync,users,rw 0 0
                                          UUID="49441976-e29b-4acc-a8ee-71f4eb91255c" /mnt/mySSD ext4 defaults 0 2
                                          # a swapfile is not a swap partition, no line here
                                          #   use  dphys-swapfile swap[on|off]  for that
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            Mathias2803 @JLeg last edited by

                                            @jleg

                                            Was bedeutet das?

                                            ls -l /mnt/mySSD/InfluxDB/data/_internal/_series/00/0000
                                            -rwxrwxrwx 1 influxdb influxdb 4194304 Dez 22 01:05 /mnt/mySSD/InfluxDB/data/_internal/_series/00/0000
                                            
                                            ls -l /mnt/mySSD/InfluxDB
                                            drwxrwxrwx 4 influxdb influxdb 4096 Mai 30  2022 data
                                            

                                            Das "d" fehlt im Unterverzeichnis am Anfang. Kann ich das für alle Unterverzeichnisse ändern?

                                            JLeg 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            596
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            26
                                            1095
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo