Jump to content

Nischi

Members
  • Posts

    63
  • Joined

  • Last visited

Posts posted by Nischi

  1. I encountered problems when I upgraded my win10 install to win11. very unreliablef, and black screen, it would also hang the picture of "restarting".

    I changed from VNC to SPICE, seems to work so far at least, althought its really sluggish to get past the login prompt for win11, but after that everything seems fine.

  2. 14 hours ago, jonathanm said:

    Be sure to read through that entire thread, it's pretty old and people added their touches and edits, so I'd advise using the code segments posted by me and others in your own script, and not try to edit my script to match your needs. If you get what I mean.

    Yeah I made it work, just took the part I needed, thanks!

  3. 6 minutes ago, jonathanm said:

    I can't remember off the top of my head, but I posted a script somewhere on this forum that checks if the gateway IP is responding before continuing with the script. My use case was starting a different VM AFTER my pfSense VM comes online.

    Thanks! It was enough to find the script you mentioned.

     

  4. Hello!

     

    Is there some way to run scripts delayed after startup of array? My Issue is that I run my router in a VM, and my script is reliant on having an internet connection. so if I could delay the script execution to 3 minutes after the start of the array the issue would disappear.

  5. 1 hour ago, jbrodriguez said:

    Hey ! It's working !

     

    The other issue you're having is related to the system sensor

     

    The output of

    
    /usr/bin/sensors -A

    should be some error.

     

    Can you check and post here ?

    Quote

    /usr/bin/sensors -A
    No sensors found!
    Make sure you loaded all the kernel drivers you need.
    Try sensors-detect to find out which these are.
     

    ah, I think it's related to me having a ryzen 3800x. Thanks

  6. 2 hours ago, jbrodriguez said:

    I have the feeling it's a permissions issue.

     

    When testing are you issuing the command as root or you have another user in the system ?

    I am root, but I have another user setup for smb-shares.

     

    Quote

    root@unraid:~# whoami
    root
    root@unraid:~# /usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir '/boot/config/ssl/certs'
    I: 2020/09/19 19:34:18 app.go:58: controlr v2020.05.09|2.19.0 starting ...
    I: 2020/09/19 19:34:18 app.go:66: No config file specified. Using app defaults ...
    I: 2020/09/19 19:34:18 app.go:266: cert: found unraid_unraid_bundle.pem
    I: 2020/09/19 19:34:18 app.go:171: host(https://192.168.1.5:443)
    I: 2020/09/19 19:34:18 core.go:81: starting service Core ...
    I: 2020/09/19 19:34:18 core.go:304: Created system sensor ...
    I: 2020/09/19 19:34:18 core.go:334: No ups detected ...
    2020/09/19 19:34:18 Unable to wait for process to finish: exit status 1

     

  7. 5 hours ago, jbrodriguez said:

    Yes, that issue was about the name of the server ... is your server name unraid ?

     

    If you look in /var/local/emhttp/var.ini, what's the name of the server there (entry "NAME") ?

    Yes I did check that also, forgot to mention it.

    Quote

    cat /var/local/emhttp/var.ini | grep -i name
    NAME="unraid"
    shareAvahiSMBName="%h"
    shareAvahiAFPName="%h-AFP"
    sbName="/boot/config/super.dat"

    I wonder why I won't get that file which is missing...what is it for?

  8. I'm having a similar issue to Cilusse I think.

    My output is

    Quote

    /usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir '/boot/config/ssl/certs'
    I: 2020/09/16 18:28:32 app.go:58: controlr v2020.05.09|2.19.0 starting ...
    I: 2020/09/16 18:28:32 app.go:66: No config file specified. Using app defaults ...
    I: 2020/09/16 18:28:32 app.go:290: cert: generating self certs
    F: 2020/09/16 18:28:33 app.go:73: Unable to retrieve unRAID info (key.WriteFile: open /boot/config/ssl/certs/controlr_key.pem: no such file or directory). Exiting now ...

    and output from ls -l is

    Quote

    ls -l /boot/config/ssl/certs
    total 4
    -rw------- 1 root root 2868 Sep 16 15:04 unraid_unraid_bundle.pem

    I have tried to delete the files I had in certs, and then go from yes on ssl to no, and then back. even rebooted. but I still only get the one file.

    As you can see from the first qoute I get the error that my controlr_key.pem is missing, but I can't seem to re-create it.

  9. 4 hours ago, coffeepen said:

    any idea why im getting this error?


     

    
    $ borg mount ./ mount
    
    borg mount not available: loading FUSE support failed [ImportError: No module named 'llfuse']

     

    i def have llfuse installed and up-to-date in nerd pack

     

    
    Tower nerdpack: llfuse-1.1 package up to date, checksum ok.

     

    Would it be better to use a docker container to do this instead of user scripts then?

    We tried making mount command work earlier in the thread, 

    but I gave up :( Please do tell if you find out some way to make it work!

     

  10. 11 hours ago, dmacias said:

    Try pip3

     

    Edit:

    I got it to install on my dev vm. I had to install the slackware fuse3 and then pip3 install pyfuse3. Not sure what installing fuse3 on top of fuse2 will do though

    upgradepkg --install-new fuse3-3.7.0-x86_64-1.txz 

    +==============================================================================
    | Upgrading fuse3-3.6.2-x86_64-1_SBo package using ./fuse3-3.7.0-x86_64-1.txz
    +==============================================================================
    Pre-installing package fuse3-3.7.0-x86_64-1...
    Removing package: fuse3-3.6.2-x86_64-1_SBo-upgraded-2019-10-29,17:32:30
    Verifying package fuse3-3.7.0-x86_64-1.txz.
    Installing package fuse3-3.7.0-x86_64-1.txz:
    PACKAGE DESCRIPTION:
    # fuse3 (Filesystem in Userspace v3)
    #
    # FUSE is a simple interface for userspace programs to export a virtual
    # filesystem to the Linux kernel. FUSE also aims to provide a secure
    # method for non privileged users to create and mount their own
    # filesystem implementations.
    #
    # Homepage: https://github.com/libfuse/libfuse
    #
    Executing install script for fuse3-3.7.0-x86_64-1.txz.
    Package fuse3-3.7.0-x86_64-1.txz installed.
    Package fuse3-3.6.2-x86_64-1_SBo upgraded with new package ./fuse3-3.7.0-x86_64-1.txz.
    root@unraid:/mnt/user/non-share.files# pip3 install pyfuse3
    Collecting pyfuse3
      Using cached https://files.pythonhosted.org/packages/0e/f6/fd90c178fd2e3a7db9744769c70ee8c88ce83140580508bcc964f1614b7f/pyfuse3-2.0.0.tar.gz
        ERROR: Complete output from command python setup.py egg_info:
        ERROR: Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/tmp/pip-install-i438an_4/pyfuse3/setup.py", line 275, in <module>
            main()
          File "/tmp/pip-install-i438an_4/pyfuse3/setup.py", line 74, in main
            compile_args = pkg_config('fuse3', cflags=True, ldflags=False, min_ver='3.2.0')
          File "/tmp/pip-install-i438an_4/pyfuse3/setup.py", line 163, in pkg_config
            if subprocess.call(cmd) != 0:
          File "/usr/lib64/python3.7/subprocess.py", line 323, in call
            with Popen(*popenargs, **kwargs) as p:
          File "/usr/lib64/python3.7/subprocess.py", line 775, in __init__
            restore_signals, start_new_session)
          File "/usr/lib64/python3.7/subprocess.py", line 1522, in _execute_child
            raise child_exception_type(errno_num, err_msg, err_filename)
        FileNotFoundError: [Errno 2] No such file or directory: 'pkg-config': 'pkg-config'
        ----------------------------------------
    ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-i438an_4/pyfuse3/
     

    :( seems like it's stil not working. Am I using the wrong fuse-file?

  11. 6 minutes ago, dmacias said:
    On 10/27/2019 at 4:53 PM, Nischi said:
    Hey again
     
    I ran into another issue with borg today. The borg mount command requires the library llfuse, I tried installing it from nerdpack, but it seems like it won't find it.
    I get the following error:
    borg mount /backups/critical_files .
    borg mount not available: loading FUSE support failed [importError: No module named 'llfuse']
    Theres a github thread about this at https://github.com/borgbackup/borg/issues/1726 which seems resolved as soon as llfuse was added.
     
    Edit. Also found this comment "Install Python FUSE library Be sure to install it into the same Python environment as Borg itself."
    from https://docs.borgbase.com/restore/
     
    Edit again. Seems llfuse is depricated and pyfuse3 is recommended if possible. https://pypi.org/project/llfuse/
     
    Edit agan again.... emoji4.png
    llfuse from nerdpack is version 1.1. Just found this in /usr/lib64/python3.7/site-packages/borgbackup-1.1.10-py3.7.egg-info/requires.txt "[fuse]
    llfuse=1.3.4"
    So maybe just upgrading llfuse in nerdpack will fix this?

    What version of Unraid are you on? You could try installing setuptools and pip and then pip install pyfuse3. Let me know if that works. No since in messing with llfuse if it's deprecated.

    I'm on 6.8.0 rc4. I tried pip install pyfuse3, but I got an error.

    pip install pyfuse3
    DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
    Collecting pyfuse3
      Downloading https://files.pythonhosted.org/packages/0e/f6/fd90c178fd2e3a7db9744769c70ee8c88ce83140580508bcc964f1614b7f/pyfuse3-2.0.0.tar.gz (546kB)
         |████████████████████████████████| 552kB 1.8MB/s 
        ERROR: Complete output from command python setup.py egg_info:
        ERROR: Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/tmp/pip-install-7emqXn/pyfuse3/setup.py", line 224
            raise SystemExit('Cython needs to be installed for this command') from None
                                                                                 ^
        SyntaxError: invalid syntax
        ----------------------------------------
    ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-7emqXn/pyfuse3/

    After that I tried pip install cython, which successully installs it says, but the same error persists when trying pyfuse3 again.

  12. Hey again

     

    I ran into another issue with borg today. The borg mount command requires the library llfuse, I tried installing it from nerdpack, but it seems like it won't find it.

    I get the following error:

    borg mount /backups/critical_files .
    borg mount not available: loading FUSE support failed [ImportError: No module named 'llfuse']
    Theres a github thread about this at https://github.com/borgbackup/borg/issues/1726 which seems resolved as soon as llfuse was added.

     

    Edit. Also found this comment "Install Python FUSE library Be sure to install it into the same Python environment as Borg itself."

    from https://docs.borgbase.com/restore/

     

    Edit again. Seems llfuse is depricated and pyfuse3 is recommended if possible. https://pypi.org/project/llfuse/

     

    Edit agan again.... :)

    llfuse from nerdpack is version 1.1. Just found this in /usr/lib64/python3.7/site-packages/borgbackup-1.1.10-py3.7.egg-info/requires.txt "[fuse]
    llfuse<2.0,>=1.3.4"

    So maybe just upgrading llfuse in nerdpack will fix this?

  13. 33 minutes ago, nuhll said:

    Ok, i found it.

     

    Go to terminal and enter /usr/local/emhttp/plugins/unbalance/unbalance -port 6237 (if you close terminal, the session gets terminated)

     

    and then go manual in you rbrowser to yourip:6238

     

    Thanks!

    Pro tip. Perform the command from screen so you don't need to keep the terminal open all the time. Going through the same procedure as well now.

    • Like 2
  14. 2 minutes ago, dmacias said:
    23 minutes ago, Nischi said:
    I tried it, and it first seemed to work. but after trying to access any file it wouldn't work. instead showing the following when printing ls -la:
    ls -la
    /bin/ls: cannot access 'rar2fs': Transport endpoint is not connected

    d?????????  ? ?      ?        ?            ? rar2fs/
     

    I'll just roll back unrar to 5.6.1

    Thank you, started to work again immediately!

  15. 35 minutes ago, dmacias said:

    Just run this from the command line. I'll add it to the unrar package later
     

    
    ln -s /usr/lib64/libunrar.so /usr/lib64/libunrar.so.5.6.1
     

     

    I tried it, and it first seemed to work. but after trying to access any file it wouldn't work. instead showing the following when printing ls -la:

    ls -la
    /bin/ls: cannot access 'rar2fs': Transport endpoint is not connected

    d?????????  ? ?      ?        ?            ? rar2fs/

     

  16. I'm sorry to say the latest version of unrar broke rar2fs.

    I get the error:

    rar2fs: error while loading shared libraries: libunrar.so.5.6.1: cannot open shared object file: No such file or directory

     

    It seems there's no newer version than the current one for rar2fs (1.27.2) so I'm not sure what the solution is, perhaps adding the old version of unrar alongside the new if possible?

     

    Meanwhile I have started an issue at the rar2fs github.

×
×
  • Create New...