Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 16:33

    Jotschi on dev

    Add javadoc Merge branch 'dev' of github.co… (compare)

  • 15:16

    npomaroli on dev

    Add README Information (compare)

  • 12:01

    Jotschi on dev

    Update readme files (compare)

  • Jan 14 15:07

    Jotschi on dev

    Add note about changes Fix typo Fix typo and 3 more (compare)

  • Jan 13 16:48

    plyhun on more-mdm

    Move rolesHash out of User model (compare)

  • Jan 04 09:37
    plyhun synchronize #1162
  • Jan 04 09:37

    plyhun on split-options

    Proper downcast for Dagger Mesh… (compare)

  • Dec 23 2020 12:06
    deckdom labeled #1163
  • Dec 23 2020 12:06
    deckdom labeled #1163
  • Dec 23 2020 12:06
    deckdom opened #1163
  • Dec 22 2020 14:42
    plyhun edited #1162
  • Dec 22 2020 14:36
    plyhun synchronize #1162
  • Dec 22 2020 14:36

    plyhun on split-options

    Make MeshOptions abstract, exte… (compare)

  • Dec 22 2020 13:18
    plyhun opened #1162
  • Dec 22 2020 13:13

    plyhun on split-options

    Split GraphDB-related options (compare)

  • Dec 22 2020 11:33

    Jotschi on dev

    Add links (compare)

  • Dec 22 2020 11:31

    Jotschi on dev

    Update readme (compare)

  • Dec 22 2020 08:52

    GenticsDev on 1.7.6

    (compare)

  • Dec 22 2020 08:52

    GenticsDev on dev

    Raise version [Jenkins | dev] Prepare for the… (compare)

  • Dec 22 2020 08:38

    Jotschi on dev

    Update changelog (compare)

DevNils
@DevNils
PS: I am using mesh 1.7.4
Johannes Schüth
@Jotschi
Did restart of the mesh instance solve the problem for you?
DevNils
@DevNils
Thanks a lot, that solved it!
DevNils
@DevNils
It is me again ;) Everything was fine until I tried to upload new binary data. I guess there is a problem with access rights of the copied uploads data. Is there something special I need to do when I use docker cp to copy data from one docker volume to another?
The Error is
io.vertx.core.file.FileSystemException: java.nio.file.AccessDeniedException: /uploads/temp/c503903c3d4146d68b9152ef26d65a54.tmp
    at io.vertx.core.file.impl.FileSystemImpl$3.perform(FileSystemImpl.java:500)
    at io.vertx.core.file.impl.FileSystemImpl$3.perform(FileSystemImpl.java:493)
    at io.vertx.core.file.impl.FileSystemImpl$BlockingAction.handle(FileSystemImpl.java:974)
    at io.vertx.core.file.impl.FileSystemImpl$BlockingAction.handle(FileSystemImpl.java:955)
    at io.vertx.core.impl.ContextImpl.lambda$executeBlocking$2(ContextImpl.java:316)
    at io.vertx.core.impl.TaskQueue.run(TaskQueue.java:76)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.nio.file.AccessDeniedException: /uploads/temp/c503903c3d4146d68b9152ef26d65a54.tmp
    at java.base/sun.nio.fs.UnixException.translateToIOException(Unknown Source)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
    at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
    at java.base/sun.nio.fs.UnixCopyFile.copyFile(Unknown Source)
    at java.base/sun.nio.fs.UnixCopyFile.move(Unknown Source)
    at java.base/sun.nio.fs.UnixFileSystemProvider.move(Unknown Source)
    at java.base/java.nio.file.Files.move(Unknown Source)
    at io.vertx.core.file.impl.FileSystemImpl$3.perform(FileSystemImpl.java:498)
    ... 9 common frames omitted
DevNils
@DevNils
PS: Solved it by my self. When you do this you should not copy the temp directory from uploads!
Johannes Schüth
@Jotschi
@DevNils Strange. Maybe the permissions changed?
@micstra The next version of Gentics Mesh will remove the error prone changelog entry as previously mentioned. I'm currently finalizing the change.
Sorry that it took a while but I'm also busy with non-mesh related tasks.
Onno Schmidt
@ezonno
Hi is there some example available on how to search for text inside binary_content ?
Johannes Schüth
@Jotschi

@ezonno I think there is no full example for this in the docs but I have uploaded this pdf: http://www.africau.edu/images/default/sample.pdf into the demo server. This results in this node: https://demo.getmesh.io/api/v2/demo/nodes/c8fa6c8a64594642b83df0624196acbf

The query on the nodes search endpoint could for example be something like:

{
    "query": {
        "bool": {
            "must": [
                {
                    "match": {
                        "schema.name.raw": "binary_content"
                    }
                },
                {
                    "match": {
                        "fields.binary.file.content": "Simple PDF"
                    }
                }
            ]
        }
    }
}

The important part is the field name in the ES document which is fields.binary.file.content.

Please note that the example / node may be removed in the demo. The demo will be reset everyday.

Additional information on binary search can be found in our docs: https://getmesh.io/docs/elasticsearch/#_binary_search

micstra
@micstra
@Jotschi thanks for the info! looking forward to 1.7.5 ;)
Onno Schmidt
@ezonno
@Jotschi Thank you for this search example that helps a lot!
Johannes Schüth
@Jotschi
@/all Gentics Mesh 1.7.5 has been released: https://getmesh.io/docs/changelog/#v1.7.5
micstra
@micstra
hello, its me again. is it still possible to submit contributions to the old frontend? as fas as i figured out it is the beta-branch on the mesh-ui repository
Johannes Schüth
@Jotschi
@micstra Yes, that should still be possible. We are however unable to port changes from the old ui to the new one.
micstra
@micstra
yeah understandable. ok so if submit a bugfix-pr to the beta branch and it is accepted, then it will be included in some future-release of mesh
Johannes Schüth
@Jotschi
Yes
micstra
@micstra
ok thanks :)
Johannes Schüth
@Jotschi
You can however also build the ui yourself and deploy it along with mesh in a dedicated container.
micstra
@micstra
i already thought about that however i actually dont want to stick with the old frontend forever. in the old-frontend the pagination is always reset to the first page, if you click on a node. i did not look into the code yet, but imo this is a not-so-difficult fix. thus i thought about contributing
Johannes Schüth
@Jotschi
I see. Maybe that's an easy fix. I don't know. I think the new UI may also had the issue. I recall that we did some fixes on the handling of paging. Maybe it may be useful to check the commits.
micstra
@micstra

i now figured out the bug i mentioned is already fixed. it was fixed with version 0.9.3

1b6df808 (HEAD -> beta, tag: 0.9.4, origin/beta) [Jenkins | beta] Release version 0.9.4
ce0447e6 Prepare release
9ebc52a6 Validate microschema lists, Node update error handling (#202)
4bf3ef84 (tag: 0.9.3) [Jenkins | beta] Release version 0.9.3
977ea3d3 Update version
e8e46bc3 Copy query params on schema search requests
eaa2153e Fix project explorer select node resetting current page; #194 (#201)
63111562 (tag: 0.9.2) [Jenkins | beta] Release version 0.9.2

the problem is that the backend (mesh-project) currently pins version 0.9.2 as dependency for the old frontend.

<mesh.admin-ui.version>0.9.2</mesh.admin-ui.version>
is there a particular reason why the dependency to the old-ui was reverted back to 0.9.2?
Johannes Schüth
@Jotschi
I'm not aware that it was reverted. I assume it may not have been updated. I'm not sure.
micstra
@micstra

hello again, the git diff tells me it was reverted

-               <mesh.admin-ui.version>0.9.4</mesh.admin-ui.version>
+               <projectRoot>${project.basedir}</projectRoot>
+               <mesh.admin-ui.version>0.9.2</mesh.admin-ui.version>
+               <mesh.admin-ui2.version>0.10.6</mesh.admin-ui2.version>

unfortunately the commit is over one year old so probably nobody remembers if this change was intentionally.
the commit hash is 8895f6817e with the commit message "WIP: Add development version of new UI to Mesh Server (#621)" hopefully this helps.

Johannes Schüth
@Jotschi
Strange - I'll ask around. Maybe somebody recalls why it was reverted.
Johannes Schüth
@Jotschi
@micstra Nobody recalls. We switched our focus on the new UI.
micstra
@micstra
thanks for asking. so i guess there is little chance that the pinned version of the old-ui will be upgraded?
Johannes Schüth
@Jotschi
I think the previous version introduced a regression via a contribution which we would need to be rolledback first. As previously stated we want to focus on the new ui.
micstra
@micstra
understandable. anyways thanks for the help and responsiveness!
Florian
@flobauer
Hello, I have some difficulties to understand Permissions. When I want to give somebody only the permission to do whatever he/she wants in a subfolder of a project and only on that particular folder I use MeshUI to add the permissions to the roles to the group and add the users to it.
When I give edit/delete rights to the specific folder/node and apply it recursively the user can navigate to the folder but cannot edit any contents. Is there a documentation or example that can help me guide through that?
Florian
@flobauer
image.png
The permissions I get for that specific user look good:
Florian
@flobauer
Ok, I got it the work -> read access to the schemas seems to be needed
ross-kortx
@ross-kortx

@ross-kortx
Today, I am having an issue described as follows

  • created a project (with a field named project)
  • deleted project
  • now both GET projects and POST projects return the following error
 {
  "i18nParameters" : [ "project" ],
  "i18nKey" : "project_not_found",
  "properties" : { },
  "type" : "generic_error",
  "message" : "Project could not be found: \"project\""
}

Any advice on resolving this issue?
mesh version - 1.4.7

micstra
@micstra

greetings,

im currently experiencing some weird behaviour with version 1.7.5. binary upload is not possible and nodes cannot be edited. this is most likely because of the upgrade to orientdb 3.1.4. i tried to fix the issues wie a export/import this works with small demo databases but unfortunately not with the productive data. is there anything known about these issues?

Johannes Schüth
@Jotschi
@micstra Yes, there were additional hurdles when upgrading to OrientDB 3.1.4 - You can try to first upgrade to the newest mesh version with OrientDB 3.0.x and after that take the jump to a OrientDB 3.1.4 version. You could also check the consistency check. If that does not work you would need to somehow export the content and reimport it.
The upgrade to OrientDB 3.1.4 has been painful. However currently it seems it managed to address various of our cluster related OrientDB issues.
Johannes Schüth
@Jotschi
@/all Gentics Mesh 1.7.6 has been released. Commercial releases 1.6.8, 1.5.9 and 1.4.19 have also been published.
micstra
@micstra
is there a possibility to fetch children of a node ordered by scheme (paginated). as far as i could figure out ordering is not possible through the children- or the graphql-endpoint. background: in the frontend nodes of the same scheme are distributed across multiple pages.
Răzvan Pavel
@razvanpavel
hey hey. first of all, congratulations on your application, really impressed by what it can do.
I have a few questions: we are planning on using Mesh for a phone app that also has a login feature as requirements, is there a way to achieve this using mesh? we wanna have users register/sign in using google/apple/fb so that they can view the content provided by the Mesh API. is this doable via the auth methods you support?
Also, what would be the best project structure for using Mesh in a Docker environment? Have a repo with a dockerfile and the additional configuration files in there?
Johannes Schüth
@Jotschi
@micstra You can use an ES query to load children of a node and sort them by any field (e.g. schema name). This will however only work of the direct children of the parent node and not for all sub elements.
@razvanpavel Authentication via google etc. is possible via the use of keycloak. Keycloak manages the authentication with google, github etc. and provides a JWT for clients that can be utilized in Gentics Mesh.
You would need to use a custom authentication plugin or use the commercial keycloak plugin in this case.
For docker I would not use any configuration files. Instead I recommend to use environment settings only.
javecruzCapgemini
@javecruzCapgemini
Good morning, is there a way to create/set an api token for a given user before deploying mesh setting it in some configuration file? I've several applications that talks to mesh and I would like to use the same token in all of them. Usually what I do now is deploying mesh, then request for api token, then set this token in these apps before deploying them.
Johannes Schüth
@Jotschi
@javecruzCapgemini No, thats not possible at the moment but I also think it would be useful to be able to set API tokens. This would be useful for deployment ops.
Maybe this will be added in the future.
javecruzCapgemini
@javecruzCapgemini
Okay thank you !