[Resolved] Google App Engine 10000 file limit and toolset sites
This thread is resolved. Here is a description of the problem and solution.
Problem:
The issue here was that the user wanted to use toolset to develop wordpress website on google app engine, however there is a 10000 file limit on app engine.
Solution:
There is currently no solution for this as google app engine limits the amount of files that can be uploaded and our toolset plugins are over this 10000 file limit.
This was possible when the embedded versions of toolset existed but those are no longer available.
This support ticket is created 6 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
I'm trying to use the "embedded versions" of the plugins to get around the file limit for GAE. Can you refer me to any documentation for installing or activating the embedded versions of views and types?
Since this last post, I think the number of files has gone up not down.
root@dev-wp-cy-vm:/var/www/html/wp-content/plugins# ls -l
total 44
drwxr-xr-x 6 www-data www-data 4096 Dec 28 07:47 cred-frontend-editor
-rw-r--r-- 1 www-data www-data 28 Dec 6 17:29 index.php
drwxr-xr-x 9 www-data www-data 4096 Dec 16 00:29 layouts
drwxr-xr-x 6 www-data www-data 4096 Dec 17 12:59 ocean-extra
drwxr-xr-x 7 www-data www-data 4096 Dec 26 17:27 toolset-maps
drwxr-xr-x 6 www-data www-data 4096 Dec 15 21:00 types
drwxr-xr-x 7 www-data www-data 4096 Dec 16 00:29 woocommerce
drwxr-xr-x 5 www-data www-data 4096 Dec 16 00:31 woocommerce-gateway-paypal-express-checkout
drwxr-xr-x 7 www-data www-data 4096 Dec 16 00:29 woocommerce-views
drwxr-xr-x 3 www-data www-data 4096 Dec 26 16:54 wordpress-importer
drwxr-xr-x 8 www-data www-data 4096 Dec 16 00:29 wp-views
root@dev-wp-cy-vm:/var/www/html/wp-content/plugins# find . -type f | wc -l
9106
root@dev-wp-cy-vm:/var/www/html/wp-content/plugins#
Developing a theme for deployment that requires the user to install plugins on activation will also not work in this case as the google app engine file system is not writable. All plugin and theme files must be in place prior to deployment of the app and can not be changed or added to once the app is running.
Would it be possible to elaborate on Juan's suggestions for unnecessary files from the types, layouts, cred and maps plugins. It would also be helpful if you could identify the path to the unnecessary files / directories.
Because Google App Engine does not support writing to disk after an app is deployed, a theme that simply downloads the regular versions of the plugins will not be suitable. Only the uploads directory is writable once the installation is deployed on GAE. That means that all the plugins must be installed prior to deploying the app.
Can you confirm that the plugins installed by a theme created to use toolset are reduced file count versions of the regular toolset plugins? If so, I could go through the following steps.
1. Create a theme as described in your link
2. Create a new installation of wordpress and install the theme
3. Download required plugins
4. Deploy the installation as an app on GAE (assuming the file count is < 10 000 )
This is cause we do not have an embedded version of our toolset plugins but rather the full versions.
It would've been possible with the embedded versions as they contain less files but since they are no longer available then uploading the google app engine won't be possible.
Our toolset theme method with the installer as stated wouldn't work since the app can't modify the directory.