# .wpe-push-ignore being improperly parsed? "Local couldn't load the file list!"

**URL:** <https://community.localwp.com/t/wpe-push-ignore-being-improperly-parsed-local-couldnt-load-the-file-list/41991>\
**Category:** Support\
**Tags:** mac\
**Created:** [March 19, 2024, 11:31pm UTC](https://community.localwp.com/t/wpe-push-ignore-being-improperly-parsed-local-couldnt-load-the-file-list/41991 "2024-03-19T23:31:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wookiee](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/wookiee/32/21278_2.png) [@Wookiee](https://community.localwp.com/u/Wookiee)\
**Post date:** [March 19, 2024, 11:31pm UTC](https://community.localwp.com/t/wpe-push-ignore-being-improperly-parsed-local-couldnt-load-the-file-list/41991/1 "2024-03-19T23:31:54Z")

</div>

I’m getting the error “Local couldn’t load the file list!” when attempting to list files for push.

Local version is Version 8.3.2+6660

Inspection of the logs finds:

```auto
{"class":"SshService","level":"debug","message":"Running SSH with following args: '-F', '/dev/null', '-o', 'IdentitiesOnly=yes', '-o', 'PubkeyAcceptedKeyTypes=+ssh-rsa', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=30m', '-o', 'ServerAliveInterval=60', '-o', 'ServerAliveCountMax=120', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-i', '%%userDataPath%%/ssh/wpe-connect', 'redacted@redacted.ssh.wpengine.net', ''cd sites/redacted/ && find . -path \"./wp-config.php\" -prune -o -path \"./_wpeprivate\" -prune -o -path \"./.wpe-devkit\" -prune -o -path \"./.wpengine-conf\" -prune -o -path \"./.wpe-connect\" -prune -o -path \"./wp-content/mu-plugins/wpe-devkit.php\" -prune -o -path \"./wp-content/mysql.sql\" -prune -o -path \"./.git\" -prune -o -path \"./autoupdater_backup_*\" -prune -o -path \"./wp-content/object-cache.php\" -prune -o -path \"./.bin/*\" -prune -o -path \"./vendor/bin/*\" -prune -o -path \"./node_modules/puppeteer\" -prune -o -path \"./wp-content/mu-plugins/mu-plugin.php\" -prune -o -path \"./wp-content/mu-plugins/wpengine-common\" -prune -o -path \"./wp-content/mu-plugins/slt-force-strong-passwords.php\" -prune -o -path \"./wp-content/mu-plugins/force-strong-passwords\" -prune -o -path \"./wp-content/mu-plugins/wpe-wp-sign-on-plugin.php\" -prune -o -path \"./wp-content/mu-plugins/wpe-wp-sign-on-plugin\" -prune -o -path \"./wp-content/mu-plugins/wpengine-security-auditor.php\" -prune -o -path \"./wp-content/mu-plugins/wpe-cache-plugin\" -prune -o -path \"./wp-content/mu-plugins/wpe-cache-plugin.php\" -prune -o -path \"./local-phpinfo.php\" -prune -o -path \"./local-xdebuginfo.php\" -prune -o -path \"./wp-content/mu-plugins/local-by-flywheel-demo-urls.php\" -prune -o -path \"./wp-content/mu-plugins/local-by-flywheel-live-link-helper.php\" -prune -o -path \"./.wpe-pull-ignore\" -prune -o -path \"./.wpe-push-ignore\" -prune -o -path \"./.gitignore\" -prune -o -path \"./# This file lists which files should not be pushed by WPE DevKit. Feel free to\" -prune -o -path \"./# add, remove, or comment lines to change the sync behavior, but note that this\" -prune -o -path \"./# file will be recreated with the default values if it is missing. There are a\" -prune -o -path \"./# few additional files, including wp-config.php, which are ignored no matter\" -prune -o -path \"./# what as synchronizing these files would almost certainly result in an unusable\" -prune -o -path \"./# install.\" -prune -o -path \"./# Temporary and OS files\" -prune -o -path \"./*~\" -prune -o -path \"./.DS_Store\" -prune -o -path \"./*.swp\" -prune -o -path \"./Thumbs.db\" -prune -o -path \"./# Version Control files\" -prune -o -path \"./*.bak\" -prune -o -path \"./.svn\" -prune -o -path \"./.cvs\" -prune -o -path \"./#.git\" -prune -o -path \"./# WordPress specific files\" -prune -o -path \"./# NOTE:\" -prune -o -path \"./# WP Engine automatically updates part or all of WordPress under certain\" -prune -o -path \"./# circumstances, so generally it is desirable to not push local copies of the\" -prune -o -path \"./# WordPress files to a production server. However, in case you do have some\" -prune -o -path \"./# specific need to push local changes to production, you can comment out these\" -prune -o -path \"./# lines.\" -prune -o -path \"./wp-config.php\" -prune -o -path \"./wp-content/blogs.dir\" -prune -o -path \"./wp-content/upgrade/*\" -prune -o -path \"./wp-content/backup-db/*\" -prune -o -path \"./wp-content/advanced-cache.php\" -prune -o -path \"./wp-content/wp-cache-config.php\" -prune -o -path \"./wp-content/cache/*\" -prune -o -path \"./wp-content/cache/supercache/*\" -prune -o -path \"./wp-content/uploads/*\" -prune -o -path \"./# WP Engine specific files\" -prune -o -path \"./# NOTE:\" -prune -o -path \"./# These files are specific to running a WordPress site at WP Engine and would\" -prune -o -path \"./# likely result in a broken production site if modified in production (in\" -prune -o -path \"./# fact, permissions would prevent modification for many of these files). It is\" -prune -o -path \"./# strongly recommended that you do not attempt to modify these files in\" -prune -o -path \"./# production.\" -prune -o -path \"./_wpeprivate\" -prune -o -path \"./wp-content/mu-plugins/mu-plugin.php\" -prune -o -path \"./wp-content/mu-plugins/slt-force-strong-passwords.php\" -prune -o -path \"./wp-content/mu-plugins/stop-long-comments.php\" -prune -o -path \"./wp-content/mu-plugins/force-strong-passwords*\" -prune -o -path \"./wp-content/mu-plugins/wpe-devkit*\" -prune -o -path \"./wp-content/mu-plugins/wpengine-common*\" -prune -o -path \"./wp-content/mu-plugins/wpengine-excerpt*\" -prune -o -path \"./wp-content/mu-plugins/wpe-wp-sign-on-plugin*\" -prune -o -path \"./wp-content/plugins/wpengine-snapshot/snapshots\" -prune -o -path \"./wp-content/mysql.sql\" -prune -o -path \"./wp-content/plugins/autoupdater*\" -prune -o -path \"./# Some other files which may be desirable to skip under certain circumstances\" -prune -o -path \"./#.listing\" -prune -o -path \"./#plugins/wp-file-cache/cache\" -prune -o -path \"./#.cache\" -prune -o -path \"./#temp\" -prune -o -path \"./#tmp\" -prune -o -path \"./#*.tmp\" -prune -o -path \"./#imagecache*\" -prune -o -path \"./#*_backup\" -prune -o -path \"./#gt-cache\" -prune -o -path \"./#wp-config-sample.php\" -prune -o -path \"./#/wp-content/w3tc*\" -prune -o -path \"./#/wp-content/w3-*\" -prune -o -path \"./#/wp-content/uploads/snapshots\" -prune -o -path \"./#/wp-content/backup*\" -prune -o -path \"./#/wp-content/uploads/backup*\" -prune -o -path \"./#/wp-content/temp*\" -prune -o -path \"./#log.txt\" -prune -o -path \"./#debug.log\" -prune -o -path \"./#/wp-content/plugins/plugins\" -prune -o -path \"./#.a\" -prune -o -path \"./#w3tc/dbcache\" -prune -o -path \"./#w3tc/objectcache\" -prune -o -path \"./#w3tc/pgcache\" -prune -o -path \"./#w3tc\" -prune -o -path \"./#plugins/w3-total-cache\" -prune -o -path \"./#pclzip*\" -prune -o -path \"./#*.gz\" -prune -o -path \"./#*.zip\" -prune -o -path \"./#*.tar\" -prune -o -path \"./#*.tgz\" -prune -o -path \"./##\" -prune -o -path \"./# CUSTOM HEREAFTER\" -prune -o -path \"./##\" -prune -o -path \"./# Ignore WP Engine's cache plugin to avoid push failures on Windows machines\" -prune -o -path \"./wp-content/mu-plugins/wpe-cache-plugin\" -prune -o -path \"./# Ignore Github Action workflow files\" -prune -o -path \"./.github/*\" -prune -o -path \"./deployment-inclusions.txt\" -prune -o -path \"./# Ignore Node/Tailwind artifacts\" -prune -o -path \"./*/node_modules\" -prune -o -path \"./*/package.json\" -prune -o -path \"./*/package-lock.json\" -prune -o -path \"./*/postcss.config.js\" -prune -o -path \"./# PHP Composer\" -prune -o -path \"./*/composer.json\" -prune -o -path \"./*/composer.lock\" -prune -o -path \"./*/vendor\" -prune -o -path \"./*/phpcs*\" -prune -o -printf \"%y|%p|%s|%T@\n\"''","thread":"main","timestamp":"2024-03-19T23:19:36.057Z"}

```

Notice the entries such as `# add, remove, or comment lines to change the sync behavior, but note that this` that are from the `.wpe-push-ignore` file.

The head of our ignore file looks like:

```auto
# This file lists which files should not be pushed by WPE DevKit. Feel free to
# add, remove, or comment lines to change the sync behavior, but note that this
# file will be recreated with the default values if it is missing. There are a
# few additional files, including wp-config.php, which are ignored no matter
# what as synchronizing these files would almost certainly result in an unusable
# install.

# Temporary and OS files
*~
.DS_Store
*.swp
Thumbs.db

# Version Control files
*.bak
.svn
.cvs
#.git

```

Removing comments from the `.wpe-push-ignore` file fixes the problem. I’m new to Local but we’ve got this pattern around a bunch of our Repos here, and I can find it on some other public Github repos, but I can’t find official documentation on the ignore file format.

Are comments supported?

Are these comments properly formatted?

Any and all help is appreciated.

Thanks!

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [March 20, 2024, 12:58pm UTC](https://community.localwp.com/t/wpe-push-ignore-being-improperly-parsed-local-couldnt-load-the-file-list/41991/2 "2024-03-20T12:58:00Z")

</div>

Hi @Wookiee

We currently have a bug regarding issues with Ignore files here:

> [@Wpe ignore files not working as intended](https://community.localwp.com/t/wpe-ignore-files-not-working-as-intended/41906/7):
>
> @ben.turner , I am having the same issue. I had upgraded to 8.3.1XXX and noticed this issue but didn’t see this ticket. This morning I saw a release for Version 8.3.2+6660, so I downloaded it and had the same problems. I wondered if maybe it wasn’t honoring the wildcards so I decided to manually add some in as well and it still doesn’t ignore the files. You can see in the screenshot, that it is trying to upload files that are in the ignore list. Here is …

The team is aware and actively working on a fix!

---

<div class="post-metadata">

**Author:** ![Wookiee](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/wookiee/32/21278_2.png) [@Wookiee](https://community.localwp.com/u/Wookiee)\
**Post date:** [March 20, 2024, 3:22pm UTC](https://community.localwp.com/t/wpe-push-ignore-being-improperly-parsed-local-couldnt-load-the-file-list/41991/3 "2024-03-20T15:22:39Z")

</div>

Thanks @Nick-B

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [June 18, 2024, 3:22pm UTC](https://community.localwp.com/t/wpe-push-ignore-being-improperly-parsed-local-couldnt-load-the-file-list/41991/4 "2024-06-18T15:22:55Z")

</div>

Closed on June 18, 2024, 3:22pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
