the docker imag is not working i tried installing tiledesk-server but after the latest update its not working #17
Unanswered
Ghaithkhelifi
asked this question in
Show and tell
Replies: 2 comments
-
I'm getting the same error and It seems there are missing files in the database. This is what I get when I run show databases.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi guys, we updated the docker distribution, probably most of these issue are gone. Please use the official doc on how to install docker-compose distribution: https://github.com/Tiledesk/tiledesk/blob/master/docker-compose/README.md Let us know Andrea |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in docker desktop i get this error
this is the full log
2023-11-20 01:19:02
2023-11-20 01:19:02 > @tiledesk/[email protected] start
2023-11-20 01:19:02 > node ./bin/www
2023-11-20 01:19:02
2023-11-20 01:19:02 info: Authentication Global Algorithm : undefined
2023-11-20 01:19:02 info: Authentication Global Secret : nodret
2023-11-20 01:19:02 info: Authentication Google Signin enabled : false
2023-11-20 01:19:02 info: DatabaseUri masked: mongodb://local******edesk
2023-11-20 01:19:02 info: DB AutoIndex: true
2023-11-20 01:19:02 info: EmailService enabled: false
2023-11-20 01:19:02 info: EmailService baseUrl: http://localhost:8081/dashboard
2023-11-20 01:19:02 info: EmailService apiUrl: http://localhost:3000
2023-11-20 01:19:02 info: EmailService from email: Tiledesk Notification [email protected]
2023-11-20 01:19:02 info: EmailService bcc address:
2023-11-20 01:19:02 info: EmailService replyEnabled : false
2023-11-20 01:19:02 info: EmailService replyTo address: undefined
2023-11-20 01:19:02 info: EmailService inboundDomain : tickets.tiledesk.com
2023-11-20 01:19:02 info: EmailService pass: undefined
2023-11-20 01:19:02 info: EmailService host: smtp.mailgun.org
2023-11-20 01:19:02 info: EmailService secure: false
2023-11-20 01:19:02 info: EmailService username: [email protected]
2023-11-20 01:19:02 info: EmailService port: undefined
2023-11-20 01:19:02 info: EmailService markdown: true
2023-11-20 01:19:02 info: EmailService headers: {}
2023-11-20 01:19:02 info: EmailService ccEnabled: false
2023-11-20 01:19:02 info: Request defaultFullTextLanguage: none
2023-11-20 01:19:02 info: Request disableTicketIdSequence: false
2023-11-20 01:19:02 info: AutoIncrement plugin enabled
2023-11-20 01:19:02 mongoose: Cannot specify a custom index on
_id
for model name "faq", MongoDB does not allow overwriting the default_id
index. See http://bit.ly/mongodb-id-index2023-11-20 01:19:02 info: Organization enabled: false
2023-11-20 01:19:02 info: Organization base url: org.local
2023-11-20 01:19:03 info: JobWorkerQueued uri: undefined
2023-11-20 01:19:03 [JobWorker] JobManager worker started
2023-11-20 01:19:03 info: VisitorCounterSchema dbUrl: mongodb://localhost:27017/tiledesk-logs
2023-11-20 01:19:03 info: Mongoose cache fn initialized
2023-11-20 01:19:03 info: Resthook disabled
2023-11-20 01:19:03 info: BotSubscriptionNotifier started
2023-11-20 01:19:03 info: Listening message.create event for Chatbot messages
2023-11-20 01:19:03 info: TrainingService start
2023-11-20 01:19:03 info: JobsManager jobWorkerEnabled: false
2023-11-20 01:19:03 info: PubModulesManager initialized rules.
2023-11-20 01:19:03 info: PubModulesManager initialized messageActions.
2023-11-20 01:19:03 info: PubModulesManager initialized messageTransformer.
2023-11-20 01:19:03 info: PubModulesManager initialized requestNotification loaded.
2023-11-20 01:19:03 info: PubModulesManager initialized eventsRoute.
2023-11-20 01:19:03 info: PubModulesManager initialized entityEraser.
2023-11-20 01:19:03 info: PubModulesManager initialized scheduler.
2023-11-20 01:19:03 info: Rasa endpoint: http://localhost:3000/modules/rasa/rasabot
2023-11-20 01:19:03 info: Rasa apiUrl: http://localhost:3000
2023-11-20 01:19:03 info: Rasa Listener listen
2023-11-20 01:19:03 Starting RASA with Settings:...... {
2023-11-20 01:19:03 KVBASE_COLLECTION: undefined,
2023-11-20 01:19:03 MONGODB_URI: 'mongodb://localhost:27017/tiledesk',
2023-11-20 01:19:03 API_ENDPOINT: 'http://localhost:3000',
2023-11-20 01:19:03 log: undefined
2023-11-20 01:19:03 }
2023-11-20 01:19:03 (RASA) settings.API_ENDPOINT: http://localhost:3000
2023-11-20 01:19:03 Starting RASA connector...
2023-11-20 01:19:03 (RASA) Connecting to mongodb...
2023-11-20 01:19:03 (RASA) settings.KVBASE_COLLECTION: undefined
2023-11-20 01:19:03 (RASA) kvbase_collection: kvstore
2023-11-20 01:19:03 info: PubModulesManager initialized rasa.
2023-11-20 01:19:03 info: Apps Listener listen
2023-11-20 01:19:03 info: Starting Tiledesk Apps Server
2023-11-20 01:19:03 info: databaseUri: mongodb://localhost:27017/tiledesk
2023-11-20 01:19:03 info: DB AutoIndex: true
2023-11-20 01:19:03 info: PubModulesManager initialized apps.
2023-11-20 01:19:03 info: Whatsapp apiUrl: http://localhost:3000
2023-11-20 01:19:03 info: WhatsApp Listener listen
2023-11-20 01:19:03 info: (wab) Starting Whatsapp App
2023-11-20 01:19:03 info: (wab) API_URL: http://localhost:3000
2023-11-20 01:19:03 info: (wab) BASE_FILE_URL: http://localhost:3000
2023-11-20 01:19:03 info: (wab) BASE_URL: http://localhost:3000/modules/whatsapp
2023-11-20 01:19:03 info: (wab) GRAPH_URL: https://graph.facebook.com/v14.0/
2023-11-20 01:19:03 info: (wab) APPS_API_URL: http://localhost:3000/modules/apps
2023-11-20 01:19:03 info: (wab) Starting api route {"API_URL":"http://localhost:3000","BASE_FILE_URL":"http://localhost:3000","DB":{"KV_COLLECTION":"kvstore"},"GRAPH_URL":"https://graph.facebook.com/v14.0/"}
2023-11-20 01:19:03 info: (wab) db [object Object]
2023-11-20 01:19:03 info: (wab) GRAPH_URL: https://graph.facebook.com/v14.0/
2023-11-20 01:19:03 info: (wab) API_URL: http://localhost:3000
2023-11-20 01:19:03 info: (wab) BASE_FILE_URL: http://localhost:3000
2023-11-20 01:19:03 info: PubModulesManager initialized apps.
2023-11-20 01:19:03 info: Messenger Listener listen
2023-11-20 01:19:03 info: (fbm) Starting Messenger App
2023-11-20 01:19:03 info: (fbm) API_URL: http://localhost:3000
2023-11-20 01:19:03 info: (fbm) BASE_URL: http://localhost:3000/modules/messenger
2023-11-20 01:19:03 error: (fbm) DASHBOARD_BASE_URL is mandatory. Exit...
2023-11-20 01:19:03 info: unable to start Tiledesk Messenger Connector. Missing parameter: DASHBOARD_BASE_URL
2023-11-20 01:19:03 info: PubModulesManager initialized apps.
2023-11-20 01:19:03 info: telegram apiUrl: http://localhost:3000
2023-11-20 01:19:03 info: this.telegram: [object Object]
2023-11-20 01:19:03 info: Telegram Listener listen
2023-11-20 01:19:03 info: Telegram api url: https://api.telegram.org/bot
2023-11-20 01:19:03 info: Telegram file url: https://api.telegram.org/file/bot
2023-11-20 01:19:03 info: Telegram log: debug
2023-11-20 01:19:03 info: (tgm) Starting Telegram App:
2023-11-20 01:19:03 info: (tgm) API_URL: http://localhost:3000
2023-11-20 01:19:03 info: (tgm) BASE_URL: http://localhost:3000/modules/telegram
2023-11-20 01:19:03 info: (tgm) TELEGRAM_API_URL: https://api.telegram.org/bot
2023-11-20 01:19:03 info: (tgm) TELEGRAM_FILE_URL: https://api.telegram.org/file/bot
2023-11-20 01:19:03 info: (tgm) APPS_API_URL: http://localhost:3000/modules/apps
2023-11-20 01:19:03 info: PubModulesManager initialized apps (telegram).
2023-11-20 01:19:03 info: Kaleyra apiUrl: http://localhost:3000
2023-11-20 01:19:03 info: Kaleyra Listener listen
2023-11-20 01:19:03 info: Skip Kaleyra startApp
2023-11-20 01:19:03 info: PubModulesManager initialized apps.
2023-11-20 01:19:03 info: ModulesManager activities initialized
2023-11-20 01:19:03 info: ModulesManager analyticsRoute initialized
2023-11-20 01:19:03 info: ModulesManager cannedResponseRoute initialized
2023-11-20 01:19:03 info: ModulesManager trigger initialized
2023-11-20 01:19:03 info: Tilebot endpoint: http://localhost:3000/modules/tilebot/ext/
2023-11-20 01:19:03 info: Rasa apiUrl: http://localhost:3000
2023-11-20 01:19:03 info: Tilebot Listener listen
2023-11-20 01:19:03 Starting Tilebot...
2023-11-20 01:19:03 (Tilebot) settings.API_ENDPOINT: http://localhost:3000
2023-11-20 01:19:03 (Tilebot) log: false
2023-11-20 01:19:03 (Tilebot) Starting Tilebot connector v0.2.26
2023-11-20 01:19:03 (Tilebot) Connecting to mongodb...
2023-11-20 01:19:03 info: PubModulesManager initialized tilebot.
2023-11-20 01:19:03 info: Durable queue: false Persistent queue: false Exchange topic: amq.topic Queue name: jobs
2023-11-20 01:19:03 info: PubModulesManager initialized queue.
2023-11-20 01:19:03 info: PubModulesManager routing queue initialized
2023-11-20 01:19:03 info: Mongoose Cachegoose disabled
2023-11-20 01:19:03 info: PubModulesManager cache initialized
2023-11-20 01:19:03 info: Dialogflow endpoint: http://localhost:3000/modules/dialogflow/tdbot/
2023-11-20 01:19:03 info: Dialogflow apiUrl: http://localhost:3000
2023-11-20 01:19:03 Starting Dialogflow with Settings: {
2023-11-20 01:19:03 MONGODB_URI: 'mongodb://localhost:27017/tiledesk',
2023-11-20 01:19:03 API_ENDPOINT: 'http://localhost:3000',
2023-11-20 01:19:03 log: undefined
2023-11-20 01:19:03 }
2023-11-20 01:19:03 (Dialogflow) settings.API_ENDPOINT: http://localhost:3000
2023-11-20 01:19:03 (Dialogflow) log: false
2023-11-20 01:19:03 Starting Dialogflow connector v0.1.10 ...
2023-11-20 01:19:03 (Dialogflow) Connecting to mongodb...
2023-11-20 01:19:03 info: PubModulesManager dialogFlow initialized
2023-11-20 01:19:03 info: JobsManager listener started
2023-11-20 01:19:03 info: GeoService listener started
2023-11-20 01:19:03 info: Resthook Queued disabled
2023-11-20 01:19:03 warn: ChannelManager Chat21 channel is disabled. Attention!!
2023-11-20 01:19:03 info: ChannelManager listener NOT started
2023-11-20 01:19:03 info: ModulesManager init enterprise module not found
2023-11-20 01:19:03 info: ModulesManager stripe initialized
2023-11-20 01:19:03 info: ModulesManager init jwthistory module not found
2023-11-20 01:19:03 info: ModulesManager init requestHistory module not found
2023-11-20 01:19:03 info: ModulesManager init visitorCounter module not found
2023-11-20 01:19:03 info: ConciergeBot listener start
2023-11-20 01:19:03 info: PubModulesManager appRules started.
2023-11-20 01:19:03 info: MessageActionsInterceptor listener start
2023-11-20 01:19:03 info: PubModulesManager messageActions started.
2023-11-20 01:19:03 info: MessageTransformerInterceptor listener start
2023-11-20 01:19:03 info: MicroLanguageTransformerInterceptor listener start
2023-11-20 01:19:03 info: MessageHandlebarsTransformerInterceptor listener start
2023-11-20 01:19:03 info: PubModulesManager messageTransformer started.
2023-11-20 01:19:03 info: JobsManager listenEmailNotification started
2023-11-20 01:19:03 info: RequestNotification listener started
2023-11-20 01:19:03 info: PubModulesManager emailNotification started.
2023-11-20 01:19:03 info: JobsManager scheduler started
2023-11-20 01:19:03 info: TaskRunner started
2023-11-20 01:19:03 info: CloseBotUnresponsiveRequestTask started
2023-11-20 01:19:03 info: CloseBotUnresponsiveRequestTask task scheduleUnresponsiveRequests launched with closeAfter : 172800000 milliseconds, cron expression: */5 * * * * and query limit: 10
2023-11-20 01:19:03 info: CloseAgentUnresponsiveRequestTask disabled
2023-11-20 01:19:03 info: PubModulesManager scheduler started.
2023-11-20 01:19:03 info: JobsManager listenActivityArchiver started
2023-11-20 01:19:03 info: ActivityArchiver disabled
2023-11-20 01:19:03 info: PubModulesManager activityArchiver started
2023-11-20 01:19:03 info: Route queue Listener listen
2023-11-20 01:19:03 info: PubModulesManager routingQueue started
2023-11-20 01:19:03 info: JobsManager routingQueue started
2023-11-20 01:19:03 info: Route queue with queue Listener listen
2023-11-20 01:19:03 info: PubModulesManager routingQueue queued started
2023-11-20 01:19:03 info: SchemaMigration checking for schema updates.
2023-11-20 01:19:03 info: Used standard cors middleware
2023-11-20 01:19:03 Mon, 20 Nov 2023 09:19:03 GMT express-session deprecated undefined resave option; provide resave option at app.js:323:13
2023-11-20 01:19:03 Mon, 20 Nov 2023 09:19:03 GMT express-session deprecated undefined saveUninitialized option; provide saveUninitialized option at app.js:323:13
2023-11-20 01:19:03 info: Express Session enabled with Secret: tiledesk-session-secret
2023-11-20 01:19:03 info: RouterLogger disabled
2023-11-20 01:19:03 info: ChannelManager - Chat21 channel routes not initialized.
2023-11-20 01:19:03 info: PubModulesManager rasaRoute controller loaded
2023-11-20 01:19:03 info: PubModulesManager appsRoute controller loaded
2023-11-20 01:19:03 info: PubModulesManager whatsappRoute controller loaded
2023-11-20 01:19:03 info: PubModulesManager messengerRoute controller loaded
2023-11-20 01:19:03 info: PubModulesManager telegramRoute controller loaded
2023-11-20 01:19:03 info: PubModulesManager kaleyraRoute controller loaded
2023-11-20 01:19:03 info: PubModulesManager tilebot controller loaded
2023-11-20 01:19:03 info: PubModulesManager dialogFlow controller loaded
2023-11-20 01:19:03 info: ModulesManager stripe controller loaded
2023-11-20 01:19:03 info: ModulesManager eventsRoute controller loaded
2023-11-20 01:19:03 info: ModulesManager activities controller loaded
2023-11-20 01:19:03 info: ModulesManager analytics controller loaded
2023-11-20 01:19:03 info: ModulesManager canned controller loaded
2023-11-20 01:19:03 info: ModulesManager trigger controller loaded
2023-11-20 01:19:03 info: Starting websocket on path: /
2023-11-20 01:19:03 (node:19) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
2023-11-20 01:19:03 (Use
node --trace-warnings ...
to show where the warning was created)2023-11-20 01:19:03 (node:19) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
2023-11-20 01:19:03 (node:19) Warning: Accessing non-existent property 'TiledeskChatbot' of module exports inside circular dependency
2023-11-20 01:19:03 (node:19) [MONGOOSE] DeprecationWarning: Mongoose: the
strictQuery
option will be switched back tofalse
by default in Mongoose 7. Usemongoose.set('strictQuery', false);
if you want to prepare for this change. Or usemongoose.set('strictQuery', true);
to suppress this warning.2023-11-20 01:19:03 Listening tiledesk-server ver:2.4.77 on port 3000
2023-11-20 01:19:04 info: (wab) Connect Redis Error Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
2023-11-20 01:19:04 info: Trigger rules started
2023-11-20 01:19:04 error: Failed to connect to MongoDB on mongodb://localhost:27017/tiledesk failed to connect to server [localhost:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017
2023-11-20 01:19:04 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
2023-11-20 01:19:04 name: 'MongoNetworkError'
2023-11-20 01:19:04 }] {"name":"MongoNetworkError","stack":"MongoNetworkError: failed to connect to server [localhost:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {\n name: 'MongoNetworkError'\n}]\n at Pool. (/usr/src/app/node_modules/mongodb/lib/core/topologies/server.js:441:11)\n at Pool.emit (node:events:513:28)\n at /usr/src/app/node_modules/mongodb/lib/core/connection/pool.js:564:14\n at /usr/src/app/node_modules/mongodb/lib/core/connection/pool.js:1000:11\n at /usr/src/app/node_modules/mongodb/lib/core/connection/connect.js:32:7\n at callback (/usr/src/app/node_modules/mongodb/lib/core/connection/connect.js:300:5)\n at Socket. (/usr/src/app/node_modules/mongodb/lib/core/connection/connect.js:330:7)\n at Object.onceWrapper (node:events:628:26)\n at Socket.emit (node:events:513:28)\n at emitErrorNT (node:internal/streams/destroy:157:8)\n at emitErrorCloseNT (node:internal/streams/destroy:122:3)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)"}
and i tried to install it on my server in cloud but its not working to
Beta Was this translation helpful? Give feedback.
All reactions