Installing Webform CiviCRM from an Installation Profile

The background is that I have an installation profile that installs certain Drupal modules and CiviCRM. The list of module dependencies goes in my profile’s .info file. However if I include webform_civcirm the installation fails. The failure seems to be because CiviCRM has not been installed yet:

Starting Drupal installation. This takes a while. Consider using the   --notify global option.
WD php: Warning: include_once(sites/default/civicrm.settings.php): failed to open stream: No such file or directory in civicrm_initialize() (line 190 of /var/www/site/profiles/compuclient/modules/civicrm/drupal/civicrm.module).
WD php: Warning: include_once(): Failed opening 'sites/default/civicrm.settings.php' for inclusion  (include_path='') in civicrm_initialize() (line 190 of /var/www/site/profiles/compuclient/modules/civicrm/drupal/civicrm.module).
WD php: Warning: Invalid argument supplied for foreach() in civicrm_menu_alter() (line 482 of /var/www/site/profiles/compuclient/modules/civicrm/drupal/civicrm.module).
Drush command terminated abnormally due to an unrecoverable error.

I might be trying to do something the module just isn’t designed for, i.e. installing it when CiviCRM isn’t yet installed on the site. The step that installs CiviCRM takes place after the site’s dependencies are downloaded and enabled.

Disk Controller installation failure

I am installing 18.04 on a Dell R420 with a LSI SAS PERC H310 Disk controller. according to Dell certification This is fully supported in 14.04 but not in 18.04.

Yet when I carry out an install on this server from DVD it sees the disk, creates the partition, copied the files, makes it bootable, etc but on trying to boot the system up after installation it cannot see the disk and says no boot device.

where Users directory are stored during Mojave installation

My Mojave installation failed with a message “unable to install macOS” at the end of the installation process. The computer is a 2017 MacBook Air. The disk is crypted with Firevault.

Before proceeding any further (and, most probably, restoring a previous Time Machine backup) I would like to copy some files that had not been backed.

However, I cannot locate my personnal directory. I mount Macintosh HD using the disk utility in recovery mode, I scroll in the directory structure with the Terminal, but I can’t locate any Users directory.

In “/Volumes/Macintosh HD” I have only 6 “.”-prefixed files and dir and two regular directories:
– “Previous Content”
– “macOS Install Data”

In “Previous Content” :
– Users
– Volumes
– home
– net
however, this Users directory contains only an old subdirectory with only default content, and a Shared subdirectory with “SC Info” and “adi”.

According to the available disk space on Macintosh HD, my data should still be somewhere. Have you any idea where it could have been moved by the installation process ?

Best regards,

18.04 offline installation package

I created an offline installation package, which works fine on 16.04, but reports file not fonund archives/Release at 18.04. How do I create an offline installation package at 18.04? Is there a change with 16.04?

The packaging script I am using:
sudo mkdir /offline
sudo cp -r /var/cache/apt/archives /offline
sudo chmod 777 -R /offline/
sudo dpkg-scanpackages /offline/ /dev/null |gzip >/offline/Packages.gz
sudo cp /offline/Packages.gz /offline/archives/Packages.gz
tar zcvf /offline.tar.gz /offline/

Installation script:
mv /etc/apt/sources.list /etc/apt/sources.listback
echo “deb file:///offline archives/” > /etc/apt/sources.list
apt-get update

These errors will be reported here:
Get:1 file:/offline archives/ InRelease
Ign:1 file:/offline archives/ InRelease
Get:2 file:/offline archives/ Release
Err:2 file:/offline archives/ Release
File not found – /offline/archives/Release(2:No such file or directory)

Question: Help with GFCI outlet installation.?

I installed a new GFCI outlet and it isn’t working. It’s hot but doesn’t work if I plug in an appliance and the test switch doesn’t “test”. The instructions said something about having to check the line and the load. I don’t know what that means. So for now I have the breaker turned off until I can figure it out.

windows 10 installation creates partitions in wrong order and fails because it thinks EFI system partition…

I’m clean installing windows 10 on a dell laptop (this is my third time installing windows on this machine; previously I had windows and ubuntu dual booting in EFI mode) using a USB installation drive, and it’s failing.

In the partitioning step of the windows installation wizard, I delete all partitions (I don’t have any data), then create a new partition. It then automatically creates a 500 MB recovery partition, a 100 MB system partition, and a 16 MB MSR partition, then finally my primary partition.

I then select the primary partition to install windows. I then get a warning that “the partitions on the disk selected for installation are not in the recommended order”. I continue forward, and immediately get an error message saying “Windows detected that the EFI system partition was formatted as NTFS. Format it as FAT32, then restart the installation”.

But the system partition was just created by windows itself 5 seconds ago. How can this be possible?

I found many other threads on many other sites on this issue. I tried shift+F10 then diskpart then clean, which deletes the partitions. Same problem still persists.

Why is it complaining about a step it did itself automatically? Is it creating the partitions out of order, then complaining about it?

when I go into diskpart and do list partition: I get the following:

Partition 1  Recovery  499 MB
Partition 2  System    100 MB
Partition 3  Reserved   16 MB
Partition 4  Primary    48 GB

Again, those are the partitions that were automatically created when I clicked “new” and made a 50,000 MB allocation.
However, if I do list volume, I get this:

Volume 0   D                  DVD-ROM
Volume 1   E  Recovery  NTFS  Partition 499 MB
Volume 2                RAW   Partition  48 GB
Volume 3   F            FAT32 Partition 100 MB
Volume 4   C  SANDISK   FAT32 Removable  14 GB

First, the 100 MB, which I’m assuming is the EFI system partition, is FAT32, so the error message I got before is incorrect. However, something looks seriously wrong with the ordering and the letters here. C assigned to my USB drive? And why are the volumes a different order from the partitions?

What do I need to do to fix the issue above and actually install windows? This is my third time installing windows 10 on this machine, and the first two times worked without a hitch.

macOS 10.13: Windows 10 installation with Boot Camp

I tried to install Windows 10 via Boot Camp, but got stuck at the creating a new partition part. The error states:

An error occurred while partitioning the disk. Please run disk utility
to check and fix the error.

Here’s what I did:

  • Run first aid on my internal drive
  • Decrypted the internal drive
  • Start in Cmd + S mode and run the /sbin/fsck -fy command
  • Reinstall Mac OS High Sierra

After all this, I still get the same partitioning error as before.

How can I install Windows 10 properly with Boot Camp?

How do I find the home directory from another installation on a HDD?

I first installed a Raspberry Pi 3 with Raspbian GNU/Linux 7 (wheezy) through Berryboot on a HDD. I made some scripts in the /home/pi folder.

Now I reinstalled Raspbian on a USB stick instead, but I want to read and copy the files in /home/pi when the other disk is connected, but I can’t find them. I tried mounting the disk:

sudo fdisk -l
mkdir /tmp/mount
mount /dev/sdb2 /tmp/mount

But when I list this directory, all I find is data images lost+found shared tmp.

So where are all the files that I usually see when I ls / like bin boot dev etc export home...?

At first I thought the might be on the SD card running the Pi, that I erased while reinstalled berryboot, but since I found my old home directory when I booted of the HDD, I think it seems to be hidden somewhere.

I didn’t use encryption (that I know of), and I have passwords for both of the logins, even if the passwords are different.

Boot loading problem after Wubi installation of Ubuntu 12.04 on Windows 7

I was new in Ubuntu OS and I was just trying to use wubi windows installer to get a Ubuntu first for hands-on.

I followed exactly the same as the instructions and after reboot win7, there is no Ubuntu selection in windows boot manager, with only Windows 7 showing there evilly -.-

What I’ve found out was that the grub folder inside Ubuntu folder ( in my C: drive) was empty, either inside the ubuntudisksgrub or ubuntuinstallgrub. I thought this might be the reason why I could not load ubuntu during startup.

Cause I’ve also looked into the EasyBCD settings, and ubuntu entry with Bootloader Path: ubuntuwinbootwubildr.mbr was lying there peacefully, looking perfectly fine. However it was not in boot loader actually.

Is there a way to restore the grub folder with grub2, or is there any way to fix this problem so that I can find the “Ubuntu” selection at windows startup?

Very appreciate your help 🙂


Driver installation NVIDIA GeForce 940-mx not possible

This is a really specific question, I have come here before because of it but now I really think I am out of options and trying to see if anyone has experience with this specific video card.

Have tried to install the drivers for it 4 times in the past and nothing has worked. First time with the .run available in their webpage, nothing happened because an error appeared.

Then tried using nvidia-detect but it didn’t detect anything. So I added the non-free path to download nvidia-driver, nvidia-smi and nvidia-xconfig packages. The first time I ran them only having installed bumblebee but not bumblebee-nvidia so system wasn’t bootable after restarting, had to purge everything of nvidia’s and restore /etc/X11/xorg.conf to blank (original state), filed a bug report as someone in here recommended and they told me I needed bumblebee-nvidia for it to work. Downloaded bumblebee-nvidia, downloaded all those packages again and the system wouldn’t boot after restarting, again.

Then tried again with the package from NVIDIA’s webpage, this time without a graphics interface since it required that, and system crashed again.

**For all those 3 times that the system crashed I had to purge everything nvidia related and restore to blank the xorg.conf file and then type startx to have graphical interface again.

Next I tried what Debian’s official page says, basically get things from backports, followed the steps to the line and it wouldn’t boot again after restarting, purged everything I installed and everything nvidia related and it wouldn’t boot having used the same fix I had done the previous times. A kind heart told me I had to reinstall nouveau for it work again, and it did after doing that.

Can you please help me on how I could install this specific video card’s driver? I have tried everything I have found online and I don’t know enough to make up solutions as I go. I can’t change the brightness of the screen, can’t connect extra monitors, can’t use redshift (my eyes are sensitive) and can’t even invert colors because of the lack of the driver.

Previously asked question here on the site

Bug Report with more information

Using Debian 8 with Gnome 3, my computer has two video cards an intel (integrated) and the NVIDIA card. Please tell me if more information is required.

Edit: to put the results of the comment

$ sudo apt-get install bbswitch-dkms intel-microcode firmware-linux-nonfree bumblebee bumblebee-nvidia primus primus-libs primus-libs:i386 linux-headers-$(uname -r) nvidia-driver

Reading package lists... Done
Building dependency tree       
Reading state information... Done
bbswitch-dkms is already the newest version.
bbswitch-dkms set to manually installed.
primus is already the newest version.
primus-libs is already the newest version.
primus-libs set to manually installed.
bumblebee is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
bumblebee-nvidia : Depends: bumblebee (= 3.2.1-7) but 3.2.1-13~bpo8+1 is to be installed
E: Unable to correct problems, you have held broken packages.

Then did sudo apt-get -f install just in case and it didn’t remove or install anything.