pyrater

Members
  • Posts

    604
  • Joined

  • Last visited

Posts posted by pyrater

  1. On 4/17/2023 at 3:21 AM, salmar said:

    I've been working with the current dev to update the repo to a new location, the original dev has left the project and was maintaining the docker.

     

    You can update your docker settings now to point at tukirito/sygil-webui:latest or wait for the XML update. I would recommend recreating the local /sd/ volume by deleting it from your appdata after making sure you save any models or settings you want to keep. Those files have had updates for the streamlit UI changes.

     

    https://hub.docker.com/r/tukirito/sygil-webui

     

     

     

     

     

    I have asked for an official response in the discord. If confirmed i will update the XML for unraid.

  2. I would look at:

     

    Docker Hub: https://hub.docker.com/r/hlky/sd-webui

    GitHub: https://github.com/Sygil-Dev/sygil-webui/

    Documentation: https://sygil-dev.github.io/sygil-webui/

    Official Discord: https://discord.gg/gyXNe4NySY

    Official Support: https://github.com/Sygil-Dev/sygil-webui/discussions

     

    All i did was wrap the official docker image into an Unraid XML format. The official GITHUB has not been updated in over 2 months.

  3. I have no cluse how i deleted / misplaced my family photos. I was moving files around with 

     

    root@Icarus:~# #!/bin/bash
    chmod -R 777 /mnt/user/Data/Pictures\ and\ Home\ Vids/.Phone\ Uploads/
    chmod -R 777 /mnt/user/Downloading/PhotoImport/
    chmod -R a+x /mnt/user/Data/Pictures\ and\ Home\ Vids/.Phone\ Uploads/
    chmod -R a+x /mnt/user/Downloading/PhotoImport/
    rsync -avpr --progress --remove-source-files /mnt/user/Data/Pictures\ and\ Home\ Vids/.Phone\ Uploads/* /mnt/user/Downloading/PhotoImport/
    rm -rfvd /mnt/user/Data/Pictures\ and\ Home\ Vids/.Phone\ Uploads/*
    touch /mnt/user/Data/Pictures\ and\ Home\ Vids/.Phone\ Uploads/.ignore
    touch /mnt/user/Data/Pictures\ and\ Home\ Vids/.Phone\ Uploads/.ppignore
    sending incremental file list
    rsync: [sender] link_stat "/mnt/user/Data/Pictures and Home Vids/.Phone Uploads/*" failed: No such file or directory (2)
    
    sent 19 bytes  received 12 bytes  62.00 bytes/sec
    total size is 0  speedup is 0.00
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1336) [sender=3.2.7]
    root@Icarus:~# rsync -avpr --progress --remove-source-files /mnt/user/Data/Pictures\ and\ Home\ Vids/.Phone\ Uploads/* /mnt/user/Downloading/PhotoImport/
    sending incremental file list
    rsync: [sender] link_stat "/mnt/user/Data/Pictures and Home Vids/.Phone Uploads/*" failed: No such file or directory (2)
    
    sent 19 bytes  received 12 bytes  62.00 bytes/sec
    total size is 0  speedup is 0.00
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1336) [sender=3.2.7]
    root@Icarus:~# rsync -avpr --progress --remove-source-files /mnt/user/Data/Pictures\ and\ Home\ Vids/ /mnt/user/Downloading/PhotoImport/Display all 144 possibilities? (y or n)
    root@Icarus:~# rsync -avpr --progress --remove-source-files /mnt/user/Data/Pictures\ and\ Home\ Vids/* /mnt/user/Downloading/PhotoImport/
    sending incremental file list
    Basic training 2007.jpg
            445,790 100%  393.89MB/s    0:00:00 (xfr#1, ir-chk=1389/1390)
    CHIPS - A Bad Idea.mp4
         32,740,573 100%  213.86MB/s    0:00:00 (xfr#2, ir-chk=1388/1390)
    10 Year Vow Renewal/
    10 Year Vow Renewal/Annika Britt Photography PRINT RELEASE.docx
             93,141 100%  547.94kB/s    0:00:00 (xfr#3, ir-chk=1245/1390)
    10 Year Vow Renewal/_MG_0611 edit.jpg
            891,809 100%    4.81MB/s    0:00:00 (xfr#4, ir-chk=1244/1390)
    10 Year Vow Renewal/_MG_0612 vows.jpg
            972,399 100%    4.80MB/s    0:00:00 (xfr#5, ir-chk=1243/1390)
    10 Year Vow Renewal/_MG_0622  edit.jpg
            806,924 100%    3.56MB/s    0:00:00 (xfr#6, ir-chk=1242/1390)
    10 Year Vow Renewal/_MG_0626  edit.jpg
          1,064,185 100%    4.53MB/s    0:00:00 (xfr#7, ir-chk=1241/1390)
    10 Year Vow Renewal/_MG_0638 edit bw.jpg
            667,419 100%    2.72MB/s    0:00:00 (xfr#8, ir-chk=1240/1390)
    10 Year Vow Renewal/_MG_0638 edit.jpg
            756,972 100%    2.82MB/s    0:00:00 (xfr#9, ir-chk=1239/1390)

     

    Any clue on how to recover the files?!

  4. 22 hours ago, ency98 said:

    @pyrater yes I tried with the GPU ID. No action on the GPU with "all" or the GPU ID. Plex, jellyfin, tdarr, and a few other containers work with the GPU. I did notice that the SD-WEBUI does not have the NVIDIADRIVERCAPABILITES variable like the other containers that use the GPU have. Think I should add that var? 

     

    You can try i doubt it would work, not sure as i cannot duplicate the error.

     

  5. @drbaltar

     

    Quote

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/opt/conda/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 562, in _run_script
        exec(code, module.__dict__)
      File "/sd/scripts/webui_streamlit.py", line 174, in <module>
        layout()
      File "/sd/scripts/webui_streamlit.py", line 146, in layout
        layout()
      File "/sd/scripts/txt2vid.py", line 787, in layout
        video, seed, info, stats = txt2vid(prompts=prompt, gpu=st.session_state["defaults"].general.gpu,
      File "/sd/scripts/txt2vid.py", line 418, in txt2vid
        load_diffusers_model(weights_path, torch_device)
      File "/opt/conda/lib/python3.8/site-packages/streamlit/runtime/caching/cache_utils.py", line 253, in wrapper
        return get_or_create_cached_value()
      File "/opt/conda/lib/python3.8/site-packages/streamlit/runtime/caching/cache_utils.py", line 240, in get_or_create_cached_value
        return_value = func(*args, **kwargs)
      File "/sd/scripts/txt2vid.py", line 278, in load_diffusers_model
        raise OSError("You need a huggingface token in order to use the Text to Video tab. Use the Settings page from the sidebar on the left to add your token.")
    OSError: You need a huggingface token in order to use the Text to Video tab. Use the Settings page from the sidebar on the left to add your token.
     

     

    Is what i get when i try txt to video, under settings it says its under construction.... that part may not be done.

  6. It is most likely due to using too much of the graphics card memory.  Try using a smaller model such as Waifu-Diffusion or look for one you like here https://huggingface.co/models?library=diffusers

     

    Download the new model .ckpt file and place it in your sd\models\custom folder. It should appear in your dropdown box in the webui (may require a restart). For example you can try midjourney-v4-diffusion which is 2.13 GB (https://huggingface.co/prompthero/midjourney-v4-diffusion/blob/main/mdjrny-v4.ckpt).

     

    • Like 1
  7. Overview: Support for Docker XML TEMPLATE of the Streamlit ui for Stable Diffusion.

    Application: Streamlit ui for Stable Diffusion

    Docker Hub: https://hub.docker.com/r/hlky/sd-webui https://hub.docker.com/r/tukirito/sygil-webui

    GitHub: https://github.com/Sygil-Dev/sygil-webui/

    Documentation: https://sygil-dev.github.io/sygil-webui/

    Official Discord: https://discord.gg/gyXNe4NySY

    Official Support: https://github.com/Sygil-Dev/sygil-webui/discussions

     

    Note: For issues with the actual software or docker image I recommend you login to the discord server to get support from the team there. This thread is simply to assist with unraid integration/general support. 

     

    By default the XML template uses the :latest tag which allows you to download the 4GB image. On boot the stable diffusion models will be downloaded to the mapped folder /mnt/user/appdata/sd-webui/sd/outputs (unless you changed it from default). The :runpod version is more up to date however this tag will download 32 GB to your unraid docker image on INSTALL (not run). This may quickly fill up your base docker image, use at your own risk.
     

    UPDATE:

    For those with graphics card with a small amount of memory (P2000 P2200 etc) try using a smaller model such as Waifu-Diffusion or look for one you like here https://huggingface.co/models?library=diffusers

     

    Download the new model .ckpt file and place it in your sd\models\custom folder. It should appear in your dropdown box in the webui (may require a restart). For example you can try midjourney-v4-diffusion which is 2.13 GB (https://huggingface.co/prompthero/midjourney-v4-diffusion/blob/main/mdjrny-v4.ckpt).

  8. A) In unraid do a custom XML and put in the variables. (not hard, but alot harder than you would think ).

     OR 

    B) A better way is search for arweave in community apps, when it returns nothing do click on the link in the top right that says "Click Here To Get More Results From DockerHub"

     

    Scroll through the list untill you find the one from  rafaelzimmermann, click install and CA will auto convert the XML template for you. Then in the next page put  -w={{YOUR_WALLET}} in the extra parameters block.

     

    I did not test this so it may not work but it should.

  9. i also got a fork of this working by doing something close to this:

     

    make a folder (/mnt/user/dockers/) is what i used

    cd into the folder 

     

    run

    docker pull hlky/sd-webui:latest

     

    run

    docker container run --rm -d -p 8501:8501 -e STREAMLIT_SERVER_HEADLESS=true -e "WEBUI_SCRIPT=webui_streamlit.py" -e "VALIDATE_MODELS=false" -v "${PWD}/outputs:/sd/outputs" --gpus all hlky/sd-webui:latest

     

    Directions

    https://sygil-dev.github.io/sygil-webui/docs/Installation/docker-guide/

  10. use phpmailer. Has nothing to do with unraid.

     

    <?php
    // PHPMailer classes into the global namespace
    use PHPMailer\PHPMailer\PHPMailer; 
    use PHPMailer\PHPMailer\Exception;
    // Base files 
    require '../PHPMailer/src/Exception.php';
    require '../PHPMailer/src/PHPMailer.php';
    require '../PHPMailer/src/SMTP.php';
    // create object of PHPMailer class with boolean parameter which sets/unsets exception.
    $mail = new PHPMailer(true);                              
    try {
        $mail->isSMTP(); // using SMTP protocol                                     
        $mail->Host = 'smtp.gmail.com'; // SMTP host as gmail 
        $mail->SMTPAuth = true;  // enable smtp authentication                             
        $mail->Username = '[email protected]';  // sender gmail host              
        $mail->Password = '234wdef@@$AE'; // sender gmail host password                          
        $mail->SMTPSecure = 'tls';  // for encrypted connection                           
        $mail->Port = 587;   // port for SMTP     
    
        $mail->setFrom('[email protected]', "Sender"); // sender's email and name
        $mail->addAddress('[email protected]', "Receiver");  // receiver's email and name
    	$mail->AddCC('[email protected]', 'Person Two');
    
        $mail->Subject = 'Test email';
        $mail->Body    = 'Hello World.';
    
        $mail->send();
        echo 'Message has been sent';
    } catch (Exception $e) { // handle error.
        echo 'Message could not be sent. Mailer Error: ', $mail->ErrorInfo;
    }
    ?>

     

  11. So every week or two my server locks up and I come home to having to hard power cycle the box. Can anyone please take a look and point me in the right direction?

     

    Feb  7 17:31:06 Icarus emhttpd: read SMART /dev/sdr
    Feb  7 22:41:24 Icarus kernel: ------------[ cut here ]------------
    Feb  7 22:41:24 Icarus kernel: WARNING: CPU: 2 PID: 0 at net/netfilter/nf_conntrack_core.c:1120 __nf_conntrack_confirm+0x9b/0x1e6 [nf_conntrack]
    Feb  7 22:41:24 Icarus kernel: Modules linked in: wireguard curve25519_x86_64 libcurve25519_generic libchacha20poly1305 chacha_x86_64 poly1305_x86_64 ip6_udp_tunnel udp_tunnel libblake2s blake2s_x86_64 libblake2s_generic libchacha ip6table_raw iptable_raw xt_mark nvidia_uvm(PO) xt_CHECKSUM ipt_REJECT nf_reject_ipv4 ip6table_mangle ip6table_nat iptable_mangle nf_tables vhost_net tun vhost vhost_iotlb tap xt_nat xt_tcpudp veth macvlan xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xt_addrtype iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 br_netfilter xfs md_mod nvidia_drm(PO) nvidia_modeset(PO) drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops nvidia(PO) drm backlight agpgart nct6775 hwmon_vid ip6table_filter ip6_tables iptable_filter ip_tables x_tables atlantic r8169 realtek edac_mce_amd wmi_bmof mxm_wmi kvm_amd ccp btusb btrtl btbcm kvm btintel bluetooth crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel r8125(O) aesni_intel mpt3sas nvme i2c_piix4
    Feb  7 22:41:24 Icarus kernel: ecdh_generic crypto_simd wmi ecc cryptd glue_helper nvme_core i2c_core raid_class scsi_transport_sas ahci rapl k10temp libahci button acpi_cpufreq [last unloaded: atlantic]
    Feb  7 22:41:24 Icarus kernel: CPU: 2 PID: 0 Comm: swapper/2 Tainted: P           O      5.10.28-Unraid #1
    Feb  7 22:41:24 Icarus kernel: Hardware name: Micro-Star International Co., Ltd. MS-7C34/MEG X570 GODLIKE (MS-7C34), BIOS 1.C5 12/28/2020
    Feb  7 22:41:24 Icarus kernel: RIP: 0010:__nf_conntrack_confirm+0x9b/0x1e6 [nf_conntrack]
    Feb  7 22:41:24 Icarus kernel: Code: e8 dc f8 ff ff 44 89 fa 89 c6 41 89 c4 48 c1 eb 20 89 df 41 89 de e8 36 f6 ff ff 84 c0 75 bb 48 8b 85 80 00 00 00 a8 08 74 18 <0f> 0b 89 df 44 89 e6 31 db e8 6d f3 ff ff e8 35 f5 ff ff e9 22 01
    Feb  7 22:41:24 Icarus kernel: RSP: 0018:ffffc90000284918 EFLAGS: 00010202
    Feb  7 22:41:24 Icarus kernel: RAX: 0000000000000188 RBX: 00000000000079e4 RCX: 00000000bb6f72a8
    Feb  7 22:41:24 Icarus kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa020a990
    Feb  7 22:41:24 Icarus kernel: RBP: ffff8881d708f840 R08: 000000000161b9eb R09: 0000000000000000
    Feb  7 22:41:24 Icarus kernel: R10: 0000000000000158 R11: ffff8881e8a79400 R12: 000000000000fc3b
    Feb  7 22:41:24 Icarus kernel: R13: ffffffff8210b440 R14: 00000000000079e4 R15: 0000000000000000
    Feb  7 22:41:24 Icarus kernel: FS:  0000000000000000(0000) GS:ffff889f9e880000(0000) knlGS:0000000000000000
    Feb  7 22:41:24 Icarus kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    Feb  7 22:41:24 Icarus kernel: CR2: 000000c0008c3008 CR3: 00000001d8a04000 CR4: 0000000000350ee0
    Feb  7 22:41:24 Icarus kernel: Call Trace:
    Feb  7 22:41:24 Icarus kernel: <IRQ>
    Feb  7 22:41:24 Icarus kernel: nf_conntrack_confirm+0x2f/0x36 [nf_conntrack]
    Feb  7 22:41:24 Icarus kernel: nf_hook_slow+0x39/0x8e
    Feb  7 22:41:24 Icarus kernel: nf_hook.constprop.0+0xb1/0xd8
    Feb  7 22:41:24 Icarus kernel: ? ip_protocol_deliver_rcu+0xfe/0xfe
    Feb  7 22:41:24 Icarus kernel: ip_local_deliver+0x49/0x75
    Feb  7 22:41:24 Icarus kernel: ip_sabotage_in+0x43/0x4d [br_netfilter]
    Feb  7 22:41:24 Icarus kernel: nf_hook_slow+0x39/0x8e
    Feb  7 22:41:24 Icarus kernel: nf_hook.constprop.0+0xb1/0xd8
    Feb  7 22:41:24 Icarus kernel: ? l3mdev_l3_rcv.constprop.0+0x50/0x50
    Feb  7 22:41:24 Icarus kernel: ip_rcv+0x41/0x61
    Feb  7 22:41:24 Icarus kernel: __netif_receive_skb_one_core+0x74/0x95
    Feb  7 22:41:24 Icarus kernel: netif_receive_skb+0x79/0xa1
    Feb  7 22:41:24 Icarus kernel: br_handle_frame_finish+0x30d/0x351
    Feb  7 22:41:24 Icarus kernel: ? ipt_do_table+0x570/0x5c0 [ip_tables]
    Feb  7 22:41:24 Icarus kernel: ? br_pass_frame_up+0xda/0xda
    Feb  7 22:41:24 Icarus kernel: br_nf_hook_thresh+0xa3/0xc3 [br_netfilter]
    Feb  7 22:41:24 Icarus kernel: ? br_pass_frame_up+0xda/0xda
    Feb  7 22:41:24 Icarus kernel: br_nf_pre_routing_finish+0x23d/0x264 [br_netfilter]
    Feb  7 22:41:24 Icarus kernel: ? br_pass_frame_up+0xda/0xda
    Feb  7 22:41:24 Icarus kernel: ? br_handle_frame_finish+0x351/0x351
    Feb  7 22:41:24 Icarus kernel: ? nf_nat_ipv4_pre_routing+0x1e/0x4a [nf_nat]
    Feb  7 22:41:24 Icarus kernel: ? br_nf_forward_finish+0xd0/0xd0 [br_netfilter]
    Feb  7 22:41:24 Icarus kernel: ? br_handle_frame_finish+0x351/0x351
    Feb  7 22:41:24 Icarus kernel: NF_HOOK+0xd7/0xf7 [br_netfilter]
    Feb  7 22:41:24 Icarus kernel: ? br_nf_forward_finish+0xd0/0xd0 [br_netfilter]
    Feb  7 22:41:24 Icarus kernel: br_nf_pre_routing+0x229/0x239 [br_netfilter]
    Feb  7 22:41:24 Icarus kernel: ? br_nf_forward_finish+0xd0/0xd0 [br_netfilter]
    Feb  7 22:41:24 Icarus kernel: br_handle_frame+0x25e/0x2a6
    Feb  7 22:41:24 Icarus kernel: ? br_pass_frame_up+0xda/0xda
    Feb  7 22:41:24 Icarus kernel: __netif_receive_skb_core+0x335/0x4e7
    Feb  7 22:41:24 Icarus kernel: __netif_receive_skb_list_core+0x78/0x104
    Feb  7 22:41:24 Icarus kernel: netif_receive_skb_list_internal+0x1bf/0x1f2
    Feb  7 22:41:24 Icarus kernel: ? napi_gro_receive+0x5a/0x88
    Feb  7 22:41:24 Icarus kernel: gro_normal_list+0x1d/0x39
    Feb  7 22:41:24 Icarus kernel: napi_complete_done+0x79/0x104
    Feb  7 22:41:24 Icarus kernel: aq_vec_poll+0x14a/0x190 [atlantic]
    Feb  7 22:41:24 Icarus kernel: net_rx_action+0xf4/0x29d
    Feb  7 22:41:24 Icarus kernel: __do_softirq+0xc4/0x1c2
    Feb  7 22:41:24 Icarus kernel: asm_call_irq_on_stack+0x12/0x20
    Feb  7 22:41:24 Icarus kernel: </IRQ>
    Feb  7 22:41:24 Icarus kernel: do_softirq_own_stack+0x2c/0x39
    Feb  7 22:41:24 Icarus kernel: __irq_exit_rcu+0x45/0x80
    Feb  7 22:41:24 Icarus kernel: common_interrupt+0x119/0x12e
    Feb  7 22:41:24 Icarus kernel: asm_common_interrupt+0x1e/0x40
    Feb  7 22:41:24 Icarus kernel: RIP: 0010:arch_local_irq_enable+0x7/0x8
    Feb  7 22:41:24 Icarus kernel: Code: 00 48 83 c4 28 4c 89 e0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 9c 58 0f 1f 44 00 00 c3 fa 66 0f 1f 44 00 00 c3 fb 66 0f 1f 44 00 00 <c3> 55 8b af 28 04 00 00 b8 01 00 00 00 45 31 c9 53 45 31 d2 39 c5
    Feb  7 22:41:24 Icarus kernel: RSP: 0018:ffffc90000137ea0 EFLAGS: 00000246
    Feb  7 22:41:24 Icarus kernel: RAX: ffff889f9e8a2380 RBX: 0000000000000002 RCX: 000000000000001f
    Feb  7 22:41:24 Icarus kernel: RDX: 0000000000000000 RSI: 0000000021af19e6 RDI: 0000000000000000
    Feb  7 22:41:24 Icarus kernel: RBP: ffff888106016800 R08: 0000b2f9c6a28ecd R09: 000000000000006b
    Feb  7 22:41:24 Icarus kernel: R10: 000000000000006e R11: 071c71c71c71c71c R12: 0000b2f9c6a28ecd
    Feb  7 22:41:24 Icarus kernel: R13: ffffffff820c8c40 R14: 0000000000000002 R15: 0000000000000000
    Feb  7 22:41:24 Icarus kernel: cpuidle_enter_state+0x101/0x1c4
    Feb  7 22:41:24 Icarus kernel: cpuidle_enter+0x25/0x31
    Feb  7 22:41:24 Icarus kernel: do_idle+0x1a6/0x214
    Feb  7 22:41:24 Icarus kernel: cpu_startup_entry+0x18/0x1a
    Feb  7 22:41:24 Icarus kernel: secondary_startup_64_no_verify+0xb0/0xbb
    Feb  7 22:41:24 Icarus kernel: ---[ end trace c4c00046f59c958f ]---
    Feb  8 17:57:40 Icarus kernel: Linux version 5.10.28-Unraid (root@Develop) (gcc (GCC) 9.3.0, GNU ld version 2.33.1-slack15) #1 SMP Wed Apr 7 08:23:18 PDT 2021
    Feb  8 17:57:40 Icarus kernel: Command line: BOOT_IMAGE=/bzimage initrd=/bzroot,/bzroot-gui
    Spoiler

     

     

  12. @Squid For those of use that refuse to use the myservers plugin can we please keep the usb backup option =). I am not doubting the merit of the myservers plugin but i cannot be the only one that does not like the direction unraid is going with that plugin. I do not want external telemetry, access, etc. 

     

    Note: I am not talking bad or downplaying the myservers plugin I just simply do not want to use it.