Jump to content

dp100

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by dp100

  1. On 6/4/2023 at 4:21 AM, Philby1975 said:

    Hoping this is a simple fix. Calibre web was running well to my knowledge (though I haven't used it in a while) before I reset me docker.img file. Added all other dockers back without a problem using existing setting, however Calibre-Web is producing the following error in the logs. I consoled into the docker and ran the suggested command however it says that pip is an unknown command.

     

    10500K .......... .......... .......... .......... .......... 99% 6.70M 0s
    10550K ......... 100% 371M=1.6s

    2023-06-04 03:11:38 (6.36 MB/s) - '/calibre-web/kindlegen/kindlegen_linux_2.6_i386_v2_9.tar.gz' saved [10813137/10813137]

    [INFO] Extracting kindlegen_linux_2.6_i386_v2_9.tar.gz into directory: /calibre-web/kindlegen
    [INFO] Change the ownership of /calibre-web/kindlegen (including subfolders) to calibre:calibre
    [INFO] kindlegen (Amazon Kindle Generator) will be linked into /calibre-web/app/vendor
    [INFO] Creating the vendor directory: /calibre-web/app/vendor
    [INFO] Change the ownership of /calibre-web/app/vendor (including subfolders) to calibre:calibre
    > create kindlegen link /calibre-web/app/vendor/kindlegen assigned to source /calibre-web/kindlegen/kindlegen
    > change the ownership of /calibre-web/app/vendor/kindlegen to calibre:calibre
    [INFO] Creating directory for temporary directories and files: /tmp
    [INFO] Change the ownership of /tmp (including subfolders) to calibre:calibre
    [INFO] Launching Calibre-Web ...
    *** "flask-limiter" is needed for calibre-web to run. Please install it using pip: "pip install flask-limiter" ***
    *** "flask-limiter" is needed for calibre-web to run. Please install it using pip: "pip install flask-limiter" ***

     

    Any help would be appreciated.

     

    Hi

    @Philby1975 - did you find a resolution? 

    I've just found myself in exactly the same boat after having to rebuild my unraid docker file and all my other containers worked fine on reinstalling it with the exception of CalWeb.

    I've tried to open a script/command window for Calweb to try running the pip command, but the window closes instantly after opening it...

     

    cheers

  2. On 10/29/2016 at 5:56 PM, Squid said:

    Run A Custom Script At Parity Check / Rebuild Start And Stop

    Use it to run a custom script to (as an example), shut down various docker applications, etc.  Adjust the variables within the script file.

     

    Note that you either need to run this in the background or at array start.  Running this in the foreground will not work.

     

     

    #!/usr/bin/php
    <?PHP
    # A simple script to allow you to run a custom script when a parity check starts or stops
    # Adjust the following variables to suit:
    
    $checkInterval = 300;                             # Number of seconds in between checks
    $startScript   = "full path to the script";       # The full path to the script to run when a parity check starts
    $stopScript    = "full path to the stop script";  # The full path to the script to run when a parity check stops
    
    # Don't touch anything below
    
    while (true) {
      $vars = parse_ini_file("/var/local/emhttp/var.ini");
      if ( $vars['mdState'] == "STOPPED" ) {
        break;
      }
      if ( ($vars['mdResyncPos'] != 0) && $vars ) {
        echo "Parity Check / Sync / Rebuild in progress.  Executing the start script ($startScript)";
        exec($startScript,$output);
        foreach ($output as $line) {
          echo $line."\n";
        }
        while (true) {
          $vars = parse_ini_file("var/local/emhttp/var.ini");
          if ( ($vars['mdResyncPos'] == 0) && $vars ) {
            echo "Parity Check / Sync / Rebuild finished.  Executing the stop script ($stopScript)";
            exec($stopScript,$output);
            foreach ($output as $line) {
              echo $line."\n";
            }
            break;
          } else {
            sleep($checkInterval);
          }
        }
      } else { 
        sleep($checkInterval);
      }  
    }
    ?>
    
     

     

    custom_script_parity_check_start_stop.zip 1010 B · 49 downloads

    Hi Squid

    Does this script still work in 6.11.5 , 5 years later after this post?
    I'm trying to use it to trigger a basic script to backup my server and power-off but i just get errros when running it. 
    If ti does still work, can i get an example of the correct syntax for an example of "full path the script" please?

     

    Thanks kindly.

  3. Recently, i've found that the 'My Servers' plugin has become unreliable.  I've used it for a number of months without issue, but i;ve now had three episodes of it going down with the 'Graphql is Offline' error recently a few weeks apart.

     

    I've attached my logs if useful.

     

    Doing the 'unraid-api restart' fixes the issue, but so far it's only been a temporary measure for me. 

     

    I've just totally signed out and signed back in and hope that helps.

     

    If there anything i can do or check to elucidate the cause?

     

    Thanks

    darren

    homeserver-diagnostics-20211109-1909.zip

  4. Hi ljm42.

    Thanks kindly for getting back to me.

    Apolgies for not starting, V6.9.2, MyServer plugin 2021.10.12.1921

     

    Using your prompts i did some digging and have found what the problem is..

     

    Somehow, the custom port mapping for the My Servers plugin (to go through Wan Port 14444) had reset to it's default value of 443 (???)
    To me, this explains how the https traffic to my server got routed to my SWAG container instead of the GUI.
    Disabling the SWAG container did not fix the problem.

     

    I'm not sure how/why my setup just changed, but ties in with my previous observation that the 'My servers' and 'automatically upload error logs' had also been toggled off in the remote access settings. Its like everything got reset?

    I've since read other comments on the My Servers thread implying something happened on the Unraid side with My Servers earlier this week? Could explain how my settings had reverted to default?

     

    In case you want to have a look, diagnostics are attached.

     

    Thanks again!

    darren 

     

     

    image.thumb.png.3fbedd99ce86726a53fec043cb109ba8.png

     

    homeserver-diagnostics-20211014-2138.zip

  5. Hi All,

     

    After using the My Servers remote access for a while, my attempt today failed.
     

    Using my desktop at work, when I clicked the link from the Remote Access page, instead of going through to the dashboard  GUI, i got the following SWAG landing page.  See screenshot.

     

    I can still access the gui on my mobile (using wireguard).

     

    I got a push notification this AM about a number of my containers updating this morning as part of the weekly scheduled maintenance and SWAG was on that 'updated' list. 


    Coincidentally, I initially found the My Servers access offline this AM due to the 'Grafini out of date' issue others have mention for which i updated the plugin. I also found that the 'My servers' and 'automatically upload error logs' were toggled off in the remote access settings. 
    Updating the plugin and restoring the toggle made the server remotely accessible again, but now i land on this SWAG page??


    I can't find any other mentions of this issue in the forums on Unraid or for SWAG.  SWAG seems to be working as my 'Overseerr' container/website is accessible outside my network  without Wireguard, going through my SWAG reverse proxy. 

     

     

    In summary, i'm not sure if my issue is due to a problem with Remote Access plugin or with SWAG.
    I've not yet rebooted my sever as trying to avoid that but happy to do so if required.

     

    Any thoughts greatly appreciated!

     

    cheers.

     

     

     

     



    image.png.e0e249ae95cd3ecddb794ee62a8a1477.png

  6. 6 hours ago, jbuszkie said:

     

    strange that /etc/rc.d/rc.nginx restart didn't fix it.

    I assume you made room in /var/log for more messages to come through?

     

    After the restart did you still have stuff spewing in the log file?

     

    I do recall a time where I had to do a restart to fix it completely.

     

    Jim

    Hi Jim,
    Thanks for the comments.

     

    I'm fairly sure that '/etc/rc.d/rc.nginx restart' didn't fix it, but as the terminal window remained unusable (constantly closing/opening a connection) i was struggling to properly assess things, plus it was getting late.

    In the end i lost my patience and rebooted the system as i went to bed.  Since then, the server has been fine and my log has stayed at 1%.


    Although it seems 'fixed' for now, i'd love to know what the cause is. 

    Considering the number of users complaining of this issue affecting them too, there must be some underlying common bug or cause...

     

    cheers

    darren


     

  7. Hi

    I found this page after experiencing the same issue myself. 

    Running 6.9.2.

    I am guilty of leaving Chrome windows open with my Dashboard and/or Docker container list, which i've now closed.

     

    My log file hit 100% and i eventually managed to increase it (my terminal window keeps closing and resetting), by giving more space.
     

    I've also ran the '/etc/rc.d/rc.nginx restart' command. 


    When i saw 'nginx' in the log, i wondered if it was a problem with my SWAG container, which i've closed.

    None of these measures have stopped the terminal window connection from constantly closing.

     

    No errors were found on an extended 'Fix Common Problems' scan.

    I have recently switched Plex to use a ram disk for transcodes, but i've never seen it anywhere near max out the system (i'm running 24gb) ram). 

    I'm going to try a reboot.

     

    Any thoughts or suggestions appreciated!

     

    Cheers!

    darren

     

    syslog.zip

×
×
  • Create New...