sfx101 / deck

DECK is a powerful and high performant local web development studio, an open source alternative to Docker desktop
https://github.com/deck-app
GNU Affero General Public License v3.0
1.51k stars 71 forks source link

Unable to create stack: cannot stat #87

Closed sjregan closed 1 year ago

sjregan commented 1 year ago

When I click the Save button while creating a new stack, the button changes to Saving... and then back to Save and nothing happens.

The console shows this error:

OG | file: InstallForm.svelte | line 96 | handleSubmit | showMultipassError Error: Command failed: multipass exec deck-app -- stat /home/ubuntu/sam/Sites/deck-wp
stat: cannot stat '/home/ubuntu/sam/Sites/deck-wp': No such file or directory

    at ChildProcess.exithandler (child_process.js:317)
    at ChildProcess.emit (events.js:315)
    at maybeClose (internal/child_process.js:1048)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288)

The Grant Full Disk Access to "nfsd" message appears even though I have granted permission.

sjregan commented 1 year ago

Note: following the steps in this comment did not resolve the issue.

nabad600 commented 1 year ago

Hi @sjregan, thanks for reporting. Could you please select Project path or Project Directory /Users/_<!User Name>sam_/Documents/_<!Project Name>_

image image image Please see the below mention video https://www.loom.com/share/613e880063dc43fcba9a0869aa1aecab

Appreciate your feedback here.

sjregan commented 1 year ago

@nabad600 Here's the error when I set the stack path to /Users/sam/Documents/WPTest:

LOG | file: InstallForm.svelte | line 96 | handleSubmit | showMultipassError Error: Command failed: multipass exec deck-app -- stat /home/ubuntu/sam/Documents/WPTest
stat: cannot stat '/home/ubuntu/sam/Documents/WPTest': No such file or directory

    at ChildProcess.exithandler (child_process.js:317)
    at ChildProcess.emit (events.js:315)
    at maybeClose (internal/child_process.js:1048)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288)
nabad600 commented 1 year ago

Hi @sjregan , please can you run and share screenshot open terminal and type multipass version

image

raymonkiller commented 1 year ago

good

El mar, 20 sept 2022 a la(s) 03:51, Naba Kumar Das @.***) escribió:

Hi @sjregan https://github.com/sjregan , please can you run and share screenshot open terminal and type multipass version

[image: image] https://user-images.githubusercontent.com/67466982/191198983-b94512c0-d18c-414d-b0a1-95b8bfc72185.png

— Reply to this email directly, view it on GitHub https://github.com/sfx101/deck/issues/87#issuecomment-1251975276, or unsubscribe https://github.com/notifications/unsubscribe-auth/APU54SVHJ4XBOHEDGLSHRHLV7FUIVANCNFSM6AAAAAAQQST54Y . You are receiving this because you are subscribed to this thread.Message ID: @.***>

sjregan commented 1 year ago

Hi @nabad600,

Here is the output:

❯ multipass version
multipass   1.8.1+mac
multipassd  1.8.1+mac

#########################################################################################
Multipass 1.10.1 bug fix release
Fix regression in `multipass exec` command

Go here for more information: https://github.com/canonical/multipass/releases/tag/v1.10.1
#########################################################################################
nabad600 commented 1 year ago

Hi, @sjregan , Please can you run and share output. multipass list and multipass exec deck-app -- cat /etc/auto.projects

sjregan commented 1 year ago

The second command produces no output. I ran it once when DECK was not running, and then a second time when it was.

❯ multipass list
Name                    State             IPv4             Image
deck-app                Running           192.168.64.2     Ubuntu 20.04 LTS
                                          172.17.0.1
                                          172.18.0.1
❯ multipass exec deck-app -- cat /etc/auto.projects
❯ multipass exec deck-app -- cat /etc/auto.projects

Some additional info:

❯ multipass shell deck-app
Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-125-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Wed Sep 21 09:55:15 AEST 2022

  System load:                      0.0
  Usage of /:                       22.5% of 9.51GB
  Memory usage:                     9%
  Swap usage:                       0%
  Processes:                        151
  Users logged in:                  0
  IPv4 address for br-6d31ecbec348: 172.18.0.1
  IPv4 address for docker0:         172.17.0.1
  IPv4 address for enp0s2:          192.168.64.2
  IPv6 address for enp0s2:          fd32:13dd:15ac:7d1d:b894:d4ff:fe0a:f837

ubuntu@deck-app:~$ ls -la /home/ubuntu/sam/
total 8
drwxrwxr-x 2 ubuntu ubuntu 4096 Sep 20 10:54 .
drwxr-xr-x 7 ubuntu ubuntu 4096 Sep 21 09:55 ..

ubuntu@deck-app:~$ ls -la /etc/ | grep auto.projects
-rw-r--r--   1 root root          0 Sep 20 10:54 auto.projects
ubuntu@deck-app:~$

You can see the /home/ubuntu/sam/ directory is empty, and theauto.projects file is empty.

nabad600 commented 1 year ago

Hi @sjregan, Thanks for your reply, please review the installation, please reinstall app. https://www.loom.com/share/94f1a2d0d8734916938c8ab113454fe2

sjregan commented 1 year ago

Hi,

I followed the steps in the video, the result is the same.

🚀 LOG | file: InstallForm.svelte | line 96 | handleSubmit | showMultipassError Error: Command failed: multipass exec deck-app -- stat /home/ubuntu/sam/Documents/WPTest
stat: cannot stat '/home/ubuntu/sam/Documents/WPTest': No such file or directory

    at ChildProcess.exithandler (app://-/child_process.js:317)
    at ChildProcess.emit (app://-/events.js:315)
    at maybeClose (app://-/internal/child_process.js:1048)
    at Socket.<anonymous> (app://-/internal/child_process.js:439)
    at Socket.emit (app://-/events.js:315)
    at Pipe.<anonymous> (app://-/net.js:673)

Truncated shell command output in ubuntu (you can see the auto.projects file is still empty.

ubuntu@deck-app:~$ cat /etc/auto.projects 
ubuntu@deck-app:~$ cat /etc/auto.master
...
+auto.master
/- auto.projects

You can see errors in the multipass installation log:

Mounted '/Users/sam' into 'deck-app:Home'                                       
30cc5285d6bc297b9ca633042957def0                                                
/home/ubuntu/sam -fstype=nfs,rw,nolock,nosuid,proto=tcp,resvport 10.0.0.23
bash: line 3: 10.0.0.9:/Users/sam: No such file or directory

Full log:

echo -e '\x1bc' && sh /Applications/DECK.app/Contents/Resources/scripts/installer.sh /Applications/DECK.app/Contents/Resources/multipass/multipass.pkg ; exit
 ~ ···········································································

 ~ ···········································································
❯ echo -e 'x1bc' && sh /Applications/DECK.app/Contents/Resources/scripts/installer.sh /Applications/DECK.app/Contents/Resources/multipass/multipass.pkg ; exit
x1bc
Installing multipass, this will take a few secs ...
Password:
installer: Package name is multipass
installer: Installing at base path /
installer: The install was successful.
ca7747dfcae5ee948ffee4c81099b1a4
Creating a lightweight Ubuntu VM, this will take a few mins ...
Launched: deck-app                                                              

#########################################################################################
Multipass 1.10.1 bug fix release
Fix regression in `multipass exec` command

Go here for more information: https://github.com/canonical/multipass/releases/tag/v1.10.1
#########################################################################################
Mounted '/Users/sam' into 'deck-app:Home'                                       
30cc5285d6bc297b9ca633042957def0                                                
/home/ubuntu/sam -fstype=nfs,rw,nolock,nosuid,proto=tcp,resvport 10.0.0.23
bash: line 3: 10.0.0.9:/Users/sam: No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1104  100  1104    0     0   2000      0 --:--:-- --:--:-- --:--:--  2000
Running apt update, installing dependencies
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease     
Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1739 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [8628 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [291 kB]
Get:8 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [11.1 kB]
Get:9 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [725 kB]
Get:10 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [134 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [15.1 kB]
Get:12 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [22.2 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/multiverse Translation-en [5376 B]
Get:14 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 c-n-f Metadata [508 B]
Get:15 http://archive.ubuntu.com/ubuntu focal/universe Translation-en [5124 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [144 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal/multiverse Translation-en [104 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9136 B]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2112 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [375 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [15.9 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [954 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [218 kB]
Get:25 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [21.5 kB]
Get:26 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [24.4 kB]
Get:27 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [7316 B]
Get:28 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [588 B]
Get:29 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [45.6 kB]
Get:30 http://archive.ubuntu.com/ubuntu focal-backports/main Translation-en [16.3 kB]
Get:31 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [1420 B]
Get:32 http://archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]
Get:33 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [23.9 kB]
Get:34 http://archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [16.0 kB]
Get:35 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [860 B]
Get:36 http://archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]
Fetched 21.4 MB in 8s (2624 kB/s)                                              
Reading package lists... Done
Building dependency tree       
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
lsb-release is already the newest version (11.1.0ubuntu2).
lsb-release set to manually installed.
ca-certificates is already the newest version (20211016~20.04.1).
ca-certificates set to manually installed.
curl is already the newest version (7.68.0-1ubuntu2.13).
curl set to manually installed.
gnupg is already the newest version (2.2.19-3ubuntu2.2).
gnupg set to manually installed.
The following additional packages will be installed:
  bridge-utils chafa containerd dns-root-data dnsmasq-base fontconfig-config
  fonts-dejavu-core fonts-droid-fallback fonts-noto-mono fonts-urw-base35
  ghostscript gsfonts imagemagick-6-common keyutils libavahi-client3
  libavahi-common-data libavahi-common3 libchafa0 libcups2 libfftw3-double3
  libfontconfig1 libgomp1 libgs9 libgs9-common libidn11 libijs-0.35 libjbig0
  libjbig2dec0 libjpeg-turbo8 libjpeg8 liblcms2-2 liblqr-1-0
  libmagickcore-6.q16-6 libmagickwand-6.q16-6 libnfsidmap2 libopenjp2-7
  libpaper-utils libpaper1 libtiff5 libtirpc-common libtirpc3 libwebp6
  libwebpmux3 nfs-common pigz poppler-data rpcbind runc ubuntu-fan
Suggested packages:
  ifupdown aufs-tools cgroupfs-mount | cgroup-lite debootstrap docker-doc
  rinse zfs-fuse | zfsutils fonts-noto fonts-freefont-otf | fonts-freefont-ttf
  fonts-texgyre ghostscript-x cups-common libfftw3-bin libfftw3-dev
  liblcms2-utils libmagickcore-6.q16-6-extra watchdog poppler-utils
  fonts-japanese-mincho | fonts-ipafont-mincho fonts-japanese-gothic
  | fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming fonts-nanum
The following NEW packages will be installed:
  apt-transport-https autofs bridge-utils chafa containerd dns-root-data
  dnsmasq-base docker.io fontconfig-config fonts-dejavu-core
  fonts-droid-fallback fonts-noto-mono fonts-urw-base35 ghostscript gsfonts
  imagemagick-6-common keyutils libavahi-client3 libavahi-common-data
  libavahi-common3 libchafa0 libcups2 libfftw3-double3 libfontconfig1 libgomp1
  libgs9 libgs9-common libidn11 libijs-0.35 libjbig0 libjbig2dec0
  libjpeg-turbo8 libjpeg8 liblcms2-2 liblqr-1-0 libmagickcore-6.q16-6
  libmagickwand-6.q16-6 libnfsidmap2 libopenjp2-7 libpaper-utils libpaper1
  libtiff5 libtirpc-common libtirpc3 libwebp6 libwebpmux3 neofetch nfs-common
  pigz poppler-data rpcbind runc ubuntu-fan uidmap
0 upgraded, 54 newly installed, 0 to remove and 3 not upgraded.
Need to get 91.3 MB of archives.
After this operation, 415 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 fonts-droid-fallback all 1:6.0.1r16-1.1 [1805 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgomp1 amd64 10.3.0-1ubuntu1~20.04 [102 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 libfftw3-double3 amd64 3.3.8-2ubuntu1 [728 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 fonts-dejavu-core all 2.37-1 [1041 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 fontconfig-config all 2.13.1-2ubuntu3 [28.8 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 libfontconfig1 amd64 2.13.1-2ubuntu3 [114 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 libjbig0 amd64 2.1-3.1build1 [26.7 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libjpeg-turbo8 amd64 2.0.3-0ubuntu1.20.04.1 [117 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 libjpeg8 amd64 8c-2ubuntu8 [2194 B]
Get:10 http://archive.ubuntu.com/ubuntu focal/main amd64 liblcms2-2 amd64 2.9-4 [140 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal/universe amd64 liblqr-1-0 amd64 0.4.2-2.1 [27.7 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libwebp6 amd64 0.6.1-2ubuntu0.20.04.1 [185 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libtiff5 amd64 4.1.0+git191117-2ubuntu0.20.04.5 [162 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libwebpmux3 amd64 0.6.1-2ubuntu0.20.04.1 [19.5 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 imagemagick-6-common all 8:6.9.10.23+dfsg-2.1ubuntu11.4 [60.9 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libmagickcore-6.q16-6 amd64 8:6.9.10.23+dfsg-2.1ubuntu11.4 [1647 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 libmagickwand-6.q16-6 amd64 8:6.9.10.23+dfsg-2.1ubuntu11.4 [303 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal/main amd64 poppler-data all 0.4.9-2 [1475 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libtirpc-common all 1.2.5-1ubuntu0.1 [7712 B]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libtirpc3 amd64 1.2.5-1ubuntu0.1 [77.9 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal/main amd64 rpcbind amd64 1.2.5-8 [42.8 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 autofs amd64 5.1.6-2ubuntu0.1 [515 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal/universe amd64 pigz amd64 2.4-1 [57.4 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 apt-transport-https all 2.0.9 [1704 B]
Get:25 http://archive.ubuntu.com/ubuntu focal/main amd64 bridge-utils amd64 1.6-2ubuntu1 [30.5 kB]
Get:26 http://archive.ubuntu.com/ubuntu focal/universe amd64 libchafa0 amd64 1.2.1-1 [42.1 kB]
Get:27 http://archive.ubuntu.com/ubuntu focal/universe amd64 chafa amd64 1.2.1-1 [29.7 kB]
Get:28 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 runc amd64 1.1.0-0ubuntu1~20.04.1 [3892 kB]
Get:29 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 containerd amd64 1.5.9-0ubuntu1~20.04.4 [33.0 MB]
Get:30 http://archive.ubuntu.com/ubuntu focal/main amd64 dns-root-data all 2019052802 [5300 B]
Get:31 http://archive.ubuntu.com/ubuntu focal/main amd64 libidn11 amd64 1.33-2.2ubuntu2 [46.2 kB]
Get:32 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 dnsmasq-base amd64 2.80-1.1ubuntu1.5 [315 kB]
Get:33 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 docker.io amd64 20.10.12-0ubuntu2~20.04.1 [31.8 MB]
Get:34 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 fonts-noto-mono all 20200323-1build1~ubuntu20.04.1 [80.6 kB]
Get:35 http://archive.ubuntu.com/ubuntu focal/main amd64 fonts-urw-base35 all 20170801.1-3 [6333 kB]
Get:36 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgs9-common all 9.50~dfsg-5ubuntu4.5 [681 kB]
Get:37 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libavahi-common-data amd64 0.7-4ubuntu7.1 [21.4 kB]
Get:38 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libavahi-common3 amd64 0.7-4ubuntu7.1 [21.7 kB]
Get:39 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libavahi-client3 amd64 0.7-4ubuntu7.1 [25.5 kB]
Get:40 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libcups2 amd64 2.3.1-9ubuntu1.2 [233 kB]
Get:41 http://archive.ubuntu.com/ubuntu focal/main amd64 libijs-0.35 amd64 0.35-15 [15.7 kB]
Get:42 http://archive.ubuntu.com/ubuntu focal/main amd64 libjbig2dec0 amd64 0.18-1ubuntu1 [60.0 kB]
Get:43 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libopenjp2-7 amd64 2.3.1-1ubuntu4.20.04.1 [141 kB]
Get:44 http://archive.ubuntu.com/ubuntu focal/main amd64 libpaper1 amd64 1.1.28 [13.0 kB]
Get:45 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libgs9 amd64 9.50~dfsg-5ubuntu4.5 [2172 kB]
Get:46 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 ghostscript amd64 9.50~dfsg-5ubuntu4.5 [51.8 kB]
Get:47 http://archive.ubuntu.com/ubuntu focal/universe amd64 gsfonts all 1:8.11+urwcyr1.0.7~pre44-4.4 [3120 kB]
Get:48 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 keyutils amd64 1.6-6ubuntu1.1 [44.8 kB]
Get:49 http://archive.ubuntu.com/ubuntu focal/main amd64 libnfsidmap2 amd64 0.25-5.1ubuntu1 [27.9 kB]
Get:50 http://archive.ubuntu.com/ubuntu focal/main amd64 libpaper-utils amd64 1.1.28 [8400 B]
Get:51 http://archive.ubuntu.com/ubuntu focal/universe amd64 neofetch all 7.0.0-1 [77.5 kB]
Get:52 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 nfs-common amd64 1:1.3.4-2.5ubuntu3.4 [204 kB]
Get:53 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 ubuntu-fan all 0.12.13ubuntu0.1 [34.4 kB]
Get:54 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 uidmap amd64 1:4.8.1-1ubuntu5.20.04.2 [26.0 kB]
Fetched 91.3 MB in 17s (5432 kB/s)                                             
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package fonts-droid-fallback.
(Reading database ... 63822 files and directories currently installed.)
Preparing to unpack .../00-fonts-droid-fallback_1%3a6.0.1r16-1.1_all.deb ...
Unpacking fonts-droid-fallback (1:6.0.1r16-1.1) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../01-libgomp1_10.3.0-1ubuntu1~20.04_amd64.deb ...
Unpacking libgomp1:amd64 (10.3.0-1ubuntu1~20.04) ...
Selecting previously unselected package libfftw3-double3:amd64.
Preparing to unpack .../02-libfftw3-double3_3.3.8-2ubuntu1_amd64.deb ...
Unpacking libfftw3-double3:amd64 (3.3.8-2ubuntu1) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../03-fonts-dejavu-core_2.37-1_all.deb ...
Unpacking fonts-dejavu-core (2.37-1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../04-fontconfig-config_2.13.1-2ubuntu3_all.deb ...
Unpacking fontconfig-config (2.13.1-2ubuntu3) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../05-libfontconfig1_2.13.1-2ubuntu3_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.13.1-2ubuntu3) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../06-libjbig0_2.1-3.1build1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1build1) ...
Selecting previously unselected package libjpeg-turbo8:amd64.
Preparing to unpack .../07-libjpeg-turbo8_2.0.3-0ubuntu1.20.04.1_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (2.0.3-0ubuntu1.20.04.1) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../08-libjpeg8_8c-2ubuntu8_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
Selecting previously unselected package liblcms2-2:amd64.
Preparing to unpack .../09-liblcms2-2_2.9-4_amd64.deb ...
Unpacking liblcms2-2:amd64 (2.9-4) ...
Selecting previously unselected package liblqr-1-0:amd64.
Preparing to unpack .../10-liblqr-1-0_0.4.2-2.1_amd64.deb ...
Unpacking liblqr-1-0:amd64 (0.4.2-2.1) ...
Selecting previously unselected package libwebp6:amd64.
Preparing to unpack .../11-libwebp6_0.6.1-2ubuntu0.20.04.1_amd64.deb ...
Unpacking libwebp6:amd64 (0.6.1-2ubuntu0.20.04.1) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../12-libtiff5_4.1.0+git191117-2ubuntu0.20.04.5_amd64.deb ...
Unpacking libtiff5:amd64 (4.1.0+git191117-2ubuntu0.20.04.5) ...
Selecting previously unselected package libwebpmux3:amd64.
Preparing to unpack .../13-libwebpmux3_0.6.1-2ubuntu0.20.04.1_amd64.deb ...
Unpacking libwebpmux3:amd64 (0.6.1-2ubuntu0.20.04.1) ...
Selecting previously unselected package imagemagick-6-common.
Preparing to unpack .../14-imagemagick-6-common_8%3a6.9.10.23+dfsg-2.1ubuntu11.4_all.deb ...
Unpacking imagemagick-6-common (8:6.9.10.23+dfsg-2.1ubuntu11.4) ...
Selecting previously unselected package libmagickcore-6.q16-6:amd64.
Preparing to unpack .../15-libmagickcore-6.q16-6_8%3a6.9.10.23+dfsg-2.1ubuntu11.4_amd64.deb ...
Unpacking libmagickcore-6.q16-6:amd64 (8:6.9.10.23+dfsg-2.1ubuntu11.4) ...
Selecting previously unselected package libmagickwand-6.q16-6:amd64.
Preparing to unpack .../16-libmagickwand-6.q16-6_8%3a6.9.10.23+dfsg-2.1ubuntu11.4_amd64.deb ...
Unpacking libmagickwand-6.q16-6:amd64 (8:6.9.10.23+dfsg-2.1ubuntu11.4) ...
Selecting previously unselected package poppler-data.
Preparing to unpack .../17-poppler-data_0.4.9-2_all.deb ...
Unpacking poppler-data (0.4.9-2) ...
Selecting previously unselected package libtirpc-common.
Preparing to unpack .../18-libtirpc-common_1.2.5-1ubuntu0.1_all.deb ...
Unpacking libtirpc-common (1.2.5-1ubuntu0.1) ...
Selecting previously unselected package libtirpc3:amd64.
Preparing to unpack .../19-libtirpc3_1.2.5-1ubuntu0.1_amd64.deb ...
Unpacking libtirpc3:amd64 (1.2.5-1ubuntu0.1) ...
Selecting previously unselected package rpcbind.
Preparing to unpack .../20-rpcbind_1.2.5-8_amd64.deb ...
Unpacking rpcbind (1.2.5-8) ...
Selecting previously unselected package autofs.
Preparing to unpack .../21-autofs_5.1.6-2ubuntu0.1_amd64.deb ...
Unpacking autofs (5.1.6-2ubuntu0.1) ...
Selecting previously unselected package pigz.
Preparing to unpack .../22-pigz_2.4-1_amd64.deb ...
Unpacking pigz (2.4-1) ...
Selecting previously unselected package apt-transport-https.
Preparing to unpack .../23-apt-transport-https_2.0.9_all.deb ...
Unpacking apt-transport-https (2.0.9) ...
Selecting previously unselected package bridge-utils.
Preparing to unpack .../24-bridge-utils_1.6-2ubuntu1_amd64.deb ...
Unpacking bridge-utils (1.6-2ubuntu1) ...
Selecting previously unselected package libchafa0:amd64.
Preparing to unpack .../25-libchafa0_1.2.1-1_amd64.deb ...
Unpacking libchafa0:amd64 (1.2.1-1) ...
Selecting previously unselected package chafa.
Preparing to unpack .../26-chafa_1.2.1-1_amd64.deb ...
Unpacking chafa (1.2.1-1) ...
Selecting previously unselected package runc.
Preparing to unpack .../27-runc_1.1.0-0ubuntu1~20.04.1_amd64.deb ...
Unpacking runc (1.1.0-0ubuntu1~20.04.1) ...
Selecting previously unselected package containerd.
Preparing to unpack .../28-containerd_1.5.9-0ubuntu1~20.04.4_amd64.deb ...
Unpacking containerd (1.5.9-0ubuntu1~20.04.4) ...
Selecting previously unselected package dns-root-data.
Preparing to unpack .../29-dns-root-data_2019052802_all.deb ...
Unpacking dns-root-data (2019052802) ...
Selecting previously unselected package libidn11:amd64.
Preparing to unpack .../30-libidn11_1.33-2.2ubuntu2_amd64.deb ...
Unpacking libidn11:amd64 (1.33-2.2ubuntu2) ...
Selecting previously unselected package dnsmasq-base.
Preparing to unpack .../31-dnsmasq-base_2.80-1.1ubuntu1.5_amd64.deb ...
Unpacking dnsmasq-base (2.80-1.1ubuntu1.5) ...
Selecting previously unselected package docker.io.
Preparing to unpack .../32-docker.io_20.10.12-0ubuntu2~20.04.1_amd64.deb ...
Unpacking docker.io (20.10.12-0ubuntu2~20.04.1) ...
Selecting previously unselected package fonts-noto-mono.
Preparing to unpack .../33-fonts-noto-mono_20200323-1build1~ubuntu20.04.1_all.deb ...
Unpacking fonts-noto-mono (20200323-1build1~ubuntu20.04.1) ...
Selecting previously unselected package fonts-urw-base35.
Preparing to unpack .../34-fonts-urw-base35_20170801.1-3_all.deb ...
Unpacking fonts-urw-base35 (20170801.1-3) ...
Selecting previously unselected package libgs9-common.
Preparing to unpack .../35-libgs9-common_9.50~dfsg-5ubuntu4.5_all.deb ...
Unpacking libgs9-common (9.50~dfsg-5ubuntu4.5) ...
Selecting previously unselected package libavahi-common-data:amd64.
Preparing to unpack .../36-libavahi-common-data_0.7-4ubuntu7.1_amd64.deb ...
Unpacking libavahi-common-data:amd64 (0.7-4ubuntu7.1) ...
Selecting previously unselected package libavahi-common3:amd64.
Preparing to unpack .../37-libavahi-common3_0.7-4ubuntu7.1_amd64.deb ...
Unpacking libavahi-common3:amd64 (0.7-4ubuntu7.1) ...
Selecting previously unselected package libavahi-client3:amd64.
Preparing to unpack .../38-libavahi-client3_0.7-4ubuntu7.1_amd64.deb ...
Unpacking libavahi-client3:amd64 (0.7-4ubuntu7.1) ...
Selecting previously unselected package libcups2:amd64.
Preparing to unpack .../39-libcups2_2.3.1-9ubuntu1.2_amd64.deb ...
Unpacking libcups2:amd64 (2.3.1-9ubuntu1.2) ...
Selecting previously unselected package libijs-0.35:amd64.
Preparing to unpack .../40-libijs-0.35_0.35-15_amd64.deb ...
Unpacking libijs-0.35:amd64 (0.35-15) ...
Selecting previously unselected package libjbig2dec0:amd64.
Preparing to unpack .../41-libjbig2dec0_0.18-1ubuntu1_amd64.deb ...
Unpacking libjbig2dec0:amd64 (0.18-1ubuntu1) ...
Selecting previously unselected package libopenjp2-7:amd64.
Preparing to unpack .../42-libopenjp2-7_2.3.1-1ubuntu4.20.04.1_amd64.deb ...
Unpacking libopenjp2-7:amd64 (2.3.1-1ubuntu4.20.04.1) ...
Selecting previously unselected package libpaper1:amd64.
Preparing to unpack .../43-libpaper1_1.1.28_amd64.deb ...
Unpacking libpaper1:amd64 (1.1.28) ...
Selecting previously unselected package libgs9:amd64.
Preparing to unpack .../44-libgs9_9.50~dfsg-5ubuntu4.5_amd64.deb ...
Unpacking libgs9:amd64 (9.50~dfsg-5ubuntu4.5) ...
Selecting previously unselected package ghostscript.
Preparing to unpack .../45-ghostscript_9.50~dfsg-5ubuntu4.5_amd64.deb ...
Unpacking ghostscript (9.50~dfsg-5ubuntu4.5) ...
Selecting previously unselected package gsfonts.
Preparing to unpack .../46-gsfonts_1%3a8.11+urwcyr1.0.7~pre44-4.4_all.deb ...
Unpacking gsfonts (1:8.11+urwcyr1.0.7~pre44-4.4) ...
Selecting previously unselected package keyutils.
Preparing to unpack .../47-keyutils_1.6-6ubuntu1.1_amd64.deb ...
Unpacking keyutils (1.6-6ubuntu1.1) ...
Selecting previously unselected package libnfsidmap2:amd64.
Preparing to unpack .../48-libnfsidmap2_0.25-5.1ubuntu1_amd64.deb ...
Unpacking libnfsidmap2:amd64 (0.25-5.1ubuntu1) ...
Selecting previously unselected package libpaper-utils.
Preparing to unpack .../49-libpaper-utils_1.1.28_amd64.deb ...
Unpacking libpaper-utils (1.1.28) ...
Selecting previously unselected package neofetch.
Preparing to unpack .../50-neofetch_7.0.0-1_all.deb ...
Unpacking neofetch (7.0.0-1) ...
Selecting previously unselected package nfs-common.
Preparing to unpack .../51-nfs-common_1%3a1.3.4-2.5ubuntu3.4_amd64.deb ...
Unpacking nfs-common (1:1.3.4-2.5ubuntu3.4) ...
Selecting previously unselected package ubuntu-fan.
Preparing to unpack .../52-ubuntu-fan_0.12.13ubuntu0.1_all.deb ...
Unpacking ubuntu-fan (0.12.13ubuntu0.1) ...
Selecting previously unselected package uidmap.
Preparing to unpack .../53-uidmap_1%3a4.8.1-1ubuntu5.20.04.2_amd64.deb ...
Unpacking uidmap (1:4.8.1-1ubuntu5.20.04.2) ...
Setting up liblcms2-2:amd64 (2.9-4) ...
Setting up libpaper1:amd64 (1.1.28) ...

Creating config file /etc/papersize with new version
Setting up imagemagick-6-common (8:6.9.10.23+dfsg-2.1ubuntu11.4) ...
Setting up fonts-noto-mono (20200323-1build1~ubuntu20.04.1) ...
Setting up apt-transport-https (2.0.9) ...
Setting up libtirpc-common (1.2.5-1ubuntu0.1) ...
Setting up libijs-0.35:amd64 (0.35-15) ...
Setting up uidmap (1:4.8.1-1ubuntu5.20.04.2) ...
Setting up libpaper-utils (1.1.28) ...
Setting up fonts-urw-base35 (20170801.1-3) ...
Setting up libgomp1:amd64 (10.3.0-1ubuntu1~20.04) ...
Setting up libjbig0:amd64 (2.1-3.1build1) ...
Setting up neofetch (7.0.0-1) ...
Setting up runc (1.1.0-0ubuntu1~20.04.1) ...
Setting up poppler-data (0.4.9-2) ...
Setting up dns-root-data (2019052802) ...
Setting up libchafa0:amd64 (1.2.1-1) ...
Setting up libjbig2dec0:amd64 (0.18-1ubuntu1) ...
Setting up libidn11:amd64 (1.33-2.2ubuntu2) ...
Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.4) ...
Setting up libavahi-common-data:amd64 (0.7-4ubuntu7.1) ...
Setting up libwebp6:amd64 (0.6.1-2ubuntu0.20.04.1) ...
Setting up fonts-dejavu-core (2.37-1) ...
Setting up libjpeg-turbo8:amd64 (2.0.3-0ubuntu1.20.04.1) ...
Setting up libfftw3-double3:amd64 (3.3.8-2ubuntu1) ...
Setting up bridge-utils (1.6-2ubuntu1) ...
Setting up keyutils (1.6-6ubuntu1.1) ...
Setting up liblqr-1-0:amd64 (0.4.2-2.1) ...
Setting up pigz (2.4-1) ...
Setting up libopenjp2-7:amd64 (2.3.1-1ubuntu4.20.04.1) ...
Setting up fonts-droid-fallback (1:6.0.1r16-1.1) ...
Setting up libnfsidmap2:amd64 (0.25-5.1ubuntu1) ...
Setting up containerd (1.5.9-0ubuntu1~20.04.4) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.
Setting up libwebpmux3:amd64 (0.6.1-2ubuntu0.20.04.1) ...
Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
Setting up libgs9-common (9.50~dfsg-5ubuntu4.5) ...
Setting up libtirpc3:amd64 (1.2.5-1ubuntu0.1) ...
Setting up fontconfig-config (2.13.1-2ubuntu3) ...
Setting up libavahi-common3:amd64 (0.7-4ubuntu7.1) ...
Setting up rpcbind (1.2.5-8) ...
Created symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /lib/systemd/system/rpcbind.service.
Created symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /lib/systemd/system/rpcbind.socket.
Setting up docker.io (20.10.12-0ubuntu2~20.04.1) ...
Adding group `docker' (GID 119) ...
Done.
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
Setting up dnsmasq-base (2.80-1.1ubuntu1.5) ...
Setting up nfs-common (1:1.3.4-2.5ubuntu3.4) ...

Creating config file /etc/idmapd.conf with new version
Adding system user `statd' (UID 114) ...
Adding new user `statd' (UID 114) with group `nogroup' ...
Not creating home directory `/var/lib/nfs'.
Created symlink /etc/systemd/system/multi-user.target.wants/nfs-client.target → /lib/systemd/system/nfs-client.target.
Created symlink /etc/systemd/system/remote-fs.target.wants/nfs-client.target → /lib/systemd/system/nfs-client.target.
nfs-utils.service is a disabled or a static unit, not starting it.
Setting up libtiff5:amd64 (4.1.0+git191117-2ubuntu0.20.04.5) ...
Setting up libfontconfig1:amd64 (2.13.1-2ubuntu3) ...
Setting up libavahi-client3:amd64 (0.7-4ubuntu7.1) ...
Setting up autofs (5.1.6-2ubuntu0.1) ...

Creating config file /etc/auto.master with new version

Creating config file /etc/auto.net with new version

Creating config file /etc/auto.misc with new version

Creating config file /etc/auto.smb with new version

Creating config file /etc/autofs.conf with new version

Creating config file /etc/default/autofs with new version
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Created symlink /etc/systemd/system/multi-user.target.wants/autofs.service → /lib/systemd/system/autofs.service.
Setting up ubuntu-fan (0.12.13ubuntu0.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/ubuntu-fan.service → /lib/systemd/system/ubuntu-fan.service.
Setting up libmagickcore-6.q16-6:amd64 (8:6.9.10.23+dfsg-2.1ubuntu11.4) ...
Setting up libcups2:amd64 (2.3.1-9ubuntu1.2) ...
Setting up libmagickwand-6.q16-6:amd64 (8:6.9.10.23+dfsg-2.1ubuntu11.4) ...
Setting up libgs9:amd64 (9.50~dfsg-5ubuntu4.5) ...
Setting up chafa (1.2.1-1) ...
Setting up ghostscript (9.50~dfsg-5ubuntu4.5) ...
Processing triggers for dbus (1.12.16-2ubuntu2.2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Processing triggers for systemd (245.4-4ubuntu3.17) ...
Processing triggers for man-db (2.9.1-1) ...
Staring docker
sudo chmod 666 /var/run/docker.sock
--2022-09-22 09:43:09--  https://raw.githubusercontent.com/deck-app/multipass-install/master/override.conf
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.111.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 79 [text/plain]
Saving to: ‘override.conf’
override.conf       100%[===================>]      79  --.-KB/s    in 0s      

2022-09-22 09:43:10 (2.10 MB/s) - ‘override.conf’ saved [79/79]

Reloading systemd manager configuration ...
Installation has finished
echo -e '\x1bc' && export PATH="$PATH:/Applications/DECK.app/Contents/Resources/bin" ; echo "/Users/sam
❯ echo -e 'x1bc' && export PATH="$PATH:/Applications/DECK.app/Contents/Resources/bin" ; echo "/Users/sam -mapall=sam 192.168.64.2" | sudo tee /etc/exports && sudo nfsd restart && multipass exec deck-app sudo service autofs restart ; exit
x1bc
Password:
/Users/sam -mapall=sam 192.168.64.2
sjregan commented 1 year ago

This error has helped me resolve the installation issue:

Mounted '/Users/sam' into 'deck-app:Home'                                       
30cc5285d6bc297b9ca633042957def0                                                
/home/ubuntu/sam -fstype=nfs,rw,nolock,nosuid,proto=tcp,resvport 10.0.0.23
bash: line 3: 10.0.0.9:/Users/sam: No such file or directory

You can see the scripts are getting different IP addresses, one of them is picking my ethernet IP, the other my wifi IP. After disabling wifi, stack creation works.

When starting the stack this message is shown: Project is unhealthy, see logs for more info

The logs contain:

decktest-wordpress-1 exited with code 2
decktest-wordpress-1   | WordPress not found in /var/www/html - copying now...
decktest-wordpress-1   | No 'wp-config.php' found in /var/www/html, but 'WORDPRESS_...' variables supplied; copying 'wp-config-docker.php' (WORDPRESS_DB_HOST WORDPRESS_DB_NAME WORDPRESS_DB_PASSWORD WORDPRESS_DB_USER WORDPRESS_DEBUG)
decktest-wordpress-1   | chown: changing ownership of 'wp-config.php': Operation not permitted
decktest-wordpress-1   | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.2. Set the 'ServerName' directive globally to suppress this message

The site works when accessed via IP http://192.168.64.2:51343, however it fails to load via secure URL https://decktest.stacks.run:

Safari can't establish a secure connection to the server

Accessing it on insecure URL http://decktest.stacks.run shows this error:

the server unexpectedly dropped the connection

nabad600 commented 1 year ago

Hi All, We may need to close this ticket in the next 24 hours. So, I request you to inform us about the status of your query. Let us know of any issues, we'd be happy to help.

sjregan commented 1 year ago

@nabad600 The issue is still not resolved. Using MacOS v4.2.0:

🚀 LOG | file: VM.js | line 35 | returnnewPromise | basePath Desk-WPTest2
bundle.js:23 🚀 LOG | file: VM.js | line 40 | returnnewPromise | vmPath /home/ubuntu/sam/Documents/Desk-WPTest2
bundle.js:23 🚀 LOG | file: VM.js | line 46 | exec | stderr stat: cannot statx '/home/ubuntu/sam/Documents/Desk-WPTest2': No such file or directory

bundle.js:23 🚀 LOG | file: InstallForm.svelte | line 96 | handleSubmit | showMultipassError Error: Command failed: multipass exec deck-app -- stat /home/ubuntu/sam/Documents/Desk-WPTest2
stat: cannot statx '/home/ubuntu/sam/Documents/Desk-WPTest2': No such file or directory

    at ChildProcess.exithandler (child_process.js:317)
    at ChildProcess.emit (events.js:315)
    at maybeClose (internal/child_process.js:1048)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288)