/app/user/data does not exist when deploying on heroku


#1

Hello!

Following your tutorial on how to deploy my app on Heroku, I find an error immediately when I open my app.

Logs when I run “git push heroku master”:

Counting objects: 1922, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1845/1845), done.
Writing objects: 100% (1922/1922), 2.82 MiB | 81.00 KiB/s, done.
Total 1922 (delta 419), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> PHP app detected
remote: -----> Bootstrapping...
remote: -----> Installing platform packages...
remote:        - php (7.2.8)
remote:        - ext-gd (bundled with php)
remote:        - ext-mbstring (bundled with php)
remote:        - nginx (1.8.1)
remote:        - apache (2.4.34)
remote: -----> Installing dependencies...
remote:        Composer version 1.6.5 2018-05-04 11:44:59
remote:
remote:  !     WARNING: Your Composer vendor dir is part of your Git repository.
remote:        This directory should not be under version control; only your
remote:        'composer.json' and 'composer.lock' files should be added, which
remote:        will let Composer handle installation of dependencies on deploy.
remote:        To suppress this notice, first remove the folder from your index
remote:        by running 'git rm -r --cached vendor/'.
remote:        Next, edit your project's '.gitignore' file and add the folder
remote:        '/vendor/' to the list.
remote:        For more info, refer to the Composer FAQ: http://bit.ly/1rlCSZU
remote:
remote:        Loading composer repositories with package information
remote:        Installing dependencies from lock file
remote:        Nothing to install or update
remote:        Generating optimized autoload files
remote:            Skipped installation of bin bin/minifycss for package matthiasmullie/minify: file not found in package
remote:            Skipped installation of bin bin/minifyjs for package matthiasmullie/minify: file not found in package
remote: -----> Running 'composer compile'...
remote:        > php bin/grav install
remote:        ERROR Missing .dependencies file in user/ folder
remote:        HINT Are you trying to install Grav? Grav is already installed. You need to run this command only if you download a skeleton from GitHub directly.
remote:        > php bin/gpm install admin -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        The following dependencies need to be installed...
remote:          |- Package form
remote:          |- Package login
remote:          |- Package email
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Form [v2.15.1]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:        Preparing to install Login [v2.7.3]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:        Preparing to install Email [v2.7.1]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Dependencies are OK
remote:
remote:        Preparing to install Admin Panel [v1.8.6]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install archives -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Archives [v1.5.1]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install breadcrumbs -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Breadcrumbs [v1.5.1]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install email -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Email [v2.7.1]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install error -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Error [v1.6.1]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install external_links -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install External Links [v1.6.1]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install feed -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Feed [v1.6.2]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install form -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Form [v2.15.1]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install gdprprivacysetup -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install GDPR Privacy Setup [v0.0.6]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install git-sync -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Git Sync [v1.0.4]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install login -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Login [v2.7.3]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install markdown-fontawesome -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Markdown Font Awesome [v1.0.1]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install markdown-notices -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Markdown Notices [v1.0.1]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install page-inject -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Page Inject [v1.3.0]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install pagination -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Pagination [v1.3.2]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install pdf-js -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        The following dependencies need to be installed...
remote:          |- Package shortcode-core
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Shortcode Core [v2.7.1]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Dependencies are OK
remote:
remote:        Preparing to install Pdf-Js [v0.1.2]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install problems -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Problems [v1.4.7]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install relatedpages -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        Preparing to install Related Pages [v1.1.4]
remote:          |- Downloading package...     0%PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install shortcode-core -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Shortcode Core [v2.7.1]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install shortcode-ui -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Shortcode UI [v2.2.5]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install simplesearch -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install SimpleSearch [v1.14.1]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install slack-invite -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Slack Invite [v1.0.0]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install taxonomylist -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Taxonomy List [v1.3.2]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install tntsearch -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install TNT Search [v2.0.2]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install youtube -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install YouTube [v2.0.4]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install quark -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Quark [v1.1.0]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote:        > php bin/gpm install quark-open-publishing -y
remote:
remote:        GPM Releases Configuration: Stable
remote:
remote:
remote:
remote:        The following dependencies need to be installed...
remote:          |- Package auto-date
remote:          |- Package quark
remote:
remote:        PHP Warning:  touch(): Unable to create file /licenses.yaml because Read-only file system in /tmp/build_2da9ae21ab0197b74c1f14e08875843d/system/src/Grav/Common/GPM/Licenses.php on line 119
remote:        Preparing to install Auto Date [v1.0.2]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:        Preparing to install Quark [v1.1.0]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:
remote:        Dependencies are OK
remote:
remote:        Preparing to install Quark Open Publishing [v1.0.2]
remote:   |- Downloading package...   100%
remote:   |- Checking destination...  ok
remote:   |- Installing package...    ok
remote:          '- Success!
remote:
remote:        Attention: Quark Open Publishing contains demo content
remote:          |- Backing up pages...    ok
remote:          |- Installing demo content...    ok
remote:          '- Success!
remote:
remote:
remote:        Clearing cache
remote:
remote:        Cleared:  /tmp/build_2da9ae21ab0197b74c1f14e08875843d/cache/compiled/*
remote:
remote: -----> Preparing runtime environment...
remote: -----> Checking for additional extensions to install...
remote: -----> Discovering process types
remote:        Procfile declares types -> web
remote:
remote: -----> Compressing...
remote:        Done: 39.3M
remote: -----> Launching...
remote:        Released v3
remote:        https://sidiverto.herokuapp.com/ deployed to Heroku
remote:
remote: Verifying deploy... done.
To https://git.heroku.com/sidiverto.git
 * [new branch]      master -> master

Issues Found list, when I open my app:

/app/user/data does not exist

Your PHP version (7.2.8) is greater than the minimum required: 5.5.9 - Additional Information

PHP GD (Image Manipulation Library) is installed

PHP Curl (Data Transfer Library) is installed

PHP OpenSSL (Secure Sockets Library) is installed

PHP XML Library is installed

PHP Mbstring (Multibyte String Library) is installed

PHP Zip extension is installed

/app/cache exists and is writeable

/app/logs exists and is writeable

/app/images exists and is writeable

/app/assets exists and is writeable

/app/system exists

/app/user/pages exists

/app/user/config exists

/app/user/plugins/error exists

/app/user/plugins exists

/app/user/themes exists

/app/vendor exists

/app/backup exists and is writeable

/app/tmp exists and is writeable

#2

@XizzoR Found these pages through Google

Do these make sense?


#3

Thanks for answering @pamtbaau

I understand the behavior of such ephemeral filesystems, as they are similar to Docker containers. That’s the reason we need to configure composer.json with all plugins and themes we want to persist after instance (dyno) restart.

Let’s compare a freshly downloaded grav core folder (added with Procfile as stated in grav tutorial) with php-getting-started app. Structure is completely the same, except the app.json file which is missing, but it’s completely irrelevant. Folder named “web” (from php-getting-started app) is completely uploaded and app shows no error whatsoever.

However, this is not true for grav app. With or without gitkeep file in folder, /app/user/data does not persist when pushing to heroku master. Why is this not the case with /app/user/pages or /app/user/plugins, etc. There is also no gitignore as you can see (first warning in my log provided in first post).

I am missing some setting for sure, but which one? Or maybe there is plugin “conflict” which makes my /app/user/data not being uploaded or instantly removed in dyno…


#4

Yep, plugin named “Problems” was responsible for error list. However, there is another problem after removing entry for using this plugin from composer.json

Server Error
Sorry, something went terribly wrong!

E_WARNING - mkdir(): Read-only file system
For further details please review your logs/ folder, or enable displaying of errors in your system configuration.

Which is understandable, because this is by Heroku design. As explained here for purposes of my app, it is best to use S3 for deployment and testing purposes.