Giter Club home page Giter Club logo

yaffmap-backend's Introduction

Yet Another Freifunk Map - Backend

development installation:

1) install propel dependencies
  - pear channel-discover pear.phing.info
  - pear install phing/phing
  - pear install Log
2) clone yaffmap-backend
3) initialize submodules
  - git submodule init
  - git submodule update
4) edit config files (build.properties, runtime-conf.xml)
5) build propel environment 
  - run ./update_om.sh
6) goto http://<yaffmap-server>/admin/setup.php and check your environment (not yet implemented, goto database table yaffmap_config and edit the url!!!)
7) test it!
8) (optional) install rrd
  - sudo apt-get install rrdtool librrd-dev php5-dev
  - sudo pecl install rrd

update yaffmap-backend:

1) fetch/pull/whatever from git
2) run ./migrate.sh
3) update git submodules:
  - run ./update_submodules.sh

yaffmap-backend's People

Contributors

wurststulle avatar

Stargazers

robin avatar

Watchers

 avatar  avatar James Cloos avatar

Forkers

freifunk

yaffmap-backend's Issues

Replication Error

Array
(
)
Array
(
)
1|SOAP Exception: SoapFault exception: [Client] looks like we got no XML document in /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/classes/YaffmapBackend.php:105 Stack trace: #0 [internal function]: SoapClient->__call('getAgentRelease', Array) #1 /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/classes/YaffmapBackend.php(105): SoapClient->getAgentRelease('0.1.1-3') #2 /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/index.php(149): YaffmapBackend->getAgentRelease('http://wurststu...') #3 {main}|

Wiederholte NodeReplication schlaegt fehl

Beim ersten Mal klappt die Node Replication prima. Das zweite Mal allerdings, versucht er bereits existierende Nodes neu anzulegen anstatt sie zu updaten.

1|Propel Exception: exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '290b7e862e3f1ed59145b6b01eb1f46d' for key 'PRIMARY'' in /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/propel/util/BasePeer.php:289 Stack trace: #0 /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/propel/util/BasePeer.php(289): PDOStatement->execute() #1 /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/classes/yaffmap/om/BaseFfNode.php(1146): BasePeer::doInsert(Object(Criteria), Object(PropelPDO)) #2 /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/classes/yaffmap/om/BaseFfNode.php(1105): BaseFfNode->doSave(Object(PropelPDO)) #3 /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/classes/YaffmapBackend.php(240): BaseFfNode->save(Object(PropelPDO)) #4 /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/index.php(161): YaffmapBackend->replicateNodes('http://yaffmap....') #5 {main} Next exception 'PropelException' with message 'Unable to execute INSERT statement [INSERT INTO `yaffmap_node` (`ID_NODE`,`UPDATEINTERVALNODE`,`UPDATEINTERVALLINK`,`TIMEOUT`,`ISHNA`,`ISGLOBALUPDATED`,`REPLICATEDBY`,`CREATED_AT`,`UPDATED_AT`) VALUES (:p1,:p2,:p3,:p4,:p5,:p6,:p7,:p8,:p9)] [wrapped: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '290b7e862e3f1ed59145b6b01eb1f46d' for key 'PRIMARY']' in /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/propel/util/BasePeer.php:293 Stack trace: #0 /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/classes/yaffmap/om/BaseFfNode.php(1146): BasePeer::doInsert(Object(Criteria), Object(PropelPDO)) #1 /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/classes/yaffmap/om/BaseFfNode.php(1105): BaseFfNode->doSave(Object(PropelPDO)) #2 /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/classes/YaffmapBackend.php(240): BaseFfNode->save(Object(PropelPDO)) #3 /home/robin/www/yaffmap.basicinside.de/yaffmap-backend/build/index.php(161): YaffmapBackend->replicateNodes('http://yaffmap....') #4 {main}|

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.