Jump to content

FunnyPocketBook

Members
  • Posts

    41
  • Joined

  • Last visited

Posts posted by FunnyPocketBook

  1. Is there a way to preclear a new disk on Windows (or any OS except for Unraid), such that I have a more or less seamless integration of the new disk when I add it to the array? My server is in a remote location and I will only have access to it for a few days.

  2. Hello!

     

    I've noticed some I/O spikes on my SSD, and want to figure out which Docker container is causing that. While `docker stats` shows Block I/O, it's constantly at 0 for me, no matter where and what kind of data is written or read.

    I have also tried csysdig, which requires a kernel module, which isn't in the unraid kernel. Another tool that was looked at is bcc-tools, but that needs to be run bare-metal.

     

    My objective is to track down the I/O metrics for each disk for each container, but more specifically, I want to measure how much each container is reading from or writing to a particular drive, in this case, my SSD. Eventually, I want to store those metrics in InfluxDB to display the reads/writes in Grafana. I'm already using the telegraf docker plugin, but that doesn't report the block I/O.

     

    Appreciate any insight help you can offer!

  3. 12 minutes ago, WorldTeacher said:

    In my Docker install, the default is labeled as v1, should I change this?

    Or could I possibly break anything by changing it to v2?

     

    v2 is under heavy development and has quite a few features missing. V1 is "not supported" as in no changes are happening there anymore but IMO it's still the version to use if you don't want to bother with bugs and missing features

    • Like 1
  4. On 4/23/2021 at 5:55 PM, Camilo said:

    Thank you for your reply! Sorry, but it has been a busy week over here. How can I change the container path? Do I have to use the console for the container and look for a specific file? I tried to look for more info, but I couldn't find anything related :(.

    ------

    My bad. I had to click the edit button in the container, specifically in the Upload_Path. I was over complicating things. After doing that, I don't see any files so it means I lost everything I uploaded. In my case, it doesn't really matter as I keep a backup. Any suggestions for future update to avoid this issue?

    The data loss here is actually my fault, nothing you could have done if you aren't always reading the release changes of Firefly. I misread the changelogs for an update back in... October? I think and didn't adjust the container paths accordingly in the template

  5. 8 minutes ago, Camilo said:

    Thank you for your assistance @FunnyPocketBook. I did have a a previous version installed before, so I believe than can be the problem. I tried to look for the attachments in my host path (`/mnt/user/appdata/firefly-iii/upload/`) but I think I'm doing something wrong as there are no files in there, even new PDFs attached a couple of hours ago (see the image below). Btw, I don't mind loosing the attachments as I also use Paperless-ng (another nice app from here) for backing up PDF. However, I'd like to avoid this issue in the future.

    Thank you for your comments!

    SNAG-0364.png

    Did you change the container path for UPLOAD_PATH to /var/www/html/storage/upload and after restarting upload the files?

    You have to do that, otherwise the files won't be stored in /mnt/user/appdata/firefly-iii/upload/

  6. Hey @Camilo

    It sounds like you had a < 5.4.0 version installed before you updated to the new version.

    The container path for newer versions for UPLOAD_PATH is `/var/www/html/storage/upload` instead of `/var/www/firefly-iii/storage/upload`. Updating to a newer version without updating the path may result in a data loss. You should check your host path `/mnt/user/appdata/firefly-iii/upload/` if the old attachments are still there. If they are, make a backup of them and then update the UPLOAD_PATH to `/var/www/html/storage/upload`. This should preserve your previously uploaded attachments. If not, then I'm terribly sorry, but your attachments might be lost for good :/

  7. 56 minutes ago, spyd4r said:

    I set DB_HOST yet it keeps defaulting to localhost. Same in latest and beta.

     

    Could not poll the database: SQLSTATE[HY000] [1045] Access denied for user 'firefly'@'Firefly-III.br0' (using password: YES) (SQL: select `id`, `name`, `data` from `configuration` where `name` = is_demo_site and `configuration`.`deleted_at` is null limit 1)

    Did you create the firefly user and set a password?

  8. 4 minutes ago, TheOriginalBox said:

    I cant seem to get the docker to allow me to change the port. Even though I set it to something different in the settings it still defaults to 8080.

    Have you followed this step already? Also, meinnamehier reported that the same issue got fixed after an array restart or a reboot.

    On 10/26/2020 at 5:27 PM, FunnyPocketBook said:

    It appears that the Firefly-III CSV Importer saves the URI somewhere internally and doesn't look at the environment variable anymore once it's set. When I changed the URI to something invalid, it still pointed to the old, correct URI.

    In the CSV Importer WebUI, have you already clicked "Reauthenticate"? Clicking that fixed the issue for me.

     

  9. Hm, I have only ever experienced this behaviour when I had duplicate containers that were using different templates.

    Go to the console of the CSV importer and execute printenv, that shows you the environment variables of the container. Does the variable FIREFLY_III_ACCESS_TOKEN show up? Is the FIREFLY_III_URI correct?

  10. @meinnamehier I assume Firefly doesn't run on port 8080?

    What did you set FIREFLY_III_URI to, can you send a screenshot of your config?

     

    It could also be that you have tried to install the CSV Importer multiple times and are now stuck with multiple templates. Check if /boot/config/plugins/dockerMan/templates-user lists more than one CSV Importer and if so, you can remove the template that you don't want.

×
×
  • Create New...