Jump to content

James_Darkness

Members
  • Posts

    86
  • Joined

  • Last visited

Posts posted by James_Darkness

  1. 18 hours ago, JorgeB said:

    There are still macvlan call traces, also the server is constantly running out of RAM.

    i just added ram and ill try turning off vms and dockers 

  2. i installed this on a Linux VM since unraid has a crashing issue when a docker has a custom ip but im running into a error now

     

    lancache@lancache-Standard-PC-Q35-ICH9-2009:~/lancache$ sudo docker-compose up -d
    Creating network "lancache_default" with the default driver
    Creating lancache_sniproxy_1 ...
    Creating lancache_monolithic_1 ...
    Creating lancache_sniproxy_1   ... done

    Creating lancache_dns_1        ... done

    ERROR: for monolithic  a bytes-like object is required, not 'str'
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/docker/api/client.py", line 261, in _raise_for_status
        response.raise_for_status()
      File "/usr/lib/python3/dist-packages/requests/models.py", line 940, in raise_for_status
        raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.22/containers/ce8e0e80e94586aca94609a32cd27086ad2cc4826b7a8f886c91b54c10ccfdb4/start

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/compose/service.py", line 625, in start_container
        container.start()
      File "/usr/lib/python3/dist-packages/compose/container.py", line 241, in start
        return self.client.start(self.id, **options)
      File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 19, in wrapped
        return f(self, resource_id, *args, **kwargs)
      File "/usr/lib/python3/dist-packages/docker/api/container.py", line 1095, in start
        self._raise_for_status(res)
      File "/usr/lib/python3/dist-packages/docker/api/client.py", line 263, in _raise_for_status
        raise create_api_error_from_http_exception(e)
      File "/usr/lib/python3/dist-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
        raise cls(e, response=response, explanation=explanation)
    docker.errors.APIError: 500 Server Error: Internal Server Error ("b'driver failed programming external connectivity on endpoint lancache_monolithic_1 (4d83d6d16257591abd90a4d49cb97c2c7ead140900a180a7c5dabd3e08754a33): Bind for 0.0.0.0:443 failed: port is already allocated'")

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/bin/docker-compose", line 11, in <module>
        load_entry_point('docker-compose==1.25.0', 'console_scripts', 'docker-compose')()
      File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 72, in main
        command()
      File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 128, in perform_command
        handler(command, command_options)
      File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1107, in up
        to_attach = up(False)
      File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1088, in up
        return self.project.up(
      File "/usr/lib/python3/dist-packages/compose/project.py", line 565, in up
        results, errors = parallel.parallel_execute(
      File "/usr/lib/python3/dist-packages/compose/parallel.py", line 112, in parallel_execute
        raise error_to_reraise
      File "/usr/lib/python3/dist-packages/compose/parallel.py", line 210, in producer
        result = func(obj)
      File "/usr/lib/python3/dist-packages/compose/project.py", line 548, in do
        return service.execute_convergence_plan(
      File "/usr/lib/python3/dist-packages/compose/service.py", line 545, in execute_convergence_plan
        return self._execute_convergence_create(
      File "/usr/lib/python3/dist-packages/compose/service.py", line 460, in _execute_convergence_create
        containers, errors = parallel_execute(
      File "/usr/lib/python3/dist-packages/compose/parallel.py", line 112, in parallel_execute
        raise error_to_reraise
      File "/usr/lib/python3/dist-packages/compose/parallel.py", line 210, in producer
        result = func(obj)
      File "/usr/lib/python3/dist-packages/compose/service.py", line 465, in <lambda>
        lambda service_name: create_and_start(self, service_name.number),
      File "/usr/lib/python3/dist-packages/compose/service.py", line 457, in create_and_start
        self.start_container(container)
      File "/usr/lib/python3/dist-packages/compose/service.py", line 627, in start_container
        if "driver failed programming external connectivity" in ex.explanation:
    TypeError: a bytes-like object is required, not 'str'
    Error in sys.excepthook:
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
        with os.fdopen(os.open(pr_filename,
    FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_docker-compose.0.crash'

    Original exception was:
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/docker/api/client.py", line 261, in _raise_for_status
        response.raise_for_status()
      File "/usr/lib/python3/dist-packages/requests/models.py", line 940, in raise_for_status
        raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localhost/v1.22/containers/ce8e0e80e94586aca94609a32cd27086ad2cc4826b7a8f886c91b54c10ccfdb4/start

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/compose/service.py", line 625, in start_container
        container.start()
      File "/usr/lib/python3/dist-packages/compose/container.py", line 241, in start
        return self.client.start(self.id, **options)
      File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 19, in wrapped
        return f(self, resource_id, *args, **kwargs)
      File "/usr/lib/python3/dist-packages/docker/api/container.py", line 1095, in start
        self._raise_for_status(res)
      File "/usr/lib/python3/dist-packages/docker/api/client.py", line 263, in _raise_for_status
        raise create_api_error_from_http_exception(e)
      File "/usr/lib/python3/dist-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
        raise cls(e, response=response, explanation=explanation)
    docker.errors.APIError: 500 Server Error: Internal Server Error ("b'driver failed programming external connectivity on endpoint lancache_monolithic_1 (4d83d6d16257591abd90a4d49cb97c2c7ead140900a180a7c5dabd3e08754a33): Bind for 0.0.0.0:443 failed: port is already allocated'")

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/bin/docker-compose", line 11, in <module>
        load_entry_point('docker-compose==1.25.0', 'console_scripts', 'docker-compose')()
      File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 72, in main
        command()
      File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 128, in perform_command
        handler(command, command_options)
      File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1107, in up
        to_attach = up(False)
      File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1088, in up
        return self.project.up(
      File "/usr/lib/python3/dist-packages/compose/project.py", line 565, in up
        results, errors = parallel.parallel_execute(
      File "/usr/lib/python3/dist-packages/compose/parallel.py", line 112, in parallel_execute
        raise error_to_reraise
      File "/usr/lib/python3/dist-packages/compose/parallel.py", line 210, in producer
        result = func(obj)
      File "/usr/lib/python3/dist-packages/compose/project.py", line 548, in do
        return service.execute_convergence_plan(
      File "/usr/lib/python3/dist-packages/compose/service.py", line 545, in execute_convergence_plan
        return self._execute_convergence_create(
      File "/usr/lib/python3/dist-packages/compose/service.py", line 460, in _execute_convergence_create
        containers, errors = parallel_execute(
      File "/usr/lib/python3/dist-packages/compose/parallel.py", line 112, in parallel_execute
        raise error_to_reraise
      File "/usr/lib/python3/dist-packages/compose/parallel.py", line 210, in producer
        result = func(obj)
      File "/usr/lib/python3/dist-packages/compose/service.py", line 465, in <lambda>
        lambda service_name: create_and_start(self, service_name.number),
      File "/usr/lib/python3/dist-packages/compose/service.py", line 457, in create_and_start
        self.start_container(container)
      File "/usr/lib/python3/dist-packages/compose/service.py", line 627, in start_container
        if "driver failed programming external connectivity" in ex.explanation:
    TypeError: a bytes-like object is required, not 'str'

  3. On 4/9/2021 at 1:27 PM, ljm42 said:

    It looks like you are forwarding:
      port 1111/TCP to 192.168.1.75:1111
    Per the Remark on the Unraid.net settings page you need to forward:
      port 1111/TCP to 192.168.1.75:443

     

    This is because your webgui is running on port 443 internally, not port 1111

    i change it to 443 and i get the same error i then tried changing everything to 443 just to test and still

  4. On 11/15/2020 at 10:32 AM, bandiboo said:

    Sorry for restarting an old topic, but I dont know if you everr got this solved.

    I just ran into the same issue as you. (Unraid Nvidia 6.9-beta 30), ultimately it is down to the sucessful recognition of hardware

     

    For me the solution was VM configuration

    Machine: Q35-3.1

    BIOS: SeaBIOS

     

    Full XML Below

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm' id='6'>
      <name>pfSense</name>
      <uuid>f212c21d-5961-e131-3058-d5c9bb38b256</uuid>
      <metadata>
        <vmtemplate xmlns="unraid" name="FreeBSD" icon="freebsd.png" os="freebsd"/>
      </metadata>
      <memory unit='KiB'>2097152</memory>
      <currentMemory unit='KiB'>2097152</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>4</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='5'/>
        <vcpupin vcpu='1' cpuset='13'/>
        <vcpupin vcpu='2' cpuset='7'/>
        <vcpupin vcpu='3' cpuset='15'/>
      </cputune>
      <resource>
        <partition>/machine</partition>
      </resource>
      <os>
        <type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
      </os>
      <features>
        <acpi/>
        <apic/>
      </features>
      <cpu mode='host-passthrough' check='none' migratable='on'>
        <topology sockets='1' dies='1' cores='2' threads='2'/>
        <cache mode='passthrough'/>
        <feature policy='require' name='topoext'/>
      </cpu>
      <clock offset='utc'>
        <timer name='rtc' tickpolicy='catchup'/>
        <timer name='pit' tickpolicy='delay'/>
        <timer name='hpet' present='no'/>
      </clock>
      <on_poweroff>destroy</on_poweroff>
      <on_reboot>restart</on_reboot>
      <on_crash>restart</on_crash>
      <devices>
        <emulator>/usr/local/sbin/qemu</emulator>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/user/isos/pfSense-CE-2.4.5-RELEASE-p1-amd64.iso' index='2'/>
          <backingStore/>
          <target dev='hda' bus='sata'/>
          <readonly/>
          <boot order='2'/>
          <alias name='sata0-0-0'/>
          <address type='drive' controller='0' bus='0' target='0' unit='0'/>
        </disk>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source file='/mnt/user/domains/pfSense/vdisk1.img' index='1'/>
          <backingStore/>
          <target dev='hdc' bus='sata'/>
          <boot order='1'/>
          <alias name='sata0-0-2'/>
          <address type='drive' controller='0' bus='0' target='0' unit='2'/>
        </disk>
        <controller type='usb' index='0' model='ich9-ehci1'>
          <alias name='usb'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci1'>
          <alias name='usb'/>
          <master startport='0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci2'>
          <alias name='usb'/>
          <master startport='2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci3'>
          <alias name='usb'/>
          <master startport='4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
        </controller>
        <controller type='sata' index='0'>
          <alias name='ide'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
        </controller>
        <controller type='pci' index='0' model='pcie-root'>
          <alias name='pcie.0'/>
        </controller>
        <controller type='pci' index='1' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='1' port='0x10'/>
          <alias name='pci.1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
        </controller>
        <controller type='pci' index='2' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='2' port='0x11'/>
          <alias name='pci.2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
        </controller>
        <controller type='pci' index='3' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='3' port='0x12'/>
          <alias name='pci.3'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
        </controller>
        <controller type='pci' index='4' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='4' port='0x13'/>
          <alias name='pci.4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
        </controller>
        <controller type='pci' index='5' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='5' port='0x14'/>
          <alias name='pci.5'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <alias name='virtio-serial0'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
        </controller>
        <serial type='pty'>
          <source path='/dev/pts/1'/>
          <target type='isa-serial' port='0'>
            <model name='isa-serial'/>
          </target>
          <alias name='serial0'/>
        </serial>
        <console type='pty' tty='/dev/pts/1'>
          <source path='/dev/pts/1'/>
          <target type='serial' port='0'/>
          <alias name='serial0'/>
        </console>
        <channel type='unix'>
          <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-6-pfSense/org.qemu.guest_agent.0'/>
          <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
          <alias name='channel0'/>
          <address type='virtio-serial' controller='0' bus='0' port='1'/>
        </channel>
        <input type='tablet' bus='usb'>
          <alias name='input0'/>
          <address type='usb' bus='0' port='1'/>
        </input>
        <input type='mouse' bus='ps2'>
          <alias name='input1'/>
        </input>
        <input type='keyboard' bus='ps2'>
          <alias name='input2'/>
        </input>
        <graphics type='vnc' port='5901' autoport='yes' websocket='5701' listen='0.0.0.0' keymap='en-gb'>
          <listen type='address' address='0.0.0.0'/>
        </graphics>
        <video>
          <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
          <alias name='video0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
        </video>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x24' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev0'/>
          <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x24' slot='0x00' function='0x1'/>
          </source>
          <alias name='hostdev1'/>
          <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
        </hostdev>
        <memballoon model='none'/>
      </devices>
      <seclabel type='dynamic' model='dac' relabel='yes'>
        <label>+0:+100</label>
        <imagelabel>+0:+100</imagelabel>
      </seclabel>
    </domain>
     

    Hopefully this helps someone :)

    thankkkkkkkkkkkkkkkkk youuuuuuuuu i just copied this and added my ethernet card in the basic view and it works 

  5. On 9/11/2020 at 10:49 AM, JorgeB said:

    Macvlan call traces are usually cause by dockers with a custom IP address, more info here, also issues with the NICs, but might be related since they start after the macvlan errors, also some out of memory errors.

    so i uninstalled some out of date dockers but now it crashed differently this time i think. 

    the only dockers i have on are plex and lancache bundle 

    Sep 14 19:31:01

    syslog

  6. i've had unraid for a few years now but for the past few months it just keeps freezing on me and i have to hard reboot it 

    i started saving the syslog to the flash drive a few days ago the 1st crash was on the 7th the another on the 10th and today it did freeze but firefox wouldn't work and none of my computers saw it on the network 

     

    when i read the log i look for "microcode: microcode updated early to revision" and that's the first log that i see when i reboot my server after it freezes 

    syslog

  7. syslogso my server froze last night hopefully this is the log i need.

     

    On 8/25/2020 at 11:52 PM, Gragorg said:

    You have to setup something to grab the syslog files.  I used kiwi syslog server installed as a service on my pc to gather syslog information.  Mirror syslog to flash I don't use and by default I believe is should be set to no to prevent excessive wear and tear on your flash drive.

    I only did the option where it saves it to my flash 

  8. 15 minutes ago, Gragorg said:

    Once you reboot your diagnostics and syslog are reset.  You should setup remote "syslog server" under Settings so that you can save the syslog on another computer on your network. 

    I did it on my phone and typed in my phones ip 

    Is there anything else I should do 

    Screenshot_20200825-233436.jpg

  9. On 8/12/2020 at 4:37 PM, Supermillhouse said:

    I have a modified docker container that I have crow bared filebeat into. I cant guarantee I will maintain it but it is there in docker hub under my user account if you feel brave enough to find and use it. It should autobuild any changes to base docker but may also brake. I currently use it so for the time being I will try to keep it working, but no promises. Statistics use the elk link you have linked.

     

    You will probably need to add these additional configs to unraid to get filebeats working, change as applicable -

     

    Variable - LOGSTASH_HOST - 192.168.X.X:5044 (IP to Elk VM)

    Path - /mnt/user/appdata/lancache-bundle/log/reg (directory used so on a docker restart it doesnt re transmit all off the log file again)

     

    Good luck

    josh5, if you want me to delete this post just let me know.

    wait how do you install that 

    i open a terminal but during step 3 i don't know what to do 

  10. On 5/27/2020 at 1:21 AM, Squid said:

    Sorry, no.  If you can't get anywhere with either your network settings or pfSense, then open a new thread in general support and include your diagnostics

    I got it. One of your old posts actually 8 had to change the default gateway to 192.168.1.1 

  11. I think one of my raid 0 ssd cache drives is starting to brake and I can't make shares anymore and my old ones are all gone. I tryed turning it into raid 1 and stopping the arry and removing the drive from the cache and all my files are there but I can't make a share. 

     

    Second question can I password protected the web ui or something 

×
×
  • Create New...