Jump to content

arjen

Members
  • Posts

    1,222
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by arjen

  1. @AutofahrnDanke for your hard work on this. I really appreciate it. 

    I've excluded both pwpc and added the regex to the config. No luck. I then changed the "Absolute path of the directory where packages are saved." to the ../public folder. No luck either. Funny thing is though that the log says it still wants to save in the "default" folder. 

    When I add your code I'm getting a "Parse error: syntax error, unexpected '$res' (T_VARIABLE)". I've double check the syntax, but it seems to be okay. Not sure what is going on there as well.

    I also removed all filecompiler files and let it recompile again. No luck.

    • Like 2
  2. 7 hours ago, Autofahrn said:

    Well, I guess your site contains a lot of data so the re-opening still is triggered. I'm really interested in the returned error number, did you try to add the suggested code change?

    Sorry mate, missed this one. It is error 9.

    2019-05-15 19:00:26: Unable to re-open ZIP (/home/xxxxxx-nl/webapps/xxxxxx-nl/public/site/assets/backups/2019-05-15_19-00-24-xxxxxx.nl.package2.zip): 9
    

    When I disable that code block I get:

    2019-05-15 19:04:00:  - package build failed.
    2019-05-15 19:04:00:  - an error occured during package build.
    2019-05-15 19:04:00:  - an error occured while building the ProcessWire structure: /home/xxxxxx-nl/webapps/xxxxxx-nl/public/site/assets/backups/2019-05-15_19-03-56-xxxxxx.nl.package2.zip root: /home/xxxxxx-nl/webapps/xxxxxx-nl/public/ Array (     [filename] => 2019-05-15_19-03-56-xxxxxx.nl.package2.zip     [folder] => /home/xxxxxx-nl/webapps/xxxxxx-nl/public/site/assets/backups/     [exclude] => Array         (             [0] => /site/assets/cache/WireTempDir             [1] => /site/assets/backups             [2] => /site/assets/cache             [3] => /site/assets/sessions             [4] => %\.\d+x\d+\.[^/]+$%             [5] =>          )      [extension] => Array         (         )      [allowHidden] => 1 )
    2019-05-15 19:03:56:  - package build failed.
    2019-05-15 19:03:56:  - an error occured during package build.
    2019-05-15 19:03:56:  - an error occured while building the ProcessWire structure: /home/xxxxxx-nl/webapps/xxxxxx-nl/public/site/assets/backups/2019-05-15_19-03-52-xxxxxx.nl.package2.zip root: /home/xxxxxx-nl/webapps/xxxxxx-nl/public/ Array (     [filename] => 2019-05-15_19-03-52-xxxxxx.nl.package2.zip     [folder] => /home/xxxxxx-nl/webapps/xxxxxx-nl/public/site/assets/backups/     [exclude] => Array         (             [0] => /site/assets/cache/WireTempDir             [1] => /site/assets/backups             [2] => /site/assets/cache             [3] => /site/assets/sessions             [4] => %\.\d+x\d+\.[^/]+$%             [5] =>          )      [extension] => Array         (         )      [allowHidden] => 1 )

    Thanks again! I currently use 1.3.11.

    • Like 3
  3. I've updated to the latest dev and unfortunately it is not working. 

    2019-05-14 20:39:11:  - package build failed.
    2019-05-14 20:39:11:  Unable to re-open ZIP: /home/xxxxxx-nl/webapps/xxxxxx-nl/public/site/assets/backups/2019-05-14_20-39-09-xxxxxx.nl.package2.zip

    I tried upping DUP_ZIP_FLUSH_MBYTES and played with other settings, but no luck. I'm unsure why. For now I'll keep running the previous version. Thanks for the hard work on this module.

    • Like 2
  4. Thanks for getting back on this.

    The file doesn't exist on the server. I currently am testing on another install (same server same php version) and here it's working fine (as in it creates the zip flawless), but the logs in the ProcessModule says:

    2019-05-12 13:06:32:  - package build failed.
    2019-05-12 13:06:32:  - package build failed,  doesn't exist

    When I compare the verbose logs between the two installs I notice this:

    Install which fails tries to open after closing:

    Quote

    0.0s: CLOSING ZIP: /**/public/site/assets/backups/2019-05-11_13-52-12.package2.zip
    1.4s: OPENING ZIP: /**/public/site/assets/backups/2019-05-11_13-52-12.package2.zip
    Done in 1.41s

    Install which succeeds only closes:

    Quote

    12.4s: CLOSING ZIP: /**/public/site/assets/backups/2019-05-12_13-06-08.package2.zip
    Done in 22.43s

    I will investigate further.

  5. I have Duplicator running smoothly on several installs. Today I felt I needed to upgrade to the dev version (sometimes you feel crazy ?), but I'm running into this line:

    if($zip->open($zipfile) !== true) throw new WireException("Unable to re-open ZIP: $zipfile");

    I'm not sure how to debug this. I'm running PHP 7.2.17. ZipArchive has been installed. The Duplicator log also doesn't show any errors. Any pointers how to debug this?

    • Like 1
  6. On 4/28/2019 at 7:44 AM, Robin S said:

    But won't this have the effect that if a visitor saves the image from their browser they will be saving a WEBP image with a JPG (PNG, GIF, etc) file extension? Might cause some confusion.

    This is the only disadvantage I see, but it might outweigh all the advantages.

    On 4/29/2019 at 8:18 AM, arjen said:

    Thanks for your effort on this. I'll check it out this week and let you know my test findings.

    It works fine on my local docker environment. Nice ? I am moving servers, but I will check it out on a VPS but I won't see why it shouldn't work.

    • Thanks 1
  7. On 3/25/2019 at 4:41 PM, horst said:

    I've created a new branch on github with the requested feature by @felix. Please can you and / or anybody else try this out and give some feedback. If everything is working as expected, I will push this to the master branch.

    I've missed this completely! Thanks for creating this. A real timesaver not storing this in the DB. And thanks for bringing it to our attention @adrian!

    • Like 1
  8. An event / accommodation booking system with payment (i.e. Omnipay) would be awesome and a real benefit to the PW ecosystem since they often have a more bespoke implementation. The Helpdesk and PM is so overly crowded and feels more SaaS to me.

    • Like 1
  9. I have tried them all, but 1password is worth every $ per month. Great application with great UX once you have set-up the right urls and 2FA. And great support too.

    edit: I see you ask for a free solution. I used Keepass a while, but I felt buggy and sync wasn't really great. So if you do freelancing or have a business a 3$/month would be a no-brainer in my opinion.

    • Like 2
×
×
  • Create New...