I'm am new to Raspberry Pi. Followed the direction for installing Octoprint and have been using w/o a camera for a month or two. First camera didn't work so I purchased a second knock off one with extra ribbon cables and can't get it to work either. I tried to get every piece of information. Not sure how to open/et the log file.
Raspberry Pi Camera v2.1
pi@octopi:~ $ cat /etc/debian_version
9.11
Camera not found error
Checked/switch cables multiple time and purchased 2nd knock off camera - tried all the same things.
pi@octopi:~ $ sudo vcdbg -f log msg
001518.416: brfs: File read: /mfs/sd/config.txt
001519.323: brfs: File read: 1630 bytes
001530.160: HDMI:EDID error reading EDID block 0 attempt 0
001531.461: HDMI:EDID error reading EDID block 0 attempt 1
001532.753: HDMI:EDID error reading EDID block 0 attempt 2
001534.047: HDMI:EDID error reading EDID block 0 attempt 3
001535.339: HDMI:EDID error reading EDID block 0 attempt 4
001536.634: HDMI:EDID error reading EDID block 0 attempt 5
001537.926: HDMI:EDID error reading EDID block 0 attempt 6
001539.220: HDMI:EDID error reading EDID block 0 attempt 7
001540.513: HDMI:EDID error reading EDID block 0 attempt 8
001541.807: HDMI:EDID error reading EDID block 0 attempt 9
001542.863: HDMI:EDID giving up on reading EDID block 0
001543.222: HDMI:EDID error reading EDID block 0 attempt 0
001544.520: HDMI:EDID error reading EDID block 0 attempt 1
001545.818: HDMI:EDID error reading EDID block 0 attempt 2
001547.116: HDMI:EDID error reading EDID block 0 attempt 3
001548.415: HDMI:EDID error reading EDID block 0 attempt 4
001549.713: HDMI:EDID error reading EDID block 0 attempt 5
001551.011: HDMI:EDID error reading EDID block 0 attempt 6
001552.309: HDMI:EDID error reading EDID block 0 attempt 7
001553.607: HDMI:EDID error reading EDID block 0 attempt 8
001554.905: HDMI:EDID error reading EDID block 0 attempt 9
001555.966: HDMI:EDID giving up on reading EDID block 0
001573.119: brfs: File read: /mfs/sd/config.txt
001796.996: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
001799.106: *** Restart logging
001799.172: brfs: File read: 1630 bytes
001799.977: hdmi: HDMI:EDID error reading EDID block 0 attempt 0
001801.285: hdmi: HDMI:EDID error reading EDID block 0 attempt 1
001802.588: hdmi: HDMI:EDID error reading EDID block 0 attempt 2
001803.890: hdmi: HDMI:EDID error reading EDID block 0 attempt 3
001805.192: hdmi: HDMI:EDID error reading EDID block 0 attempt 4
001806.494: hdmi: HDMI:EDID error reading EDID block 0 attempt 5
001807.796: hdmi: HDMI:EDID error reading EDID block 0 attempt 6
001809.099: hdmi: HDMI:EDID error reading EDID block 0 attempt 7
001810.400: hdmi: HDMI:EDID error reading EDID block 0 attempt 8
001811.703: hdmi: HDMI:EDID error reading EDID block 0 attempt 9
001812.768: hdmi: HDMI:EDID giving up on reading EDID block 0
001813.133: hdmi: HDMI:EDID error reading EDID block 0 attempt 0
001814.428: hdmi: HDMI:EDID error reading EDID block 0 attempt 1
001815.723: hdmi: HDMI:EDID error reading EDID block 0 attempt 2
001817.018: hdmi: HDMI:EDID error reading EDID block 0 attempt 3
001818.316: hdmi: HDMI:EDID error reading EDID block 0 attempt 4
001819.612: hdmi: HDMI:EDID error reading EDID block 0 attempt 5
001820.908: hdmi: HDMI:EDID error reading EDID block 0 attempt 6
001822.204: hdmi: HDMI:EDID error reading EDID block 0 attempt 7
001823.499: hdmi: HDMI:EDID error reading EDID block 0 attempt 8
001824.794: hdmi: HDMI:EDID error reading EDID block 0 attempt 9
001825.852: hdmi: HDMI:EDID giving up on reading EDID block 0
001825.932: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
001826.003: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
001828.934: brfs: File read: /mfs/sd/cmdline.txt
001829.032: Read command line from file 'cmdline.txt':
001829.095: 'dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=b616d95f-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait'
001829.413: brfs: File read: 142 bytes
002387.778: brfs: File read: /mfs/sd/kernel7.img
002387.840: Loading 'kernel7.img' to 0x8000 size 0x510950
002392.240: No kernel trailer - assuming DT-capable
002392.328: brfs: File read: 5310800 bytes
002399.874: brfs: File read: /mfs/sd/bcm2710-rpi-3-b-plus.dtb
002399.936: Loading 'bcm2710-rpi-3-b-plus.dtb' to 0x518950 size 0x69ca
002554.160: brfs: File read: 27082 bytes
002559.411: brfs: File read: /mfs/sd/config.txt
002560.039: dtparam: audio=on
004545.941: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
004649.402: Device tree loaded to 0x2eff9200 (size 0x6df5)
004651.630: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
006039.372: vchiq_core: vchiq_init_state: slot_zero = 0xf7980000, is_master = 1
013462.760: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133
013763.538: camsubs: Camera not found
013763.617: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133
014064.378: camsubs: Camera not found
014064.451: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133
014065.211: camsubs: Camera not found
014065.287: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133
014066.042: camsubs: Camera not found
014066.115: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133
014066.878: camsubs: Camera not found
pi@octopi:~ $ raspistill -o cam.jpg
mmal: Cannot read camera info, keeping the defaults for OV5647
mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)
mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)
mmal: Failed to create camera component
mmal: main: Failed to create camera component
mmal: Camera is not detected. Please check carefully the camera module is installed correctly
pi@octopi:~ $ lsusb
Bus 001 Device 004: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub