Support » Plugin: Super Progressive Web Apps » Manifest generation failed.

  • Resolved adriandaniel

    (@adriandaniel)


    I have rights access problem with manifest and service worker generation, my project works under git. Even if setup 0777 to whole folder is not working:

    Manifest
    Manifest generation failed. Check if WordPress can write to your root folder (the same folder with wp-config.php).

    Service Worker
    Service worker generation failed. Check if WordPress can write to your root folder (the same folder with wp-config.php

    • This topic was modified 3 years, 2 months ago by adriandaniel.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thanks for trying out our plugin.

    Unless you have a security plugin blocking writing to the directory, it might be because the process running WordPress is not the owner of the folder.

    When you try to install a plugin, or update WordPress, does it ask for FTP details?

    The functions that SuperPWA uses to write to the filesystem are here: https://github.com/SuperPWA/Super-Progressive-Web-Apps/blob/master/admin/filesystem.php

    Thread Starter adriandaniel

    (@adriandaniel)

    Hello Arun,

    Thanks for reply.

    I’m not using FTP for upload i am working with git versioning.
    And of course the project is under git ownership not under root or www-data.

    Still i would give 0777 rights to whole project on beta.evaluari24.ro, no luck.

    Cheers, Adrian

    Thread Starter adriandaniel

    (@adriandaniel)

    i just changed in wp-config the FileSystem constant to:

    define( ‘FS_METHOD’, ‘direct’ ); and still no luck.

    Any updates Adrian? I would love to check it out for you.

    Thread Starter adriandaniel

    (@adriandaniel)

    Hello Arun,

    i’ve solved the problem for the moment. I’ve added the whole project to www-data user and assign the correct rights to folders and files.

    I’ll need to check in future how to restrict back some rights and if this will affect the Manifest Generation.

    Thanks, Adrian.

    Hey Adrian,

    Thanks for letting me know. In case you find something in the future, please let me know as well. For the benefit of everyone else.

    Thank you!

    sssourav06

    (@sssourav06)

    Hi Arun,

    Exact same issue here. After giving 777 into wp root still showing me following errors.

    Manifest

    Manifest generation failed. Check if WordPress can write to your root folder (the same folder with wp-config.php).

    Service Worker

    Service worker generation failed. Check if WordPress can write to your root folder (the same folder with wp-config.php).

    I am also using git.

    I have the same issue:

    Manifest generation failed. Check if WordPress can write to your root folder (the same folder with wp-config.php)

    Service worker generation failed. Check if WordPress can write to your root folder (the same folder with wp-config.php)

    I have already followed all recommendations from above, even deactivated all other plugins. Yesterday I even cloned the application to another server with the same outcome. With other wordpress installations I don’t have this problem.
    I actually have no idea, what I could do more.
    Thanks, Frank

    Hey Frank,

    Since you tried everything from here, I am at a loss.

    Can you please enable WordPress debug logging and see if you get anything in there? Or in the webserver error.log

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @arunbasillal I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean well but please never ask for credentials on these forums.

    https://wordpress.org/support/guidelines/#the-bad-stuff

    Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.

    If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.

    Please be aware that repeatedly asking for credentials will result in us asking you to repeatedly stop before escalating up to the plugins team.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Manifest generation failed.’ is closed to new replies.