Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 03 13:22
    Jotschi synchronize #1034
  • Apr 03 13:22

    Jotschi on hotfix-1.4.x-topology-lock

    Add more locks (compare)

  • Apr 03 09:38
    Jotschi synchronize #1034
  • Apr 03 09:38

    Jotschi on hotfix-1.4.x-topology-lock

    Add missing unlock check (compare)

  • Apr 03 08:31
    Jotschi synchronize #1034
  • Apr 03 08:31

    Jotschi on hotfix-1.4.x-topology-lock

    Add locks for user authenticati… (compare)

  • Apr 02 16:53
    Jotschi synchronize #1034
  • Apr 02 16:53

    Jotschi on hotfix-1.4.x-topology-lock

    Add write locks (compare)

  • Apr 02 16:43
    Jotschi synchronize #1034
  • Apr 02 16:43

    Jotschi on hotfix-1.4.x-topology-lock

    Reduce diff (compare)

  • Apr 02 16:30
    Jotschi synchronize #1034
  • Apr 02 16:30

    Jotschi on hotfix-1.4.x-topology-lock

    Refactor lock implementation Add tx cleanup task D'oh! and 15 more (compare)

  • Mar 30 13:21

    mephinet on dev

    unified Elasticsearch spelling (compare)

  • Mar 27 14:38
    javecruz opened #1043
  • Mar 25 09:12
    Jotschi review_requested #1039
  • Mar 25 09:12
    Jotschi review_requested #1039
  • Mar 24 14:49
    philippguertler labeled #1042
  • Mar 24 14:49
    philippguertler labeled #1042
  • Mar 24 14:49
    philippguertler opened #1042
  • Mar 24 14:42
    philippguertler labeled #1041
Simon Schwitzky
@saaymeen
@Jotschi Thank you so much, really awesome stuff! That brings us even closer to our release for a clothing store using mesh as CMS. If you ever need some blueprints or ideas for the blog post about schema designs related to products and categories for retail, let me know. Still learning mesh but I think we got a solid base now :-)
Johannes Schüth
@Jotschi
@saaymeen Nice. I would like to write up a collection of tip and suggestions on content modelling. But I'm currently busy with development and consulting tasks. We however always welcome success stories in our blog.
Johannes Schüth
@Jotschi
@/all We have just released Gentics Mesh 1.4.3 - https://getmesh.io/docs/changelog/#v1.4.3
Clément Schockaert
@cschockaert
Hi, a big thanks for theses news cluster features. Need to test them asap, seems wonderfull
BTW this should not be at least a major 1.5 release?
Johannes Schüth
@Jotschi
@cschockaert those Se
Those are non breaking and optional and aim to address an issue with master master setups
Simon Schwitzky
@saaymeen
Hi! Thanks for the new release ;-)
Short question: Is it possible to include images in an HTML field? Say you have a blog post, and want to include several images within? How could that be done? Thanks!
Johannes Schüth
@Jotschi
@saaymeen Unforunately the editor does currently not support this.
The mesh server however has no problems to handle links and image tags in html fields. Those can also be automatically be resolved when found. So that means the UI is just lacking this feature.
Simon Schwitzky
@saaymeen
@Jotschi Thank you for the fast reply. I don't think I understand the last part. My client is only exposed to the UI. Would it be possible to "hack" a static <img/> tag in there?
Johannes Schüth
@Jotschi
@saaymeen No - what I meant to say was that the feature is just lacking in the Gentics Mesh UI. The server code can already deal with this.
dkadiog
@dkadiog
Hey guys, where can I find your docker file for building mesh-server. I‘ve got a problem with the authentication plugin and would like to add some debug logs.
Johannes Schüth
@Jotschi
The docker file is here: https://github.com/gentics/mesh/blob/dev/server/Dockerfile
I however recommend that you first enable debug logging. I have recently added an example on how to configure logging in a docker setup. You can find the example here: https://github.com/gentics/mesh-compose/tree/file-logging
dkadiog
@dkadiog
Oh thank you. I‘ve already enabled debug that way, thank you. The last log is “could not authenticate token” cause the algorithm is not supported in the jwtauthhandler. Can’t understand why not. Algorithm is rsa256.
Johannes Schüth
@Jotschi
Sorry. That is a very confusion part. You can savely ignore that message. That only means that the token that you supplied can not be verified by the JWT handler that is used for tokens which were originally issues by Gentics Mesh.
The decode process will in those cases continue with the jwt handler that is designed to handle tokens which were issued externally.
In the documentation should be a section on the lifecycle / process of the auth process. Mesh uses a chain to authenticate requests. The message just means that the first element in the chain was unable to authenticate the token.
We plan to refactor this code and change it so that only a single JWT handler is being used for all tokens.
dkadiog
@dkadiog
How can I imagine that chain? A list of AuthServicePlugin implementations?
Because my p
A list of three handlers (JWT, OAuth and anonymous)
AuthServicePlugin's are processed in OAuth
dkadiog
@dkadiog
Ok I understand. So the Oauthhandler will Check the Token and should call my Authserviceplugin if Token is validated successfully. I will have a deeper look in the handler to find why it doesn’t accept the token.
tgnstr
@tillganster
Hi in order to debug I would like to add some custome logs to gentics. How would I do this ?
So my question is how I would build a runnable Mesh from the source
Johannes Schüth
@Jotschi
Example: mvn clean install -Denv.JAVA_1_8_HOME=$JAVA_HOME -DskipTests -Dskip.unit.tests -Dskip.performance.tests -Dskip.cluster.tests
mvn should in this case also be run with java 8
tgnstr
@tillganster
oh thanks for the fast reply, thats what I searched for "!
Donnie
@donald-kortx

I am running a 3 node cluster with docker containers.

Nodes A, B and C.

I started nodeA initially with MESH_CLUSTER_INIT=true

Started B and C with the configuration found in the docker-compose on the clustering branch in GitHub.

Everything was working at that point. The problem occurred in the following steps.

1) I upgraded my Task Definitions (container configuration) to use the latest image 1.3.0 -> 1.4.3

2) I stopped all containers

3) I restarted them one at a time with nodeA first (the MESH_CLUSTER_INIT=true) was still set (not sure if this is the issue)

4) I received a BufferUnderflowException

2020-03-20 19:25:35:999 INFO [node-a] Current node started as MASTER for database 'storage' [OHazelcastPlugin$4] 2020-03-20 19:25:36:022 INFO Page size for WAL located in /graphdb/storage is set to 4096 bytes. [OCASDiskWriteAheadLog]Exception2B66BF1Cin storageplocal:/graphdb/storage: 3.0.28 - Veloce (build 7f2fc09560546cde8f7cfacd91423de88b192678, branch UNKNOWN) java.nio.BufferUnderflowException

[node-a] Error on starting distributed plugin com.orientechnologies.orient.core.exception.ODatabaseException: Cannot open database 'storage'

5) I attempted to start B and C and they started fine.

6) After that tried A again and it continues to fail.

Any insight is appreciated.

Thanks.

bruestel
@bruestel

Hi,
do you have an idea what I can do about:

docker-compose[3564]: mesh-server      | Caused by: java.lang.NullPointerException: null
docker-compose[3564]: mesh-server      |         at com.gentics.mesh.search.index.AbstractTransformer.addPermissionInfo(AbstractTransformer.java:123)
docker-compose[3564]: mesh-server      |         at com.gentics.mesh.search.index.project.ProjectTransformer.toDocument(ProjectTransformer.java:34)
docker-compose[3564]: mesh-server      |         at com.gentics.mesh.search.index.project.ProjectTransformer.toDocument(ProjectTransformer.java:17)
docker-compose[3564]: mesh-server      |         at com.gentics.mesh.search.index.entry.AbstractIndexHandler.lambda$null$2(AbstractIndexHandler.java:222)
docker-compose[3564]: mesh-server      |         at com.gentics.madl.tx.TxFactory.lambda$tx$1(TxFactory.java:71)
docker-compose[3564]: mesh-server      |         at com.gentics.mesh.graphdb.OrientDBDatabase.tx(OrientDBDatabase.java:399)
docker-compose[3564]: mesh-server      |         at com.gentics.madl.tx.TxFactory.tx(TxFactory.java:70)
docker-compose[3564]: mesh-server      |         at com.gentics.mesh.search.index.entry.AbstractIndexHandler.lambda$null$3(AbstractIndexHandler.java:222)
docker-compose[3564]: mesh-server      |         at io.reactivex.internal.operators.flowable.FlowableMap$MapSubscriber.onNext(FlowableMap.java:63)
docker-compose[3564]: mesh-server      |         ... 62 common frames omitted

My installation is not responding anymore if I try to add a node or try to start reindex job.
Thanks for your help,
Jonas

Philipp Gürtler
@philippguertler
@bruestel I have looked into it and it seems that this is a bug. A null check is missing here which leads to this NPE when indexing after deleting a role. Could you create an issue for that?
bruestel
@bruestel
sure
I used a backup to get rid of the error
Philipp Gürtler
@philippguertler
Thanks!
sunsus
@sunsus
We have installed Mesh v1.4.3. With this Version the backup configured in the automatic-backup.json. Is there a new propertie to configure this?
sunsus
@sunsus
Anyone in this chat, how knows the backup concept?
Johannes Schüth
@Jotschi
@sunsus If you want to use the automatic backup you might find this branch useful: https://github.com/gentics/mesh-compose/tree/automatic-backup It shows a working automatic backup configuration
I however think it would be better to use the dedicated backup endpoint to trigger the backup.
sunsus
@sunsus
@Jotschi Thanks for this Repo, what is the meaning of the parameter Delay.?
Johannes Schüth
@Jotschi
@sunsus You can find more details on this in the OrientDB docs.
The backup in OrientDB works via a timer. Everytime the delay expires a backup is invoked. After that delay starts again.
sunsus
@sunsus
For other, here the Link to the Documentation: https://orientdb.com/docs/last/Automatic-Backup.html
sunsus
@sunsus
@Jotschi Thanks for your help
DevNils
@DevNils
Hello people, I was wondering if anybody of you implemented a language management with mesh? I'd like to add and query languages for a whole project. As far as I see languages can only be handled on a node base and in the config files. Should I use a tag family for managing languages for example?
Johannes Schüth
@Jotschi
@DevNils Can you explain your usecase. What are the languages for? Do you want to use those for the content (e.g. translate content?).
DevNils
@DevNils
Hi @Jotschi , I'd like to write a backend UI to manage a project with content in different languages. On the project settings page I would like to show which languages are available in the project and give the possibility to add additional languages. In a node creation form I will have a dropdown menu with the available languages and set the preferred one.