pokmiuhy

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by pokmiuhy

  1. Thanks, I'll create an issue. When i check the log file the first line is: 0.032 2021-09-10 00:29:21; Factorio 1.1.38 So it's showing that it's an older version, but the docker is showing up to date on Unraid. Is there a way to force an update even if it doesn't show one is available? I'm not too familiar with how it works on Unraid.
  2. I'm using the Factorio container and updated it recently (last 2 days or so). I now get the error saying the client is running a newer version than the server. Client: 1.1.39 Server: 1.1.38 From what I can, the factoriotools version is 1.1.39 on dockerhub. Any ideas what I'm doing wrong?
  3. After upgrading to Unraid 6.8.2 yesterday my container won't start. I attached the log. No Idea what is wrong, but this isn't the only container I'm having issues with either so not sure if it's the container or a different/bigger issue. Any ideas? log.txt
  4. You can use the ALTER command to change the encryption of the password to mysql_native_password instead of the latest authentication plugin caching_sha2_password. I executed the below and it's now working. Not sure if this is the right way or just a work around, but it's working for me. ALTER USER 'username'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
  5. With MySQL 8, I'm getting the below error. It's a known issue but I can't figure out a way to change the default back to mysql_native_password. Is there a way via extra parameters or post arguments? The server requested authentication method unknown to the client [caching_sha2_password]
  6. The ultimate plan is to dockerize the applications. I'll definitely have to mess with the linking you mention. Totally new to this...hoping to make my life easier in the end. Having dedicated VM's is a pain to keep updated.
  7. I think that's where I've been hung up...I keep thinking as if it's similar to a VM. I set it to "host" and exposed the port. Connected right up. Thanks!
  8. Is there a way to set it to its own IP address? The benefit for me would be not having to change other applications. They all point to this IP address.
  9. excuse my lack of knowledge as I'm brand new to docker. I'm trying to migrate to docker from dedicated linux vm's. first thing on my list is MySQL as it is the center point for quite a few other services. I downloaded and installed the bungy mysql docker, set the network as custom: eth0 and set the ip. I can ping the IP and get responses, however, I cannot connect via mysql workbench. Given my complete lack of Docker knowledge, I'm stuck. I've searched the web and my google foo is running low. Need some help - thanks in advance. I'm on unraid 6.7.2.
  10. Awesome script! Thank you. Curious if anyone else is having the same issues that I am...That being, I'm only getting data for two drives. No matter what order I put them in the array, I only get temp data for sda & sdb. edit: Want to add that SMART is enabled on all drives and when I run the command manually, I get data back. root@Hollywood:~# smartctl -A /dev/sde smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.1.18-unRAID] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 108 099 006 Pre-fail Always - 20659920 3 Spin_Up_Time 0x0003 097 097 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 710 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 078 060 030 Pre-fail Always - 61758002 9 Power_On_Hours 0x0032 071 071 000 Old_age Always - 25798 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 298 183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0 184 End-to-End_Error 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0 0 0 189 High_Fly_Writes 0x003a 099 099 000 Old_age Always - 1 190 Airflow_Temperature_Cel 0x0022 080 061 045 Old_age Always - 20 (Min/Max 17/22) 191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 0 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 281 193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 768366 194 Temperature_Celsius 0x0022 020 040 000 Old_age Always - 20 (0 14 0 0 0) 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0 240 Head_Flying_Hours 0x0000 100 253 000 Old_age Offline - 17417h+18m+05.179s 241 Total_LBAs_Written 0x0000 100 253 000 Old_age Offline - 8300941312 242 Total_LBAs_Read 0x0000 100 253 000 Old_age Offline - 48794130453 root@Hollywood:~# smartctl -A /dev/sda smartctl 6.2 2013-07-26 r3841 [x86_64-linux-4.1.18-unRAID] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0 3 Spin_Up_Time 0x0027 177 176 021 Pre-fail Always - 6133 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 311 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always - 0 9 Power_On_Hours 0x0032 096 096 000 Old_age Always - 3014 10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 42 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 16 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 1004 194 Temperature_Celsius 0x0022 128 119 000 Old_age Always - 22 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age Offline - 0
  11. Checkout this thread: https://lime-technology.com/forum/index.php?topic=52220 Perfect! Thank you!!
  12. So far so good. Everything is working. Thanks for the help. Any idea of a way to get the smartctl output into telegraf/influxdb?
  13. Figured I would post the solution back here.. https://lime-technology.com/forum/index.php?topic=51498.msg533288#msg533288
  14. Glad you figured it out. Should also help the next person to forget the config file. As for that error I would try commenting out that line and restarting telegraf. Ya, glad I'm at least getting this far. Now to figure out the errors.. I commented out the line already and keep getting other errors. Error parsing /etc/telegraf/telegraf.conf, line 492: field corresponding to `collect_cpu_time' is not defined in `*system.CPUStats' edit: just got it running. had to comment out the #logfile line and & #collect_cpu_time line. We will see if it collects correctly.
  15. Have you tried nuking your docker image? Turn off docker in settings and go to your appdata folder and delete the docker image? That's about all the help I can think to offer at this point. Well I'm getting closer. Issue was the .conf file location. The required location was noted as /mnt/user/appdata/telegraf/telegraf.conf. It was creating this path automatically, but telegraf.conf was an actual directory. So I removed the directory and placed the file at /mnt/user/appdata/telegraf/. Hope this makes sense, but that is at least got things moving. The issue I have now is the docker log is giving me this error: Error parsing /etc/telegraf/telegraf.conf, line 70: field corresponding to `logfile' is not defined in `*config.AgentConfig' I believe it has something to do with this line...Not sure what to do to fix the error. ## Specify the log file name. The empty string means to log to stderr. logfile = ""
  16. Well that worked too. Container is running. Nothing is being sent to influxdb though. edit: nevermind...I was looking in the wrong spot. Still doesn't get me all info I was wanting, but at least it's working. Now to figure out why the other container doesn't work.
  17. I don't have any others. Just tried apache with no luck. Any suggested app's to try? Try watchtower, its a simple app that updates your other docker images to the latest versions. That worked. It's running.
  18. I don't have any others. Just tried apache with no luck. Any suggested app's to try?
  19. Did exactly as you said...still won't start. Here is a screenshot of me trying to add the container
  20. Here is the output... root@Hollywood:/mnt/user/appdata/telegraf/telegraf.conf# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9019198678bf telegraf:1.0-alpine "/entrypoint.sh tele About an hour ago telegraf root@Hollywood:/mnt/user/appdata/telegraf/telegraf.conf# and here is the docker.log file root@Hollywood:/var/log# tail docker.log time="2017-01-22T17:11:51.820267584-05:00" level=error msg="Handler for POST /containers/create returned error: No such image: telegraf (tag: latest)" time="2017-01-22T17:11:51.820317841-05:00" level=error msg="HTTP Error" err="No such image: telegraf (tag: latest)" statusCode=404 time="2017-01-22T17:15:38.295712969-05:00" level=error msg="Handler for POST /images/create returned error: Invalid repository name (telegraf:1.0-alpine), only [a-z0-9-_.] are allowed" time="2017-01-22T17:15:38.295769839-05:00" level=error msg="HTTP Error" err="Invalid repository name (telegraf:1.0-alpine), only [a-z0-9-_.] are allowed" statusCode=500 time="2017-01-22T17:15:38.344527428-05:00" level=error msg="Handler for POST /containers/create returned error: No such image: telegraf:1.0-alpine (tag: 1.0-alpine)" time="2017-01-22T17:15:38.344576266-05:00" level=error msg="HTTP Error" err="No such image: telegraf:1.0-alpine (tag: 1.0-alpine)" statusCode=404 time="2017-01-22T17:15:44.748237211-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container 9019198678bfbb19bd9845604a9260cb5d3ac2a68631cdd42a0d284cba81a465: [8] System error: not a directory" time="2017-01-22T17:15:44.748287605-05:00" level=error msg="HTTP Error" err="Cannot start container 9019198678bfbb19bd9845604a9260cb5d3ac2a68631cdd42a0d284cba81a465: [8] System error: not a directory" statusCode=500 time="2017-01-22T17:22:10.525209560-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory" time="2017-01-22T17:22:10.525254243-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500 root@Hollywood:/var/log#
  21. Here is a picture when I tried to re-create the telegraf container root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="telegraf" --net="host" --privileged="true" -e HOST_PROC="/rootfs/proc" -e HOST_SYS="/rootfs/sys" -e HOST_ETC="/rootfs/etc" -e HOST_MOUNT_PREFIX="/rootfs" -e TZ="America/New_York" -v "/var/run/utmp":"/var/run/utmp":ro -v "/var/run/docker.sock":"/var/run/docker.sock":ro -v "/":"/rootfs":ro -v "/sys":"/rootfs/sys":ro -v "/etc":"/rootfs/etc":ro -v "/proc":"/rootfs/proc":ro -v "/mnt/user/appdata/telegraf/telegraf.conf":"/etc/telegraf/telegraf.conf":rw telegraf:1.0-alpine
  22. I've got another thread specific to my issue, but was suggested to post here. https://lime-technology.com/forum/index.php?topic=55847.0 Issue: Docker will not start. the .conf file is in the appropriate location. Not sure what the below logs are telling me. I've deleted and tried to add again with same issue. Contents of docker.log: time="2017-01-22T07:59:54.001220628-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory" time="2017-01-22T07:59:54.001267923-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500 time="2017-01-22T08:00:04.392312922-05:00" level=error msg="Handler for POST /containers/create returned error: No such image: telegraf (tag: latest)" time="2017-01-22T08:00:04.392361541-05:00" level=error msg="HTTP Error" err="No such image: telegraf (tag: latest)" statusCode=404 time="2017-01-22T08:00:39.574439066-05:00" level=error msg="Handler for POST /containers/create returned error: Conflict. The name \"telegraf\" is already in use by container a52ecba4b5fc. You have to delete (or rename) that container to be able to reuse that name." time="2017-01-22T08:00:39.574495067-05:00" level=error msg="HTTP Error" err="Conflict. The name \"telegraf\" is already in use by container a52ecba4b5fc. You have to delete (or rename) that container to be able to reuse that name." statusCode=409 time="2017-01-22T08:22:01.441279607-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory" time="2017-01-22T08:22:01.441326640-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500 time="2017-01-22T08:36:19.265370324-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory" time="2017-01-22T08:36:19.265415682-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500
  23. I'll assume you mean the logs? If so, this is what's posted in docker.log time="2017-01-22T07:59:54.001220628-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory" time="2017-01-22T07:59:54.001267923-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500 time="2017-01-22T08:00:04.392312922-05:00" level=error msg="Handler for POST /containers/create returned error: No such image: telegraf (tag: latest)" time="2017-01-22T08:00:04.392361541-05:00" level=error msg="HTTP Error" err="No such image: telegraf (tag: latest)" statusCode=404 time="2017-01-22T08:00:39.574439066-05:00" level=error msg="Handler for POST /containers/create returned error: Conflict. The name \"telegraf\" is already in use by container a52ecba4b5fc. You have to delete (or rename) that container to be able to reuse that name." time="2017-01-22T08:00:39.574495067-05:00" level=error msg="HTTP Error" err="Conflict. The name \"telegraf\" is already in use by container a52ecba4b5fc. You have to delete (or rename) that container to be able to reuse that name." statusCode=409 time="2017-01-22T08:22:01.441279607-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory" time="2017-01-22T08:22:01.441326640-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500 time="2017-01-22T08:36:19.265370324-05:00" level=error msg="Handler for POST /containers/{name:.*}/start returned error: Cannot start container telegraf: [8] System error: not a directory" time="2017-01-22T08:36:19.265415682-05:00" level=error msg="HTTP Error" err="Cannot start container telegraf: [8] System error: not a directory" statusCode=500