Search results

  1. A

    DAB not in dpkg-query in PVE 8.2 latest

    # dpkg-query -p dab dpkg-query: package 'dab' is not available # dpkg -l dab Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version...
  2. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    Finally solved it. See attachment. This accommodates version of PHP and and insserv / update-rc.d service for first boot and moves the random password of mysql (mariadb) to the first boot script. Used latest DAB on PVE 8.2.4. Hope this script makes it to the Proxmox Wiki as my access there has...
  3. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    Further checks show they are the same links pointing to the binary dash: # cp /usr/bin/sh /bin/sh cp: '/usr/bin/sh' and '/bin/sh' are the same file # ls /usr/bin/sh -al lrwxrwxrwx 1 root root 4 Jul 6 19:17 /usr/bin/sh -> dash # ls /bin/sh -al lrwxrwxrwx 1 root root 4 Jul 6 19:17 /bin/sh ->...
  4. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    In Debian Bullseye,: # which sh /usr/bin/sh Many scripts still use the shebang line as #!/bin/sh Hence it will be better to cp /usr/bin/sh /bin/sh instead of having to change it all over.
  5. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    Debian Bullseye has the shell script at /usr/bin/sh instead of older debian ones where it was at /bin/sh for the shebang line in executable scripts.
  6. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    /usr/lib/dab/scripts/mysql_randompw still uses insserv and hence we can build LXC templates in PVE 6.x and 7.x and then use them in PVE 8.x
  7. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    The package insserv does not not exist in Proxmox VE 8.2. The error is insserv: FATAL: service mountkernfs has to exist for service udev # apt install insserv Reading package lists... Done Building dependency tree... Done Reading state information... Done Suggested packages: bootchart2 The...
  8. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    The first boot script fails to get implemented in dab in debian bullseye using the standard install -m 0755 webroot_setup ${BASEDIR}/etc/init.d/ dab exec insserv webroot_setup in the Makefile with the error: dab exec insserv webroot_setup /usr/sbin/defenv: 10: exec: insserv: not found...
  9. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    The older php5-xsl is now usable in dab with php-xml which installs php7.4-xml now in debian bullseye
  10. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    Till such time that the scripts and DAB.pm are fixed, do not use constructs like dab task php --memlimit 128 in the Makefile
  11. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    Kindly correct DAB.pm and related scripts to allow installation of MySQL through it. In debian bullseye the location of cnf is at /etc/mysql/mariadb.conf.d/50-server.cnf In old versions of MySQL, the location of cnf file was at /etc/mysql/my.cnf Also the location php.ini that was at...
  12. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    apache2-mpm-prefork is no longer available in Debian 11 and above. Would apache2 suffice in the LXC templates ?
  13. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    IOf Apache is not going to be installed then the /var/www folder will not exist and hence a means of persistent folder creation should be used: mkdir -p ${BASEDIR}/var/www/webroot in the Makefile.
  14. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    Commenting out the initial lines for mysql/mariadb and the webroot_setup lines we now get the following erros: unpack: python3-minimal unpack: python3 unpack: python3-apt unpack: apt-listchanges configure standard packages Masking problematic systemd unit 'sys-kernel-config.mount' Masking...
  15. A

    [SOLVED] DAB latest on PVE 8.2 fails LXC creation - workaround

    install: libmpfr6 install: gawk install: galera-4 install: mysql-common install: mariadb-common install: mariadb-server-10.5 install: mariadb-server command 'lxc-attach -n 13ca25b2-6c55-44ad-be28-dc0b235a5267 --rcfile /var/lib/vz/template/builds/debian-11-bullseye-lamp-64/config --clear-env --...
  16. A

    Recent changes in VZDump.pm

    This is for the latest version of PVE v8.2.4 with # pveversion -v proxmox-ve: 8.2.0 (running kernel: 6.8.8-2-pve) pve-manager: 8.2.4 (running version: 8.2.4/faa83925c9641325) proxmox-kernel-helper: 8.1.0 proxmox-kernel-6.8: 6.8.8-2 proxmox-kernel-6.8.8-2-pve-signed: 6.8.8-2 ... ...
  17. A

    Recent changes in VZDump.pm

    Please check if the following changes to the pve-manager as in /usr/share/perl5/VZDump.pm are okay: Lines 480 to 492 got removed: my $subject_template = "vzdump backup status ({{hostname}}): {{status-text}}"; my $body_template = <<EOT; {{error-message}} {{heading-1 "Details"}} {{table...
  18. A

    PVE 8.2.2 changing hostname and showing template name of LXC container

    To change the host name of a LXC Container: LXC Container => DNS => hostname => Edit To see the name of the LXC Template used and date of LXC container creation there is currently no option. Attempting a updatedb and trying to locate 105.conf doesn't show the said file when the LXC container...
  19. A

    DAB corrections

    Solved by moving the "dab exec pera install ..." commands from the Makefile to normal "pear install / upgrade ..." commands at near the end of the one time initial setup file. Attached is the difference file after such pear intervention that may be merely uploaded as well in the Makefile itself.
  20. A

    DAB corrections

    Looks like the thread at https://forum.proxmox.com/threads/pear-install-thru-dab.12623/ doesn't work anymore. Any fixes?