/usr/share/rubygems-integration/all/gems/vagrant-2.0.2/lib/vagrant/batch_action.rb:71 run> terminated with exception
bash: line 5: /sbin/ifdown: No such file or directory bash: line 19: /sbin/ifup: No such file or directory
I have a Joomla menu module and I want to inject it into the template via Pages.
Am I understanding the wiki correctly when it says the syntax is:
<ktml:module position="[position]" name="[module]">
If the module name is 'Main Menu' then should the above be something like (Protostar template):
<ktml:module position="position-7" name="Main Menu"></ktml:module>
Or am I misinterpreting this?
Hello, I am on Mac OS X Mojave 10.14.6 and running vagrant 2.2.4 and virtualbox 5.2.34r133893 and installed the latest joomlatools-box. After doing
sudo apt-get update and
sudo apt-get upgrade I get to a screen where I have to choose my grub-loader. There are 3 options available (/dev/sda, /dev/sda1 and /dev/dm-0). I can either skip it by not selecting any option or can select only the first option. I then try to install PHP 7.2.28 with
sudo box php:use 7.2.28 and I get the following message:
$ sudo box php:use 7.2.28 Older versions of PHP require extra dependencies. Please wait while we set up all build dependencies. This can take a couple of minutes .. Downloading install script .. finished Install dependencies from Ubuntu repositories .. finished installed initramfs-tools package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: linux-firmware initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) ERROR: apt-get failed! See /tmp/install-phpmanager-dependencies.log for more details. php-7.2.28 does not exist, attempting to build .. Syncing the PHP source, this can take a few minutes .. Syncing the PHP source, this can take a few minutes .. Checking out php-7.2.28 tag Logging to /tmp/phpmanager-build-php-7.2.28.log Configuring makefile .. finished checking whether to enable LIBXML support... yes checking libxml2 install dir... /opt/libxml2-2.7.8 checking for xml2-config path... /usr/bin/xml2-config checking whether libxml build works... no configure: error: build test failed. Please check the config.log for details. ERROR: configure failed! See /tmp/phpmanager-build-php-7.2.28.log for more details.
Another error I was getting is:
cp: -r not specified; omitting directory '/etc/udev/rules.d/70-persistent-net.rules'
Which I can remove and lets me continue with the installation of PHP but it seems after doing so I get 503 error in phpmyadmin(can still work with it but no idea where it came from)
Should someone have to go through all these to install different versions of PHP?
apt-get upgrade is not something I recommend on the box, as it can break or overwrite our preconfigured packages. New releases of the box will always start from an updated Ubuntu version, so unless you have a specific reason to do so, I wouldn't run
apt-get upgrade. If you need an updated version of
particular packages, I recommend you update them individually.
What happened in your case was the
apt-get upgrade failed to complete installation of some packages (linux-firmware, initramfs-tools), which then interfere with the installation of the PHP dependencies, as apt-get tries to complete the previous installation.
sudo rmdir /etc/udev/rules.d/70-persistent-net.rules sudo apt-get install linux-firmware initramfs-tools
box php:use 7.2.28again should then download and build the required dependencies. This can take up to 20 minutes.
sudofor the box command
box php:listonly shows 7.2.28. Where did the 7.3 go? It seems I need to re-install it or something. Thank you.
box php:reset. It only lists custom versions, correct. I'll make a note to improve on that.