Code Monkey home page Code Monkey logo

Comments (6)

zidesm avatar zidesm commented on September 2, 2024

I haven't ran the new version yet myself, a new container is automatically created once a new version is released by the dev.
Will have a look at it this evening and comeback to you

from iventoy.

thestraycat avatar thestraycat commented on September 2, 2024

Thanks.

from iventoy.

zidesm avatar zidesm commented on September 2, 2024

On my side it works fine.

Fyi, probably a typo but you mentioned 1.10.20 instead of 1.0.20

from iventoy.

thestraycat avatar thestraycat commented on September 2, 2024

Yup a typo but the issue persists. Would you mind posting your working container config and i'll amend mine if there are any differences present?

Older working version "1.0.19"

image

image

Running '1.0.20' or 'latest' as of 18/06/2024

image

from iventoy.

thestraycat avatar thestraycat commented on September 2, 2024

@zidesm - Thanks for looking.

Issue seems to be with the upgrade process and having some image conguration saved from within iventoy it dosn't seem to want to migrate it to the new image correctly. New image dosn't seem to like to run against old persistant data from v1.0.19 (.dat file possible?) from version 1.0.19.

Logs on new instance (1.0.20) do reference version 1.0.19 when older persistant data is referenced.

Setting up a 2nd instance with my container settings listed further up works perfectly normally as expected.

What broke? I have a bit of config for various windows images (drivers, answer file locations for multiple versions etc) and dont want to have to re-make everything as it's a huge pain point.

Might have something to do with .dat migration or similar from 1.0.19 > 1.0.20 as logs in new clean latest image when starting with no previous old persistant data reference the fact that it looks to see if it needs to recover old data during startup.

"data/config.dat not found, no need for recovery." so assuming it fails importing .dat file from previous versions.

Starting the new container (after copying in config.data, inventoy.dat and mac.db from the older instance) manully dosn't retain previous config or cause it to sanity check the old data and reimport it correctly.

from iventoy.

thestraycat avatar thestraycat commented on September 2, 2024

@zidesm

UPDATE: Possibly fixed?

  • Created a new instance of iVentoy
  • Cloned the old persistant data from old container (v1.0.19) to new (latest tag v.1.0.20?)
  • Deleted old log.txt file from the new containers persistant data as it grumbles about it when first booted.
  • Started container.

Container now runs, but strangely still shows Iventoy version 1.0.19! Is this correct or a glitch? Does yours show iVentoy v1.0.20 in the Web UI? If so migration may be really glitchy?

This screenshot is running the latest tagged image which i was assuming should show a bump in iventoy version to v1.0.20?! (I have also cleaned my browser cache and tried it in 3 other browsers.)

image

Log from 'latest' new container version.

================================
2024-06-18 16:31:25 INFO Starting iVentoy

2024-06-18 16:31:25 INFO DEBUG:
2024-06-18 16:31:25 DEBUG Copy data files succesful
2024-06-18 16:31:25 DEBUG Copying user files succesful
iventoy start SUCCESS PID=24

Please open your browser and visit http://127.0.0.1:26000 or http://x.x.x.x:26000 (x.x.x.x is any valid IP address)

2024/06/18 16:31:28.880 [PXE] [5] wim </sources/boot.wim> already exist
2024/06/18 16:31:28.881 [PXE] [5] Find in /boot/bcd ...
2024/06/18 16:31:28.881 [PXE] [5] Find wim flag:</boot.wim>
2024/06/18 16:31:28.881 [PXE] [5] Find wim flag:</sources/boot.wim>
2024/06/18 16:31:28.881 [PXE] [5] wim </sources/boot.wim> already exist
2024/06/18 16:31:28.881 [PXE] [5] Find wim flag:</sources/boot.wim>
2024/06/18 16:31:28.881 [PXE] [5] wim </sources/boot.wim> already exist
2024/06/18 16:31:28.882 [PXE] [5] [WIM 0] /sources/boot.wim [Seek:37939200 Size:144734333 RecSeek:0]
2024/06/18 16:31:28.882 [PXE] [5] collect wim files finished.
2024/06/18 16:31:28.882 [PXE] [5] Phase1 parse image <iso/Windows/Windows_7_AIO_(UEFI).iso> finished success
2024/06/18 16:31:32.205 [PXE] [6] No boot.wim found.
2024/06/18 16:31:32.205 [PXE] [6] img <iso/VMWare/VMware_VCSA_all_7.0.1_17327517.iso> OS type:WinPE
2024/06/18 16:31:32.205 [PXE] [6] collect wim files for <iso/VMWare/VMware_VCSA_all_7.0.1_17327517.iso> ...
2024/06/18 16:31:32.205 [PXE] [6] collect wim files finished.
2024/06/18 16:31:32.205 [PXE] [6] Phase1 parse image <iso/VMWare/VMware_VCSA_all_7.0.1_17327517.iso> finished success
2024/06/18 16:31:32.205 [PXE] ================= PXE IMG DUMP =================
2024/06/18 16:31:32.205 [PXE] [1] <Linux/ubuntu-23.10.1-desktop-amd64.iso> <5173995520> <x86_64> Initrd:1
2024/06/18 16:31:32.205 [PXE] [2] <Windows/Win11_23H2_English_x64_(UEFI).iso> <6705289216> Wim:0/1
2024/06/18 16:31:32.205 [PXE] [3] <Windows/Win11_23H2_English_x64_(BIOS).iso> <6860177408> Wim:0/1
2024/06/18 16:31:32.205 [PXE] [4] <Windows/Win10_22H2_EnglishInternational_x64v1(UEFI-BIOS).iso> <6135633920> Wim:0/1
2024/06/18 16:31:32.205 [PXE] [5] <Windows/Windows_7_AIO_(UEFI).iso> <4093181952> Wim:0/1
2024/06/18 16:31:32.205 [PXE] [6] <VMWare/VMware_VCSA_all_7.0.1_17327517.iso> <8092354560> Wim:0/0
2024/06/18 16:31:32.205 [PXE] [7] <VMWare/ESX_7.0U1c.iso> <386863104> Initrd:0
2024/06/18 16:31:32.205 [PXE] [8] <Tools/WinPE11_10_8_Sergei_Strelec_x86_x64_2023.06.25_English.iso> <5026682880> Wim:0/5
2024/06/18 16:31:32.205 [PXE] ================================================
2024/06/18 16:31:32.205 [PXE] Module init OK ...
2024/06/18 16:31:32.205 [PXE] Module init start ...
2024/06/18 16:31:32.205 [PXE] Module init OK ...
2024/06/18 16:31:32.205 [PXE] Module init start ...
2024/06/18 16:31:32.205 [PXE] Module init OK ...
2024/06/18 16:31:32.205 [PXE] Module init start ...
2024/06/18 16:31:32.218 [HTTP] HTTP API service is running on 0.0.0.0:26000 ...
2024/06/18 16:31:32.268 [PXE] Module init OK ...
2024/06/18 16:31:32.268 [PXE] Module init start ...
2024/06/18 16:31:32.282 [PXE] Module init OK ...
2024/06/18 16:31:32.282 [PXE] <535735305a57776f55696b6757475676626968534b5342445546556752544d744d5449304d4342574d69424149444d754e44424853486f3d>
2024/06/18 16:31:32.282 [PXE] <595751354d4449314d444135595455784d4463774e6a41774d6a55354d47466b4e5445355954426c4d47593d>
2024/06/18 16:31:32.282 [PXE] ef274c34ec4ddb76d3a1d0423eed23fb13ab47d2bedb111a6e97947829783f3a
2024/06/18 16:31:32.282 [PXE] ====================== SYSTEM IP LIST ===================================
2024/06/18 16:31:32.282 [PXE] [1] 192.168.1.41 255.255.255.0 192.168.1.1 eth0
2024/06/18 16:31:32.282 [PXE] =========================================================================
2024/06/18 16:31:32.282 [PXE] PXE cofigure recovery ...
2024/06/18 16:31:32.283 [PXE] data/config.dat is valid, now recover data ...
2024/06/18 16:31:32.283 [PXE] Recover: dhcp server mode 1
2024/06/18 16:31:32.283 [PXE] Recover: boot background mode 0
2024/06/18 16:31:32.283 [PXE] Recover: efi boot file 0
2024/06/18 16:31:32.283 [PXE] Recover: boot resolution 1280 x 800
2024/06/18 16:31:32.283 [PXE] Recover: ip:192.168.1.40 mask:255.255.255.0 gateway:192.168.1.1 pool:[192.168.1.200-192.168.1.219]
2024/06/18 16:31:32.283 [PXE] Recover: HTTP port:16000 NBD port:10809 TFTP timeout:5 TFTP max-retransmit:3
2024/06/18 16:31:32.283 [PXE] Recover filter [deny] mode
2024/06/18 16:31:32.284 [PXE] [2] recover img data for <iso/Windows/Win11_23H2_English_x64_(UEFI).iso>
2024/06/18 16:31:32.284 [PXE] [2] recover auto script </app/scripts/W11/Win11_23H2_English_x64_(UEFI)/autounattend.xml>
2024/06/18 16:31:32.284 [PXE] [2] auto_default:0 auto_timeout:0 auto_count:1
2024/06/18 16:31:32.284 [PXE] [2] recover injection </app/injectionfiles/Windows/windows_injection.7z>
2024/06/18 16:31:32.284 [PXE] [3] recover img data for <iso/Windows/Win11_23H2_English_x64_(BIOS).iso>
2024/06/18 16:31:32.284 [PXE] [3] recover auto script </app/scripts/W11/Win11_23H2_English_x64_(BIOS)/autounattend.xml>
2024/06/18 16:31:32.284 [PXE] [3] auto_default:0 auto_timeout:0 auto_count:1
2024/06/18 16:31:32.284 [PXE] [3] recover injection </app/injectionfiles/Windows/windows_injection.7z>
2024/06/18 16:31:32.284 [PXE] [4] recover img data for <iso/Windows/Win10_22H2_EnglishInternational_x64v1(UEFI-BIOS).iso>
2024/06/18 16:31:32.284 [PXE] [4] recover auto script </app/scripts/W11/Win10_22H2_EnglishInternational_x64v1_(UEFI)/autounattend.xml>
2024/06/18 16:31:32.284 [PXE] [4] recover auto script </app/scripts/W11/Win10_22H2_EnglishInternational_x64v1_(BIOS)/autounattend.xml>
2024/06/18 16:31:32.284 [PXE] [4] auto_default:0 auto_timeout:0 auto_count:2
2024/06/18 16:31:32.284 [PXE] [4] recover injection </app/injectionfiles/Windows/windows_injection.7z>
2024/06/18 16:31:32.284 [PXE] [5] recover img data for <iso/Windows/Windows_7_AIO_(UEFI).iso>
2024/06/18 16:31:32.284 [PXE] [5] auto_default:0 auto_timeout:0 auto_count:0
2024/06/18 16:31:32.284 [PXE] [5] recover injection </app/injectionfiles/Windows/windows_injection.7z>
2024/06/18 16:31:32.284 [PXE] =============== PXE cofigure recovery finished ===============
2024/06/18 16:31:32.284 [PXE] ########## iVentoy auto running. #########

from iventoy.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.