Git Product home page Git Product logo

pkg-emoncms's People

Contributors

dave-mccraw avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pkg-emoncms's Issues

dpkg-reconfigure fails because default.settings.php is already renamed

From OpenEnergyMonitor forum, looks like the postinst script is falling over because default.settings.php has already been renamed to settings.php on the initial installation :

Replacing existing emoncms config as follows:
- MySQL configuration   : root connecting to emoncms db on localhost
- SMTP configuration    :  connecting to  to send as emoncms (noreply) (emoncms-noreply@localhost)
- Allow password resets :
mv: cannot stat `/usr/share/emoncms/www/default.settings.php': No such file or directory
Verifying feed directories exist and have the correct ownership...
- /var/lib/phpfiwa
- /var/lib/phpfina
- /var/lib/phptimeseries
- /var/lib/timestore
Attempting to create 'emoncms' mysql database (with the 'root' user)...
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
- Failed (check username and password are correct, using dpkg-reconfigure. Check grants allow table creation, etc...)

Non-empty MySQL password is mandatory

It's been pointed out on the forum that the use of debconf to manage configuration precludes the use of a passwordless DB user, because hitting enter on an empty password field means "use default".

I don't plan to fix this, as I think it would be much easier (and better) for people just to set up a proper DB user with a password.

However, no objection in principal if someone can figure out a clean way of adding this in (hint: you'll also need to add some intelligence to the CREATE DATABASE command being executed in debian/postinst)

Install swift-mailer using apt

At the moment, installation instructions still require Swift Mailer to be pulled from PEAR / PECL but it is available (on sid) as the package libphp-swiftmailer [1].

Rather than ask people to expose sid, it might be better to host this package from our own emon-repo on s3, and simplify the installation one step further by making it a debian control dependency.

Debian package and nginx

Would it be possible to have the debian package not depend on apache? I have nginx already running on my raspberry pi and would prefer not to install apache2. I am not too familiar with debian packages, but would think it should be possible to depend on nginx or apache instead of only on apache?

(This issue originated as emoncms/emoncms#209 and was moved here on @Dave-McCraw request.)

Easy way to generate dch, dch news

Hello Dave, I see you've upgraded this earlier today, it is good for people to use for v8.3.2?
Slowly working through the process here, I had a bit of trouble with installing one of required tools earlier but thats now fixed.

What would you recommend for what I enter in the steps:

dch -v 8.0.8
dch -v 8.0.8 --news

I could perhaps host this on the files.openenergymonitor.org server? Once the deb has been generated what's the progress for hosting it and providing different architecture builds?

Thanks a lot for your help!

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.