Giter VIP home page Giter VIP logo

puppet-roundcube's People

Contributors

c33s avatar dependabot[bot] avatar fraenki avatar jean-gui avatar tohuwabohu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

puppet-roundcube's Issues

Daily cleanup script writes result to stdout

The is annoying and causes unecessary noise

/etc/cron.daily/roundcube-cleandb:
0 records deleted from 'contacts'
0 records deleted from 'contactgroups'
0 records deleted from 'identities'

Unable to send emails due to PHP fatal error: Cannot redeclare _PEAR_call_destructors()

I can see the following error in the log file

[01-Sep-2015 10:55:00 Europe/Berlin] PHP Fatal error:  Cannot redeclare _PEAR_call_destructors() (previously declared in /opt/roundcubemail-1.1.2/vendor/pear-pear.php.net/PEAR/PEAR.php:735) 
in /opt/roundcubemail-1.1.2/vendor/pear/pear-core-minimal/src/PEAR.php on line 777

Digging into the details of composer install --no-dev -vvv ...

  - Installing pear/pear-core-minimal (v1.9.5)
    Loading from cache
    Extracting archive

    REASON: pear/mail_mime 1.9.0 requires pear/pear-core-minimal * -> satisfiable by pear/pear-core-minimal[dev-master, v1.10.0alpha2, v1.9.5].

  - Installing pear/mail_mime (1.9.0)
    Loading from cache
    Extracting archive

    REASON: Required by root: Install command rule (install pear/mail_mime 1.8.9|install pear/mail_mime 1.9.0|install pear/mail_mime dev-master)

and

  - Installing pear-pear.php.net/pear (1.9.5)
    Loading from cache
    Cleaning up
    REASON: pear-pear.php.net/Net_Sieve 1.3.4 required pear-pear.php.net/pear >=1.0.0.0 -> satisfiable by pear-pear.php.net/PEAR[1.9.5, 1.9.4, 1.9.3, 1.9.2, 1.9.1, 1.9.0, 1.9.0RC4, 1.9.0RC3, 1.9.0RC2, 1.9.0RC1, 1.8.1, 1.8.0, 1.8.0RC1, 1.8.0alpha1, 1.7.2, 1.7.1, 1.7.0, 1.7.0RC2, 1.7.0RC1, 1.6.2, 1.6.1, 1.6.0, 1.5.4, 1.5.3, 1.5.2, 1.5.1, 1.5.0, 1.5.0RC3, 1.5.0RC2, 1.5.0RC1, 1.5.0a1, 1.4.11, 1.4.10, 1.4.10RC1, 1.4.9, 1.4.8, 1.4.7, 1.4.6, 1.4.5, 1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4.0, 1.4.0RC2, 1.4.0RC1, 1.4.0b2, 1.4.0b1, 1.3.6, 1.4.0a12, 1.4.0a11, 1.4.0a10, 1.4.0a9, 1.4.0a8, 1.4.0a7, 1.4.0a6, 1.4.0a5, 1.4.0a4, 1.4.0a3, 1.4.0a2, 1.4.0a1, 1.3.5, 1.3.4, 1.3.3.1, 1.3.3, 1.3.1, 1.3, 1.3b6, 1.3b5, 1.3b3, 1.3b2, 1.3b1, 1.2.1, 1.2, 1.2b5, 1.2b4, 1.2b3, 1.2b2, 1.2b1, 1.1, 1.0.1, 1.0, 1.0b3, 1.0b2, 1.0b1].

So composer installs two pear distributions which work fine until you try to click submit to send an email.

Looking at the roundcubemail-1.1.2-complete archive, I do see a vendor/pear-pear.php.net/PEAR/ directory but no vendor/pear/pear-core-minimal/. Also the version of pear/mail_mime shipped by the archive is 1.8.9 which doesn't have the dependency on pear-core-minimal.

Don't run composer as root

I've recently started getting errors on puppet run:

Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: Do not run Composer as root/super user! See https://getcomposer.org/root for details
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:                                                                                   
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: In PluginManager.php line 769:
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:                                                                                   
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:   roundcube/plugin-installer contains a Composer plugin which is blocked by y
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:   our allow-plugins config. You may add it to the list if you consider it saf
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:   e.
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:   You can run "composer config --no-plugins allow-plugins.roundcube/plugin-in
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:   staller [true|false]" to enable it (true) or disable it explicitly and supp
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:   ress this exception (false)                                                     
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:   See https://getcomposer.org/allow-plugins
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns:
Notice: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
Error: 'composer install --no-dev' returned 1 instead of one of [0]
Error: /Stage[main]/Roundcube::Install/Exec[composer install --no-dev]/returns: change from 'notrun' to ['0'] failed: 'composer install --no-dev' returned 1 instead of one of [0] (corrective)

Would it be possible to run the composer commands with a different user. Probably something like www-data or nobody, and preferably configurable.

dependency issue: missing File resource

i get the following error:

Could not find dependency File[/opt] for Archive[/var/cache/puppet/archives/roundcubemail-1.3.6-complete.tar.gz] at /tmp/vagrant-puppet/modules-c39541f238d7892abe5b5fd1f6535899/roundcube/manifests/install.pp:20

i cannot find the file resource anywhere in the module, is it missing?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.