EliasKotlyar / Xiaomi-Dafang-Hacks

4.19k stars 1k forks source link

There is no "Version" #1652

Closed S474N closed 3 years ago

S474N commented 3 years ago

There is no "Version" in webadmin.

Model | Xiaomi Dafang
Firmware date | Never updated. Make an update to get version.
Firmware branch | Never updated. Make an update to get version.
Firmware commit | Never updated through UI, please run update to get a version file.
Kernel Version | #21 PREEMPT Thu Oct 19 11:38:16 CST 2017
Bootloader Version | U-Boot 2013.07-gc78f10c-dirty (Jul 21 2018 - 20:20:37)
Local Time | Sun Dec 20 19:43:42 CET 2020

And down on page:

Dafang Hacks Version: Need to update to create a version file. Issues?

This issue took about half a year. Tried many updates over the web, but without effect

deennoo commented 3 years ago

Same for my to dafang.

this creat an issue when using autoupdate

jmtatsch commented 3 years ago

Can you try again with a fresh checkout from beta?

S474N commented 3 years ago

@jmtatsch System -> Update -> Update firmware (beta)....nothing changes.

jmtatsch commented 3 years ago

Fresh checkout from git. Not autoupdate as it may be broken.

S474N commented 3 years ago

Removed SD card, deleted files, downloaded and extracted directory /firmware_mod to SD card, upload my own /config/wpa_supplicant.conf

...and same problem.

hugalafutro commented 3 years ago

In my experience this is an issue with github ratelimiting.

You can run /system/sdcard/autoupdate.sh from shell via ssh manually and sometimes it shows the version as NULL and spits an error about github ratelimiting and using an github account with -u option, so I guess it's too many people updating at once or something I usually try few hours later and it works.

jmtatsch commented 3 years ago

There is also a new option for using a GitHub api key. User credentials don't work anymore.

S474N commented 3 years ago

@hugalafutro tested your command, but nothing changed.

[root@K9:sdcard]# ./autoupdate.sh
Version file missing. Upgrade to last commit 7d2eeba
Github limit exceeded, try with an account (-u option)
autoupdate.sh needs to be updated. Overwrite?
[Y]es or [N]o or [A]ll?
A
run.sh updated.
uEnv.bootfromnand.t20l.txt created.
uEnv.bootfromnand.txt is up to date.
uEnv.bootfromsdcard.t20l.txt created.
uEnv.bootfromsdcard.txt is up to date.
bin/README.md is up to date.
bin/audioplay is up to date.
bin/autonight is up to date.
bin/avconv is up to date.
bin/bftpd is up to date.
bin/busybox updated.
bin/curl is up to date.
bin/curl.bin is up to date.
bin/dosfsck is up to date.
bin/dosfslabel is up to date.
bin/dropbearmulti is up to date.
bin/fatlabel is up to date.
bin/fsck.fat is up to date.
bin/fsck.msdos is up to date.
bin/fsck.vfat is up to date.
bin/gdbserver is up to date.
bin/getimage is up to date.
bin/h264Snap is up to date.
bin/jpegoptim is up to date.
bin/jpegtran is up to date.
bin/jq is up to date.
bin/lighttpd is up to date.
bin/lighttpd.bin updated.
bin/mJpegStreamer is up to date.
bin/matrix is up to date.
bin/mkdosfs is up to date.
bin/mkfs.fat is up to date.
bin/mkfs.msdos is up to date.
bin/mkfs.vfat is up to date.
bin/mosquitto_pub is up to date.
bin/mosquitto_pub.bin is up to date.
bin/mosquitto_sub is up to date.
bin/mosquitto_sub.bin is up to date.
bin/motor is up to date.
bin/motor.bin is up to date.
bin/onvif_srvd is up to date.
bin/openRTSP is up to date.
bin/openRTSP.bin is up to date.
bin/openssl is up to date.
bin/ossplay is up to date.
bin/ossrecord is up to date.
bin/sample-Audio is up to date.
bin/sample-Encoder-h264-IVS-move is up to date.
bin/sample_sinfo is up to date.
bin/setconf updated.
bin/telegram is up to date.
bin/v4l2rtspserver-master updated.
bin/v4l2rtspserver-master.ini updated.
config/autonight.conf.dist is up to date.
config/bftpd.conf is excluded due to filter.
config/defaultgw.conf.dist is up to date.
config/hostname.conf.dist is up to date.
config/ldr-average.conf is excluded due to filter.
config/letsencrypt.conf.dist is up to date.
config/lighttpd.conf.dist updated.
config/lighttpd.user is excluded due to filter.
config/matrix.conf.dist is up to date.
config/motion.conf.dist is up to date.
config/mqtt.conf.dist updated.
config/ntp_srv.conf.dist is up to date.
config/openssl.cnf is up to date.
config/osd.conf is excluded due to filter.
config/ptz_presets.conf.dist updated.
config/resolv.conf.dist is up to date.
config/rtspserver.conf.dist updated.
config/sendmail.conf.dist is up to date.
config/staticip.conf.dist is up to date.
config/swap.conf.dist is up to date.
config/telegram.conf.dist is up to date.
config/timelapse.conf is excluded due to filter.
config/timezone.conf is excluded due to filter.
config/usb_eth_driver.conf.dist is up to date.
config/wpa_supplicant.conf.dist updated.
config/autostart/auto-night-detection is up to date.
config/autostart/rtsp created.
config/cron/crontabs/root is up to date.
config/ssl/letsencrypt_setup.sh updated.
config/ssl/cacert/cacert.pem is up to date.
config/ssl/cacert/update.sh is up to date.
config/userscripts/motiondetection/.gitkeep is up to date.
config/userscripts/startup/.gitkeep is up to date.
config/userscripts/startup/calibratePTZ.sh.dist updated.
controlscripts/auto-night-detection updated.
controlscripts/configureMotion updated.
controlscripts/configureOsd updated.
controlscripts/debug-on-osd updated.
controlscripts/ftp_server updated.
controlscripts/mqtt-control updated.
controlscripts/mqtt-status updated.
controlscripts/onvif-srvd created.
controlscripts/recording updated.
controlscripts/rtsp created.
controlscripts/saveConfig.sh created.
controlscripts/sound-on-startup updated.
controlscripts/telegram-bot updated.
controlscripts/telnet_server updated.
controlscripts/timelapse updated.
driver/asix.ko is up to date.
driver/audio.ko is up to date.
driver/sample_motor.ko is up to date.
driver/sensor_jxf22.ko is up to date.
driver/sensor_jxf23.ko is up to date.
driver/sinfo.ko is up to date.
driver/tx-isp.ko is up to date.
driver/usbnet.ko is up to date.
driver_t20l/8189fs.ko created.
driver_t20l/audio.ko created.
driver_t20l/exfat.ko created.
driver_t20l/sample_motor.ko created.
driver_t20l/sample_pwm_core.ko created.
driver_t20l/sample_pwm_hal.ko created.
driver_t20l/sample_speakerctl.ko created.
driver_t20l/sensor_jxf22.ko created.
driver_t20l/sensor_jxf23.ko created.
driver_t20l/sinfo.ko created.
driver_t20l/tx-isp.ko created.
etc/passwd is excluded due to filter.
etc/shadow is excluded due to filter.
fonts/CarroisGothicSC-Regular.ttf is up to date.
fonts/FromCartoonBlocks.ttf is up to date.
fonts/NotoMono-Regular.ttf is up to date.
fonts/NotoSans-Regular.ttf is up to date.
fonts/NotoSerif-Regular.ttf is up to date.
fonts/README.md is up to date.
fonts/Roboto-Black.ttf is up to date.
--------------- Stopping services ---------
stopping /system/sdcard/controlscripts/auto-night-detection
stopping /system/sdcard/controlscripts/configureMotion
stopping /system/sdcard/controlscripts/configureOsd
stopping /system/sdcard/controlscripts/debug-on-osd
stopping /system/sdcard/controlscripts/ftp_server
stopping /system/sdcard/controlscripts/mqtt-control
stopping /system/sdcard/controlscripts/mqtt-status
stopping /system/sdcard/controlscripts/onvif-srvd.sh
stopping /system/sdcard/controlscripts/recording
stopping /system/sdcard/controlscripts/rtsp-h264
stopping /system/sdcard/controlscripts/rtsp-mjpeg
stopping /system/sdcard/controlscripts/sound-on-startup
stopping /system/sdcard/controlscripts/telegram-bot
stopping /system/sdcard/controlscripts/telnet_server
stopping /system/sdcard/controlscripts/timelapse
--------------- Updating files ----------
---------------    Reboot    ------------
A reboot is needed, do you want to reboot now?
[Y]es or [N]o
hugalafutro commented 3 years ago

Yes it failed because it says in 2nd line: Github limit exceeded, try with an account (-u option)

That's what I'm saying, the script either uses the authors account info or just some free github access (I dunno how it works), but it keeps hitting the rate limits and not downloading the new files because of that.

S474N commented 3 years ago

Co which option is for user + API pass?

hugalafutro commented 3 years ago

I don;t think there is an option for us to do this it's just something that changed on github's side and the author needs to adjust the way the script logs into github. I am getting similar errors in node-red too. I'm confident the authors will get around to it at some point.

fhl206 commented 3 years ago

Try using ./autoupdate.sh -u username:token

You will need to generate your personal access token at https://github.com/settings/tokens

Note that this will leave your token visible in the shell history.

S474N commented 3 years ago

Tested, but same problem without version info:

[root@K9:sdcard]# ./autoupdate.sh -u my_username:my_token
Version file missing. Upgrade to last commit 7d2eeba
autoupdate.sh needs to be updated. Overwrite?
[Y]es or [N]o or [A]ll?
a
run.sh updated.
uEnv.bootfromnand.t20l.txt created.
uEnv.bootfromnand.txt is up to date.
uEnv.bootfromsdcard.t20l.txt created.
uEnv.bootfromsdcard.txt is up to date.
bin/README.md is up to date.
bin/audioplay is up to date.
bin/autonight is up to date.
bin/avconv is up to date.
bin/bftpd is up to date.
bin/busybox updated.
bin/curl is up to date.
bin/curl.bin is up to date.
bin/dosfsck is up to date.
bin/dosfslabel is up to date.
bin/dropbearmulti is up to date.
bin/fatlabel is up to date.
bin/fsck.fat is up to date.
bin/fsck.msdos is up to date.
bin/fsck.vfat is up to date.
bin/gdbserver is up to date.
bin/getimage is up to date.
bin/h264Snap is up to date.
bin/jpegoptim is up to date.
bin/jpegtran is up to date.
bin/jq is up to date.
bin/lighttpd is up to date.
bin/lighttpd.bin updated.
bin/mJpegStreamer is up to date.
bin/matrix is up to date.
bin/mkdosfs is up to date.
bin/mkfs.fat is up to date.
bin/mkfs.msdos is up to date.
bin/mkfs.vfat is up to date.
bin/mosquitto_pub is up to date.
bin/mosquitto_pub.bin is up to date.
bin/mosquitto_sub is up to date.
bin/mosquitto_sub.bin is up to date.
bin/motor is up to date.
bin/motor.bin is up to date.
bin/onvif_srvd is up to date.
bin/openRTSP is up to date.
bin/openRTSP.bin is up to date.
bin/openssl is up to date.
bin/ossplay is up to date.
bin/ossrecord is up to date.
bin/sample-Audio is up to date.
bin/sample-Encoder-h264-IVS-move is up to date.
bin/sample_sinfo is up to date.
bin/setconf updated.
bin/telegram is up to date.
bin/v4l2rtspserver-master updated.
bin/v4l2rtspserver-master.ini updated.
config/autonight.conf.dist is up to date.
config/bftpd.conf is excluded due to filter.
config/defaultgw.conf.dist is up to date.
config/hostname.conf.dist is up to date.
config/ldr-average.conf is excluded due to filter.
config/letsencrypt.conf.dist is up to date.
config/lighttpd.conf.dist updated.
config/lighttpd.user is excluded due to filter.
config/matrix.conf.dist is up to date.
config/motion.conf.dist is up to date.
config/mqtt.conf.dist updated.
config/ntp_srv.conf.dist is up to date.
config/openssl.cnf is up to date.
config/osd.conf is excluded due to filter.
config/ptz_presets.conf.dist updated.
config/resolv.conf.dist is up to date.
config/rtspserver.conf.dist updated.
config/sendmail.conf.dist is up to date.
config/staticip.conf.dist is up to date.
config/swap.conf.dist is up to date.
config/telegram.conf.dist is up to date.
config/timelapse.conf is excluded due to filter.
config/timezone.conf is excluded due to filter.
config/usb_eth_driver.conf.dist is up to date.
config/wpa_supplicant.conf.dist updated.
config/autostart/auto-night-detection is up to date.
config/autostart/rtsp created.
config/cron/crontabs/root is up to date.
config/ssl/letsencrypt_setup.sh updated.
config/ssl/cacert/cacert.pem is up to date.
config/ssl/cacert/update.sh is up to date.
config/userscripts/motiondetection/.gitkeep is up to date.
config/userscripts/startup/.gitkeep is up to date.
config/userscripts/startup/calibratePTZ.sh.dist updated.
controlscripts/auto-night-detection updated.
controlscripts/configureMotion updated.
controlscripts/configureOsd updated.
controlscripts/debug-on-osd updated.
controlscripts/ftp_server updated.
controlscripts/mqtt-control updated.
controlscripts/mqtt-status updated.
controlscripts/onvif-srvd created.
controlscripts/recording updated.
controlscripts/rtsp created.
controlscripts/saveConfig.sh created.
controlscripts/sound-on-startup updated.
controlscripts/telegram-bot updated.
controlscripts/telnet_server updated.
controlscripts/timelapse updated.
driver/asix.ko is up to date.
driver/audio.ko is up to date.
driver/sample_motor.ko is up to date.
driver/sensor_jxf22.ko is up to date.
driver/sensor_jxf23.ko is up to date.
driver/sinfo.ko is up to date.
driver/tx-isp.ko is up to date.
driver/usbnet.ko is up to date.
driver_t20l/8189fs.ko created.
driver_t20l/audio.ko created.
driver_t20l/exfat.ko created.
driver_t20l/sample_motor.ko created.
driver_t20l/sample_pwm_core.ko created.
driver_t20l/sample_pwm_hal.ko created.
driver_t20l/sample_speakerctl.ko created.
driver_t20l/sensor_jxf22.ko created.
driver_t20l/sensor_jxf23.ko created.
driver_t20l/sinfo.ko created.
driver_t20l/tx-isp.ko created.
etc/passwd is excluded due to filter.
etc/shadow is excluded due to filter.
fonts/CarroisGothicSC-Regular.ttf is up to date.
fonts/FromCartoonBlocks.ttf is up to date.
fonts/NotoMono-Regular.ttf is up to date.
fonts/NotoSans-Regular.ttf is up to date.
fonts/NotoSerif-Regular.ttf is up to date.
fonts/README.md is up to date.
fonts/Roboto-Black.ttf is up to date.
hls/hls.light.min.js is up to date.
hls/index.html is up to date.
lib/libBasicUsageEnvironment.so is up to date.
lib/libUsageEnvironment.so is up to date.
lib/libalog.so is up to date.
lib/libaudioProcess.so created.
lib/libcrypto.so updated.
lib/libcrypto.so.42 is up to date.
lib/libcrypto.so.43 is up to date.
lib/libcrypto.so.46 is up to date.
lib/libcrypto.so.46.0.1 is up to date.
lib/libgroupsock.so is up to date.
lib/libimp.so is up to date.
lib/libliveMedia.so updated.
lib/libmosquitto.so.1 is up to date.
lib/libmosquittopp.so.1 is up to date.
lib/libmp3lame.so is up to date.
lib/libopus.so updated.
lib/libssl.so is up to date.
lib/libssl.so.44 is up to date.
lib/libssl.so.45 is up to date.
lib/libssl.so.48 is up to date.
lib/libssl.so.48.0.1 is up to date.
lib/libsysutils.so is up to date.
lib/libtls.so created.
lib/libtls.so.20 is up to date.
lib/libtls.so.20.0.1 is up to date.
lib/libusb-0.1.so.4 is up to date.
lib/libusb-1.0.so.0 is up to date.
lib/libz.so created.
lib/libz.so.1 is up to date.
media/README.md is up to date.
media/police.wav is up to date.
root/.busybox_aliases is up to date.
root/.profile is up to date.
scripts/PTZpresets.sh updated.
scripts/common_functions.sh updated.
scripts/debugInOsd.sh updated.
scripts/detectionOff.sh updated.
scripts/detectionOn.sh updated.
scripts/detectionTracking.sh updated.
scripts/iwlist.awk updated.
scripts/ldr.sh updated.
scripts/merge_config.sh created.
scripts/mqtt-autodiscovery.sh updated.
scripts/mqtt-control.sh updated.
scripts/mqtt-status-interval.sh updated.
scripts/mqtt-status.sh is up to date.
scripts/nightmode.sh is up to date.
scripts/sendPictureMail.sh updated.
scripts/telegram-bot-daemon.sh updated.
scripts/timelapse.sh updated.
www/camera.html created.
www/control.html created.
www/favicon.ico is up to date.
www/index.html updated.
www/info.html created.
www/live.html created.
www/motion.html created.
www/net_services.html created.
www/sdcard.html created.
www/softnight.html created.
www/system.html created.
www/cgi-bin/action.cgi updated.
www/cgi-bin/api.cgi updated.
www/cgi-bin/currentpic.cgi updated.
www/cgi-bin/currentpicoptim.cgi is up to date.
www/cgi-bin/downloadpic.cgi created.
www/cgi-bin/dumpbootloader.cgi is up to date.
www/cgi-bin/func.cgi is up to date.
www/cgi-bin/state.cgi updated.
www/cgi-bin/ui_camera.cgi created.
www/cgi-bin/ui_control.cgi created.
www/cgi-bin/ui_info.cgi created.
www/cgi-bin/ui_live.cgi created.
www/cgi-bin/ui_motion.cgi created.
www/cgi-bin/ui_net_services.cgi created.
www/cgi-bin/ui_sdcard.cgi created.
www/cgi-bin/ui_softnight.cgi created.
www/cgi-bin/ui_system.cgi created.
www/css/sw_night.css is up to date.
www/css/w3-accordion.css created.
www/css/w3-slider.css created.
www/css/w3-toggle.css created.
www/css/themes/w3-theme-black.css created.
www/css/themes/w3-theme-dark-grey.css created.
www/css/themes/w3-theme-grey.css created.
www/css/themes/w3-theme-indigo.css created.
www/css/themes/w3-theme-light-green.css created.
www/css/themes/w3-theme-night-blue.css created.
www/css/themes/w3-theme-orange.css created.
www/css/themes/w3-theme-pink.css created.
www/css/themes/w3-theme-teal.css created.
www/css/themes/w3-theme-w3schools.css created.
www/img/bt-delete.png created.
www/img/outline.gif created.
www/img/unable_load.png created.
www/js/camera.js created.
www/js/control.js created.
www/js/index.js created.
www/js/info.js created.
www/js/live.js created.
www/js/motion.js created.
www/js/net_services.js created.
www/js/sdcard.js created.
www/js/softnight.js created.
www/js/system.js created.
www/json/timezone.json created.
www/json/timezones.tsv created.
www/lib/d3/d3.min.js created.
www/lib/datatable/datatables.min.css created.
www/lib/datatable/datatables.min.js created.
www/lib/datatable/sort_asc.png created.
www/lib/datatable/sort_both.png created.
www/lib/datatable/sort_desc.png created.
www/lib/event-drops/index.js created.
www/lib/event-drops/style.css created.
www/lib/fontawesome/LICENSE.txt created.
www/lib/fontawesome/css/all.css created.
www/lib/fontawesome/css/all.min.css created.
www/lib/fontawesome/css/brands.css created.
www/lib/fontawesome/css/brands.min.css created.
www/lib/fontawesome/css/fontawesome.css created.
www/lib/fontawesome/css/fontawesome.min.css created.
www/lib/fontawesome/css/regular.css created.
www/lib/fontawesome/css/regular.min.css created.
www/lib/fontawesome/css/solid.css created.
www/lib/fontawesome/css/solid.min.css created.
www/lib/fontawesome/css/svg-with-js.css created.
www/lib/fontawesome/css/svg-with-js.min.css created.
www/lib/fontawesome/css/v4-shims.css created.
www/lib/fontawesome/css/v4-shims.min.css created.
www/lib/fontawesome/js/all.js created.
www/lib/fontawesome/js/all.min.js created.
www/lib/fontawesome/js/brands.js created.
www/lib/fontawesome/js/brands.min.js created.
www/lib/fontawesome/js/conflict-detection.js created.
www/lib/fontawesome/js/conflict-detection.min.js created.
www/lib/fontawesome/js/fontawesome.js created.
www/lib/fontawesome/js/fontawesome.min.js created.
www/lib/fontawesome/js/regular.js created.
www/lib/fontawesome/js/regular.min.js created.
www/lib/fontawesome/js/solid.js created.
www/lib/fontawesome/js/solid.min.js created.
www/lib/fontawesome/js/v4-shims.js created.
www/lib/fontawesome/js/v4-shims.min.js created.
www/lib/fontawesome/less/_animated.less created.
www/lib/fontawesome/less/_bordered-pulled.less created.
www/lib/fontawesome/less/_core.less created.
www/lib/fontawesome/less/_fixed-width.less created.
www/lib/fontawesome/less/_icons.less created.
www/lib/fontawesome/less/_larger.less created.
www/lib/fontawesome/less/_list.less created.
www/lib/fontawesome/less/_mixins.less created.
www/lib/fontawesome/less/_rotated-flipped.less created.
www/lib/fontawesome/less/_screen-reader.less created.
www/lib/fontawesome/less/_shims.less created.
www/lib/fontawesome/less/_stacked.less created.
www/lib/fontawesome/less/_variables.less created.
www/lib/fontawesome/less/brands.less created.
www/lib/fontawesome/less/fontawesome.less created.
www/lib/fontawesome/less/regular.less created.
www/lib/fontawesome/less/solid.less created.
www/lib/fontawesome/less/v4-shims.less created.
www/lib/fontawesome/metadata/categories.yml created.
www/lib/fontawesome/metadata/icons.json created.
www/lib/fontawesome/metadata/icons.yml created.
www/lib/fontawesome/metadata/shims.json created.
www/lib/fontawesome/metadata/shims.yml created.
www/lib/fontawesome/metadata/sponsors.yml created.
www/lib/fontawesome/scss/_animated.scss created.
www/lib/fontawesome/scss/_bordered-pulled.scss created.
www/lib/fontawesome/scss/_core.scss created.
www/lib/fontawesome/scss/_fixed-width.scss created.
www/lib/fontawesome/scss/_icons.scss created.
www/lib/fontawesome/scss/_larger.scss created.
www/lib/fontawesome/scss/_list.scss created.
www/lib/fontawesome/scss/_mixins.scss created.
www/lib/fontawesome/scss/_rotated-flipped.scss created.
www/lib/fontawesome/scss/_screen-reader.scss created.
www/lib/fontawesome/scss/_shims.scss created.
www/lib/fontawesome/scss/_stacked.scss created.
www/lib/fontawesome/scss/_variables.scss created.
www/lib/fontawesome/scss/brands.scss created.
www/lib/fontawesome/scss/fontawesome.scss created.
www/lib/fontawesome/scss/regular.scss created.
www/lib/fontawesome/scss/solid.scss created.
www/lib/fontawesome/scss/v4-shims.scss created.
www/lib/jquerry/jquery.min.js created.
www/lib/selectareas/imgareaselect-animated.css created.
www/lib/selectareas/imgareaselect-default.css created.
www/lib/selectareas/jquery.selectareas.css created.
www/lib/selectareas/jquery.selectareas.min.js created.
www/lib/smoothie/smoothie.js created.
www/lib/w3css/w3.css created.
--------------- Stopping services ---------
stopping /system/sdcard/controlscripts/auto-night-detection
stopping /system/sdcard/controlscripts/configureMotion
stopping /system/sdcard/controlscripts/configureOsd
stopping /system/sdcard/controlscripts/debug-on-osd
stopping /system/sdcard/controlscripts/ftp_server
stopping /system/sdcard/controlscripts/mqtt-control
stopping /system/sdcard/controlscripts/mqtt-status
stopping /system/sdcard/controlscripts/onvif-srvd.sh
stopping /system/sdcard/controlscripts/recording
stopping /system/sdcard/controlscripts/rtsp-h264
stopping /system/sdcard/controlscripts/rtsp-mjpeg
stopping /system/sdcard/controlscripts/sound-on-startup
stopping /system/sdcard/controlscripts/telegram-bot
stopping /system/sdcard/controlscripts/telnet_server
stopping /system/sdcard/controlscripts/timelapse
--------------- Updating files ----------
---------------    Reboot    ------------
A reboot is needed, do you want to reboot now?
[Y]es or [N]o
y
10 seconds remaining before reboot (Press control-c to abort)
9 seconds remaining before reboot (Press control-c to abort)
8 seconds remaining before reboot (Press control-c to abort)
7 seconds remaining before reboot (Press control-c to abort)
6 seconds remaining before reboot (Press control-c to abort)
5 seconds remaining before reboot (Press control-c to abort)
4 seconds remaining before reboot (Press control-c to abort)
3 seconds remaining before reboot (Press control-c to abort)
2 seconds remaining before reboot (Press control-c to abort)
1 seconds remaining before reboot (Press control-c to abort)
jmtatsch commented 3 years ago

@xdissent could this somehow be related to #1651?

xdissent commented 3 years ago

Initially there is no /system/sdcard/VERSION file, and that’s why it doesn’t show a version in the UI. That’s normal. After an update the VERSION file should exist. Can you verify that @S474N ? If it still shows no version in the UI but a VERSION file exists on the SD, could you post the version file please?

S474N commented 3 years ago

@xdissent Dafang Cam is very unstable, so, again restarted (from/to USB), ssh, and there's no file VERSION.

[root@K9:sdcard]#  ls -la
total 800
drwxr-xr-x   19 root     root         32768 Jan  1  1970 .
drwxr-xr-x   10 root     root             0 Jan  1  1970 ..
-rwxr-xr-x    1 root     root            38 Jul 21 20:19 .lastCommitDate
drwxr-xr-x    3 root     root         32768 Apr 11  2020 DCIM
-rwxr-xr-x    1 root     root            32 Sep 28  2018 FileIndex.txt
drwxr-xr-x    2 root     root         32768 Oct 12  2018 Media
drwxr-xr-x    2 root     root         32768 Jun 10  2018 System Volume Information
-rwxr-xr-x    1 root     root         12322 Jul 21 20:19 autoupdate.sh
drwxr-xr-x    2 root     root         32768 Jul 21 20:19 bin
drwxr-xr-x    6 root     root         32768 Jul 21 20:19 config
drwxr-xr-x    2 root     root         32768 Apr 11  2020 controlscripts
drwxr-xr-x    2 root     root         32768 Nov 12  2018 driver
drwxr-xr-x    4 root     root         32768 Oct 14  2018 etc
drwxr-xr-x    2 root     root         32768 Oct 12  2018 fonts
drwxr-xr-x    2 root     root         32768 Dec 27  2018 hls
drwxr-xr-x    2 root     root         32768 Jul 21 20:19 lib
drwxr-xr-x    2 root     root         32768 Oct 14  2018 log
drwxr-xr-x    2 root     root         32768 Oct 14  2018 root
-rwxr-xr-x    1 root     root          9373 Jul 21 20:19 run.sh
drwxr-xr-x    2 root     root         32768 Jul 21 20:19 scripts
drwxr-xr-x    2 root     root         32768 Sep 28  2018 temp
-rwxr-xr-x    1 root     root           580 Oct 14  2018 uEnv.bootfromnand.txt
-rwxr-xr-x    1 root     root           575 Oct 14  2018 uEnv.bootfromsdcard.txt
-rwxr-xr-x    1 root     root           579 Oct 14  2018 uEnv.txt
drwxr-xr-x    5 root     root         32768 Jul 21 20:19 www
jmtatsch commented 3 years ago

Is your file system read only? Can you try to create a file manually?

jmtatsch commented 3 years ago

One of my cameras has the problem as well, this is in the VERSION file: {"date":"2020-12-27T10:12:08Z","branch":"beta","commit":"67794f2"}

The UI looks like this then:

Bildschirmfoto 2021-01-02 um 18 18 25
jmtatsch commented 3 years ago

A healthy one looks like this: {"date":"2021-01-01T14:24:11Z","branch":"beta","commit":"fe18a97"} I don't really see a difference.

S474N commented 3 years ago

@jmtatsch created file with vi VERSION, use your healty one and I can save and file is here. In menu:

image

So, where is problem? And how is version for stable?

Markus-Go commented 3 years ago

I had exactly the same problem of a non existing VERSION file and it was also not created during update(s). I am using "stable".

Since somebody asked, the VERSION file on stable is now: {"date":"2020-12-26T09:40:53Z","branch":"master","commit":"7d2eeba"}

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

S474N commented 3 years ago

Problem still persist