mklab-iti / mmdemo-dockerized Goto Github PK
View Code? Open in Web Editor NEWA set of services for monitoring of multiple social media platforms based on Docker.
A set of services for monitoring of multiple social media platforms based on Docker.
Hi,
Hope you are all well !
I have the following error when trying docker-compose up
Building streammanager
Step 1/11 : FROM java:8
8: Pulling from library/java
5040bd298390: Already exists
fce5728aad85: Pull complete
76610ec20bf5: Pull complete
60170fec2151: Pull complete
e98f73de8f0d: Pull complete
11f7af24ed9c: Pull complete
49e2d6393f32: Pull complete
bb9cdec9c7f3: Pull complete
Digest: sha256:c1ff613e8ba25833d2e1940da0940c3824f03f802c449f3d1815a66b7f8c0e9d
Status: Downloaded newer image for java:8
---> d23bdf5b1b1b
Step 2/11 : MAINTAINER Manos Schinas [email protected]
---> Running in 61bbe570a768
Removing intermediate container 61bbe570a768
---> d901c4d3ee04
Step 3/11 : RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git maven
---> Running in 7ced40256844
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie-updates InRelease [16.3 kB]
Ign http://deb.debian.org jessie-backports InRelease
Get:3 http://deb.debian.org jessie Release.gpg [1652 B]
Ign http://deb.debian.org jessie-backports Release.gpg
Get:4 http://deb.debian.org jessie Release [77.3 kB]
Ign http://deb.debian.org jessie-backports Release
Err http://deb.debian.org jessie-backports/main amd64 Packages
Err http://deb.debian.org jessie-backports/main amd64 Packages
Err http://deb.debian.org jessie-backports/main amd64 Packages
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [885 kB]
Err http://deb.debian.org jessie-backports/main amd64 Packages
Err http://deb.debian.org jessie-backports/main amd64 Packages
404 Not Found
Get:6 http://deb.debian.org jessie-updates/main amd64 Packages [20 B]
Get:7 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Fetched 10.1 MB in 20s (497 kB/s)
W: There is no public key available for the following key IDs:
AA8E81B4331F7F50
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Service 'streammanager' failed to build: The command '/bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y git maven' returned a non-zero code: 100
Cheers
Hi guys,
Hope you are doing well !
I could not build the demo, here is an excerpt of the error message that occured:
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/3.1/plexus-3.1.pom (19 KB at 107.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.9.1/plexus-compiler-manager-1.9.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.9.1/plexus-compiler-manager-1.9.1.pom (692 B at 6.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.9.1/plexus-compiler-javac-1.9.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.9.1/plexus-compiler-javac-1.9.1.pom (688 B at 6.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/1.9.1/plexus-compilers-1.9.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/1.9.1/plexus-compilers-1.9.1.pom (2 KB at 10.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.9.1/plexus-compiler-api-1.9.1.jar
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.9.1/plexus-compiler-manager-1.9.1.jar
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.9.1/plexus-compiler-javac-1.9.1.jar
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/1.9.1/plexus-compiler-manager-1.9.1.jar (5 KB at 35.9 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/1.9.1/plexus-compiler-javac-1.9.1.jar (14 KB at 98.4 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/1.9.1/plexus-compiler-api-1.9.1.jar (21 KB at 121.5 KB/sec)
[INFO] Compiling 47 source files to /mklab-stream-manager/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /mklab-stream-manager/src/main/java/gr/iti/mklab/sfc/StreamsManager.java:[465,17] error: cannot find symbol
[ERROR] symbol: method getLastRunningTime()
location: variable collection of type Collection
/mklab-stream-manager/src/main/java/gr/iti/mklab/sfc/StreamsManager.java:[465,60] error: cannot find symbol
[ERROR] symbol: method getLastRunningTime()
location: variable collection of type Collection
/mklab-stream-manager/src/main/java/gr/iti/mklab/sfc/StreamsManager.java:[466,15] error: cannot find symbol
[INFO] 3 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12:03.934s
[INFO] Finished at: Mon Jun 13 14:57:04 UTC 2016
[INFO] Final Memory: 33M/80M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project mklab-stream-manager: Compilation failure: Compilation failure:
[ERROR] /mklab-stream-manager/src/main/java/gr/iti/mklab/sfc/StreamsManager.java:[465,17] error: cannot find symbol
[ERROR] symbol: method getLastRunningTime()
[ERROR] location: variable collection of type Collection
[ERROR] /mklab-stream-manager/src/main/java/gr/iti/mklab/sfc/StreamsManager.java:[465,60] error: cannot find symbol
[ERROR] symbol: method getLastRunningTime()
[ERROR] location: variable collection of type Collection
[ERROR] /mklab-stream-manager/src/main/java/gr/iti/mklab/sfc/StreamsManager.java:[466,15] error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
ERROR: Service 'streammanager' failed to build: The command '/bin/sh -c git clone https://github.com/MKLab-ITI/mklab-stream-manager.git && cd mklab-stream-manager && mvn clean package &&
It seems to be due to some missing dependencies with "mklab-stream-manager".
Is there any alternative repos or branch/tag to use in the Dockerfile to fix the issue ?
Cheers,
Luc
UPDATE 2: I succeed in order to get items from Facebook. I've had to change the associated app in graph api explorer
UPDATE: The system, somehow, has started getting items from youtube, google+ and flickr... But it doesn't get any item from facebook...
It seemed to me that linking web-service/site/api to web-service/api partially solved the problem...
I set all permisions on Facebook Graph API, but it still gets nothing...
I configured the system, but it only get tweets, although I set up stream_manager/streams.conf.xml and web-service/api/credentials.ini with respective Youtube and Facebook API's keys.
In stream_manager/streams.conf.xml, I used Facebook's Access Token (shown on Graph API's page), and Google's API Key
In web-service/api/credentials.ini I used Facebook's App ID and App Secret Key (which is not the same key as the one used in streams.conf.xml), and Google's API Key (again) and Project Name (not any ID, the name itself)
Did I configure it correctly? If yes, what could be wrong?
It only collects tweets in English, Spanish, Greek, Turkish, Italian and Catalan. How can I configure the system in order to get tweets in other languages?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.