Problems with adding sites/ Needs admin priviliges

Hi there,

My Local on Flywheel went Loco.
I could not add sites anymore and it gives me errors all the time.local-by-flywheel.log (359.1 KB)

Everything you need is added.

I also can’t acces a site i made allready after updating to flywheel 2.0

I can enter my allready built site now but can’t add new ones

May 29, 2017, 1:01 PM GMT+2 - warn: [main/docker-machine] VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 507 of file VBoxManageModifyVM.cpp
May 29, 2017, 1:05 PM GMT+2 - info: [main/index] before-quit: 
{ rJEyAKMJZ: 'running' }
May 29, 2017, 1:07 PM GMT+2 - info: [main/index] Existing Pressmatic data does not exist.
May 29, 2017, 1:07 PM GMT+2 - info: [main/set-docker-env] Getting Docker Machine env.
May 29, 2017, 1:07 PM GMT+2 - warn: [main/index] Unhandled Rejection at: Promise  Promise {
  <rejected> TypeError: Cannot use 'in' operator to search for 'version' in null
    at C:\Users\Jeremy\AppData\Local\Programs\local-by-flywheel\resources\app.asar\main\updater.js:1:17283
    at process._tickDomainCallback (internal/process/next_tick.js:129:7) }  reason:  TypeError: Cannot use 'in' operator to search for 'version' in null
    at C:\Users\Jeremy\AppData\Local\Programs\local-by-flywheel\resources\app.asar\main\updater.js:1:17283
    at process._tickDomainCallback (internal/process/next_tick.js:129:7)
May 29, 2017, 1:07 PM GMT+2 - info: [main/set-docker-env] Received Docker Machine env.
May 29, 2017, 1:07 PM GMT+2 - info: [renderer/CheckEnvPage] Check system promise response: [ undefined, true ] true
May 29, 2017, 1:07 PM GMT+2 - info: [main/docker-create-site-container] Creating container with 
{ Image: 'custom:1.2',
  Tty: true,
  Cmd: '/etc/scripts/sleep.sh',
  ExposedPorts: { '80/tcp': {}, '443/tcp': {}, '3306/tcp': {}, '1080/tcp': {} },
  HostConfig: 
   { Binds: 
      [ '/c/Users/Jeremy/Local Sites/diviworkx/app:/app',
        '/c/Users/Jeremy/Local Sites/diviworkx/logs/nginx:/var/log/nginx',
        '/c/Users/Jeremy/Local Sites/diviworkx/logs/apache:/var/log/apache2',
        '/c/Users/Jeremy/Local Sites/diviworkx/logs/php:/var/log/php',
        '/c/Users/Jeremy/Local Sites/diviworkx/logs/mysql:/var/log/mysql/',
        '/c/Users/Jeremy/Local Sites/diviworkx/conf/nginx:/etc/nginx/wordpress',
        '/c/Users/Jeremy/Local Sites/diviworkx/conf/php:/conf/php',
        '/c/Users/Jeremy/Local Sites/diviworkx/conf/apache:/etc/apache2' ],
     PortBindings: 
      { '80/tcp': [ { HostPort: '4000' } ],
        '443/tcp': [ { HostPort: '4003' } ],
        '3306/tcp': [ { HostPort: '4004' } ],
        '1080/tcp': [ { HostPort: '4005' } ] } } }
May 29, 2017, 1:07 PM GMT+2 - info: [main/docker-create-site-container] Created container:  6dcd9c3c4c0bc6503e11ee1d52c2740db4b0dda37d9170035c16bd22e557b761
May 29, 2017, 1:07 PM GMT+2 - info: [main/docker-network-manager] maybeCreateNetwork
May 29, 2017, 1:07 PM GMT+2 - info: [main/hosts-helper] hostsHelper: Updating hosts with "C:\Users\Jeremy\AppData\Local\Programs\local-by-flywheel\resources\extraResources\node\node-windows.exe" "C:\Users\Jeremy\AppData\Local\Programs\local-by-flywheel\resources\app.asar.unpacked\main\provisioning\update-hosts.js" 192.168.75.100 diviworkx.dev prindustry.dev
May 29, 2017, 1:07 PM GMT+2 - info: [main/docker-router] updateProxyManager()
May 29, 2017, 1:07 PM GMT+2 - info: [main/docker-network-manager] doesNetworkExist
May 29, 2017, 1:07 PM GMT+2 - info: [main/docker-network-manager] Network exists.
May 29, 2017, 1:07 PM GMT+2 - info: [main/docker-router] getRouterContainer()
May 29, 2017, 1:07 PM GMT+2 - info: [main/docker-router] reconnectNetwork()
May 29, 2017, 1:07 PM GMT+2 - info: [main/docker-router] teardown()
May 29, 2017, 1:07 PM GMT+2 - info: [main/docker-network-manager] Connected b5825ce4f4930e6e7ec270ac44a3982c6128822287c36f25b4edadab64f59d39.
May 29, 2017, 1:08 PM GMT+2 - info: [main/docker-network-manager] Connected 6dcd9c3c4c0bc6503e11ee1d52c2740db4b0dda37d9170035c16bd22e557b761.
May 29, 2017, 1:08 PM GMT+2 - info: [main/docker-router] runContainer()
May 29, 2017, 1:08 PM GMT+2 - info: [main/spawnProvisioningWorker] ##### PROVISIONING APACHE ######
May 29, 2017, 1:08 PM GMT+2 - info: [main/hosts-helper] hostsHelper: Updated hosts. Updating hosts file at  C:\Windows\System32\drivers\etc\hosts

May 29, 2017, 1:08 PM GMT+2 - info: [main/spawnProvisioningWorker] ##### PROVISIONING PHP 7.0.3 ######
May 29, 2017, 1:08 PM GMT+2 - info: [main/spawnProvisioningWorker] ## PHP Step 2 ##
May 29, 2017, 1:08 PM GMT+2 - info: [main/spawnProvisioningWorker] ## Copying PHP Config ##
May 29, 2017, 1:08 PM GMT+2 - info: [main/spawnProvisioningWorker] ## PHP Step 3 ##
May 29, 2017, 1:08 PM GMT+2 - info: [main/spawnProvisioningWorker] ## PHP Step 4 ##
May 29, 2017, 1:08 PM GMT+2 - info: [main/spawnProvisioningWorker] ## PHP Step 5 ##
May 29, 2017, 1:08 PM GMT+2 - info: [main/spawnProvisioningWorker] ##### PROVISIONING MySQL ######
May 29, 2017, 1:08 PM GMT+2 - info: [main/spawnProvisioningWorker] ##### PROVISIONING SCRIPTS ######
May 29, 2017, 1:08 PM GMT+2 - info: [main/spawnProvisioningWorker] ##### PROVISIONING WP-CLI ######
May 29, 2017, 1:08 PM GMT+2 - info: [main/createWebServerConf] Creating Web Server Conf
May 29, 2017, 1:08 PM GMT+2 - info: [main/addApacheHtaccess] Adding .htaccess to C:\Users\Jeremy\Local Sites\diviworkx
May 29, 2017, 1:08 PM GMT+2 - info: [environment/custom] Empty /etc/mysql
May 29, 2017, 1:08 PM GMT+2 - info: [main/createWebServerConf] C:\Users\Jeremy\AppData\Roaming\Local by Flywheel\environments\custom\templates\apache-conf C:\Users\Jeremy\Local Sites\diviworkx\conf\apache\
May 29, 2017, 1:08 PM GMT+2 - info: [environment/custom] Copying MySQL config to container prior to starting.
May 29, 2017, 1:08 PM GMT+2 - info: [main/createWebServerConf]  
{ stdout: '',
  stderr: 'find: missing argument to `-exec\'\nrm: cannot remove \'/etc/apache2/mods-enabled/fcgid.load\': No such file or directory' }
May 29, 2017, 1:08 PM GMT+2 - info: [main/waitForFile] Waiting for  /conf/php/7.0.3/etc/php-fpm.conf 6dcd9c3c4c0bc6503e11ee1d52c2740db4b0dda37d9170035c16bd22e557b761
May 29, 2017, 1:08 PM GMT+2 - info: [main/waitForFile] /conf/php/7.0.3/etc/php-fpm.conf exists
May 29, 2017, 1:08 PM GMT+2 - info: [main/WordPressInstaller] Init WordPressInstaller 
{ site: 
   { name: 'diviworkx',
     domain: 'diviworkx.dev',
     path: 'C:\\Users\\Jeremy\\Local Sites\\diviworkx',
     environment: 'custom',
     phpVersion: '7.0.3',
     mysqlVersion: '5.5',
     webServer: 'apache',
     devMode: true,
     adminUsername: 'jstam89',
     adminPassword: 'X',
     adminEmail: 'dev-email@flywheel.local',
     multiSite: 'no',
     id: 'SyIGZFKZW',
     localVersion: '2.0.0',
     container: '6dcd9c3c4c0bc6503e11ee1d52c2740db4b0dda37d9170035c16bd22e557b761',
     mysql: { database: 'local', user: 'root', password: 'root' },
     ports: { HTTP: 4000, HTTPS: 4003, MYSQL: 4004, MAILCATCHER: 4005 },
     environmentVersion: '1.2' },
  wpCredentials: 
   { adminUsername: 'jstam89',
     adminPassword: 'X',
     adminEmail: 'dev-email@flywheel.local' },
  atomicInstall: true,
  includedWPPath: 'C:\\Users\\Jeremy\\AppData\\Local\\Programs\\local-by-flywheel\\resources\\extraResources\\virtual-machine\\vendor\\wordpress\\',
  cachedWPVersion: '4.7.5' }
May 29, 2017, 1:08 PM GMT+2 - info: [main/WordPressInstaller] Starting standardInstall()
May 29, 2017, 1:08 PM GMT+2 - info: [main/WordPressInstaller] maybeGetLatestVersion()
May 29, 2017, 1:08 PM GMT+2 - info: [main/WordPressInstaller] checkForLatestVersion()
May 29, 2017, 1:08 PM GMT+2 - info: [main/WordPressInstaller] Latest version info 
{ version: '4.7.5',
  download: 'https://downloads.wordpress.org/release/wordpress-4.7.5.zip' }
May 29, 2017, 1:08 PM GMT+2 - info: [main/WordPressInstaller] Cached version info 4.7.5
May 29, 2017, 1:08 PM GMT+2 - info: [main/WordPressInstaller] copy() C:\Users\Jeremy\AppData\Roaming\Local by Flywheel\cached-wordpress\4.7.5 C:\Users\Jeremy\Local Sites\diviworkx\app
May 29, 2017, 1:08 PM GMT+2 - info: [environment/custom]  Starting php-fpm  done
May 29, 2017, 1:08 PM GMT+2 - info: [main/WordPressInstaller] Running install-wp.sh
May 29, 2017, 1:08 PM GMT+2 - error: [main/WordPressInstaller] Error running /etc/scripts/install-wp.sh
May 29, 2017, 1:08 PM GMT+2 - error: [main/WordPressInstaller] Error: The site you have requested is not installed.
Run `wp core install`.
Error: The site you have requested is not installed.
Run `wp core install`.

Hi Jeremy,

Sorry for the issues!

I have a few questions:

  1. Is the account you’re using an administrative account?
  2. If so, can you share the make and model of your PC if it’s not custom built?
  3. Have you tried creating sites with both custom and preferred environments? Do you have issues with both?