superpwa / flywheel hosting
-
I have superpwa set-up on my staging site and have not been able to get manifest or serviceworker to work. I had my host, flywheel, add the update to the nginx config. After some back and forth it seems superpwa is not compatible with flywheel due how WordPress is decentralized from user files. Please see host support comments.
“So the initial .json request is being redirected with a 301 to the odd-looking URL of which does look correct with the rewrites from PWA,
that request does correctly return a 200 response.HTTP/2 200
content-type: text/html; charset=UTF-8
link: ; rel=”https://api.w.org/”
link: ; rel=”alternate”; type=”application/json”
So from that aspect, everything does appear to be working correctly.Now for the Manifest and Service Workers not working, I’m unsure how to resolve that, I’ve read the document at https://superpwa.com/doc/fixing-manifest-service-worker-generation-failed-error and can confirm everything is in place correctly as it requests.
The only thing it does not there is that the plugin may have permissions-based issues. Now with Flywheels platform we do have some different permissions and setups as we keep the core WordPress files separate from the user files.
We have seen some plugins have issue with this depending on how they reference the files.
For example: If the plugin uses ABSPATH to look for the root, it will on Flywheel find the wrong location /wordpress/ where the core files are kept, however, the user files are at /www/.
Now checking the root directory, I’m not seeing the files they are saying should be installed so it’s possible that’s the case, and the log files aren’t flagging any other warnings or errors.
As that’s the case, I think right now it’s incompatible with our platform for those reasons, but I would suggest reaching out to the plugin author to see if they can provide any more information, including if the plugin uses ABSPATH to write the root files.
As things stand now, there are no changes we can make to hack our way around it, the plugin will need an update to support our platform. And with that said, if you do speak to their support, please feel free to ask them to reach out to us, and specifically me Rob James to work on compatibility with our platform.
I’m currently working with a number of other major plugin developers on how they can get things running smoothly on a de-centralized WordPress platform.”
The page I need help with: [log in to see the link]
The topic ‘superpwa / flywheel hosting’ is closed to new replies.