Comments (1)
[centos@ip-172-31-33-44 excel-calc-compose]$ docker run -it --link tricket_mongo_1:mongo --rm mongo sh -c 'exec mongo "$MONGO_PORT_27017_TCP_ADDR:$MONGO_PORT_27017_TCP_PORT/tricket"'
MongoDB shell version v3.4.4
connecting to: mongodb://172.17.0.5:27017/tricket
MongoDB server version: 3.4.4
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
http://docs.mongodb.org/
Questions? Try the support group
http://groups.google.com/group/mongodb-user
Server has startup warnings:
2017-07-13T17:43:31.176+0000 I CONTROL [initandlisten]
2017-07-13T17:43:31.176+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2017-07-13T17:43:31.176+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2017-07-13T17:43:31.176+0000 I CONTROL [initandlisten]
2017-07-13T17:43:31.176+0000 I CONTROL [initandlisten]
2017-07-13T17:43:31.176+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2017-07-13T17:43:31.176+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2017-07-13T17:43:31.176+0000 I CONTROL [initandlisten]
2017-07-13T17:43:31.176+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2017-07-13T17:43:31.176+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'
2017-07-13T17:43:31.176+0000 I CONTROL [initandlisten]
> use tricket
switched to db tricket
> show collections
counters
customers
migrations
tickets
> db.counters.find()
{ "_id" : "UNK", "seq" : 1 }
{ "_id" : "CUS", "seq" : 2 }
{ "_id" : "MAI", "seq" : 1 }
{ "_id" : "OND", "seq" : 21 }
{ "_id" : "BEL", "seq" : 1 }
{ "_id" : "FRE", "seq" : 1 }
{ "_id" : "GIT", "seq" : 8 }
{ "_id" : "AMA", "seq" : 52 }
{ "_id" : "COA", "seq" : 1 }
{ "_id" : "COI", "seq" : 1 }
{ "_id" : "ONDEVIO", "seq" : 76 }
{ "_id" : "COAATMU", "seq" : 95 }
{ "_id" : "ICAV", "seq" : 411 }
{ "_id" : "COAATAVILA", "seq" : 2 }
{ "_id" : "COAATZ", "seq" : 59 }
{ "_id" : "APATGN", "seq" : 24 }
{ "_id" : "COAATRIOJA", "seq" : 4 }
{ "_id" : "ACCOUNTS", "seq" : 1 }
{ "_id" : "GOODSERVERS", "seq" : 99 }
{ "_id" : "EC2", "seq" : 3 }
Type "it" for more
> it
{ "_id" : "COITT", "seq" : 42 }
{ "_id" : "FRESHDESK", "seq" : 1 }
{ "_id" : "HOTMAIL", "seq" : 1 }
{ "_id" : "COAATTERUEL", "seq" : 34 }
{ "_id" : "CERVIGLAS", "seq" : 26 }
{ "_id" : "CAATLLEIDA", "seq" : 8 }
{ "_id" : "CATEBRE", "seq" : 36 }
{ "_id" : "TISCALI", "seq" : 1 }
{ "_id" : "UCP", "seq" : 1 }
{ "_id" : "COAGRANADA", "seq" : 18 }
{ "_id" : "MRVSOFT", "seq" : 1 }
{ "_id" : "COAATGRANCANARIA", "seq" : 4 }
> db.tickets.find({ticket_id: 'CATEBRE-26'}
... )
{ "_id" : ObjectId("595bb6f6d99b2314be573045"), "ticket_id" : "CATEBRE-26", "customer" : { "email" : "[email protected]", "name" : "" }, "asignee" : "Not asigned", "status" : "Closed", "title" : "problemes conexió al server", "dateCreated" : "2017-04-15T00:00:00.000Z", "worklog" : 1, "notes" : [ { "body" : "problemes conexió al server", "type" : "Internal", "dateCreated" : "2017-04-15T00:00:00.000Z", "worklog" : 1, "user" : "Not asigned" }, { "body" : "Hola Alexis,\r\n \r\nEs que no les puc tornar a comptabilitar totes. Havia una repetida i l’he esborrat. Era la núm. 17-0000014 de F.recibidas. S’hauria de poder modificar el núm. Ara em surt desquadrat amb el que posa a l’ordinador i el que jo he numerat.\r\n\r\nA continuació de la que t’he dit, s’han de canviar tots els números. S’acabaria a la 17-0000036, no as la 37 com ara.", "type" : "internal", "dateCreated" : "2017-10-17T07:43:05.719Z", "worklog" : 0, "user" : "Alexis Maeso Serrano" }, { "body" : "", "type" : "internal", "dateCreated" : "2017-10-18T08:14:19.897Z", "worklog" : 0, "user" : "Alexis Maeso Serrano" }, { "body" : "Revisió dels problemes y contestació correu", "type" : "internal", "dateCreated" : "2017-10-16T00:00:00.000Z", "worklog" : "1", "user" : "Alexis Maeso Serrano" }, { "body" : "Cambios en las facturas y apuntes contables. Se guarda copia de seguridad en el server", "type" : "internal", "dateCreated" : "2017-10-17T00:00:00.000Z", "worklog" : "2", "user" : "Alexis Maeso Serrano" }, { "body" : "", "type" : "internal", "dateCreated" : "2017-10-27T07:42:39.276Z", "worklog" : 0, "user" : "Alexis Maeso Serrano" }, { "body" : "Cerrar incidencia", "type" : "internal", "dateCreated" : "2017-10-27T07:42:50.194Z", "worklog" : 0, "user" : "Alexis Maeso Serrano" } ], "files" : [ ] }
{ "_id" : ObjectId("59e5b47399a4690001e0657c"), "customer" : { "email" : "[email protected]", "name" : "" }, "asignee" : "Not asigned", "status" : "Open", "title" : "RENUMERACIÓ FACTURES REBUDES", "dateCreated" : "2017-10-17T07:42:42.999Z", "notes" : [ { "body" : "Hola Alexis,\r\n \r\nHe esborrat una factura que estava malament a la comptabilitat de l’ITTE. Ara la numeració està desquadrada. Em pots dir com els podria tornar a renumerar?\r\n \r\nGràcies.", "type" : "external", "dateCreated" : "2017-10-17T07:42:42.999Z", "worklog" : 0, "user" : "Alexis Maeso Serrano" } ], "files" : [ "" ], "ticket_id" : "CATEBRE-26" }
> db.tickets.updateOne({'_id': ObjectId("59e5b47399a4690001e0657c")}, {$set: {ticket_id: 'CATEBRE-37'}})
{ "acknowledged" : true, "matchedCount" : 1, "modifiedCount" : 1 }
> db.tickets.find({ticket_id: 'CATEBRE-26'} )
{ "_id" : ObjectId("595bb6f6d99b2314be573045"), "ticket_id" : "CATEBRE-26", "customer" : { "email" : "[email protected]", "name" : "" }, "asignee" : "Not asigned", "status" : "Closed", "title" : "problemes conexió al server", "dateCreated" : "2017-04-15T00:00:00.000Z", "worklog" : 1, "notes" : [ { "body" : "problemes conexió al server", "type" : "Internal", "dateCreated" : "2017-04-15T00:00:00.000Z", "worklog" : 1, "user" : "Not asigned" }, { "body" : "Hola Alexis,\r\n \r\nEs que no les puc tornar a comptabilitar totes. Havia una repetida i l’he esborrat. Era la núm. 17-0000014 de F.recibidas. S’hauria de poder modificar el núm. Ara em surt desquadrat amb el que posa a l’ordinador i el que jo he numerat.\r\n\r\nA continuació de la que t’he dit, s’han de canviar tots els números. S’acabaria a la 17-0000036, no as la 37 com ara.", "type" : "internal", "dateCreated" : "2017-10-17T07:43:05.719Z", "worklog" : 0, "user" : "Alexis Maeso Serrano" }, { "body" : "", "type" : "internal", "dateCreated" : "2017-10-18T08:14:19.897Z", "worklog" : 0, "user" : "Alexis Maeso Serrano" }, { "body" : "Revisió dels problemes y contestació correu", "type" : "internal", "dateCreated" : "2017-10-16T00:00:00.000Z", "worklog" : "1", "user" : "Alexis Maeso Serrano" }, { "body" : "Cambios en las facturas y apuntes contables. Se guarda copia de seguridad en el server", "type" : "internal", "dateCreated" : "2017-10-17T00:00:00.000Z", "worklog" : "2", "user" : "Alexis Maeso Serrano" }, { "body" : "", "type" : "internal", "dateCreated" : "2017-10-27T07:42:39.276Z", "worklog" : 0, "user" : "Alexis Maeso Serrano" }, { "body" : "Cerrar incidencia", "type" : "internal", "dateCreated" : "2017-10-27T07:42:50.194Z", "worklog" : 0, "user" : "Alexis Maeso Serrano" } ], "files" : [ ] }
> db.tickets.find({ticket_id: 'CATEBRE-37'} )
{ "_id" : ObjectId("59e5b47399a4690001e0657c"), "customer" : { "email" : "[email protected]", "name" : "" }, "asignee" : "Not asigned", "status" : "Open", "title" : "RENUMERACIÓ FACTURES REBUDES", "dateCreated" : "2017-10-17T07:42:42.999Z", "notes" : [ { "body" : "Hola Alexis,\r\n \r\nHe esborrat una factura que estava malament a la comptabilitat de l’ITTE. Ara la numeració està desquadrada. Em pots dir com els podria tornar a renumerar?\r\n \r\nGràcies.", "type" : "external", "dateCreated" : "2017-10-17T07:42:42.999Z", "worklog" : 0, "user" : "Alexis Maeso Serrano" } ], "files" : [ "" ], "ticket_id" : "CATEBRE-37" }
> db.counters.updateOne({'_id': 'CATEBRE'}, {$set: {seq: 37}})
{ "acknowledged" : true, "matchedCount" : 1, "modifiedCount" : 1 }
>
from tricket.
Related Issues (20)
- Sorting de la tabla de tickets
- El sender no funciona con correos externos HOT 1
- Prevent older replies from email body to show up in ticket notes
- Add email attachments to ticket
- Keep original file names of attachments
- Send attachments with external notes
- Reports use a search instead of just a select
- On adding note be able to set date for that note
- Delete Files atached
- Block inner spam from AWS
- Modificar la asignación inicial de los comentarios del caracter interno a externo
- Recuperar los datos de tricket desde los volúmenes Docker HOT 3
- Cambiar el título del ticket COAATMU-65 HOT 1
- Automatizar backup de tricket con crontab
- Recuperar tickets desde HTMLs
- Actualizar contadores de tickets HOT 1
- Borrado de tickets duplicados CATEBRE-27 CATEBRE-28
- Enviar autocorreo de respuesta al crearse ticket
- Editar Nota
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tricket.