Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2018-11-21 07:19:39 GMT <alfresco-discord> <MorganP> @edw24 Alfresco has only 1 admin and it would be quite easy to hack/take control of your Alfresco if it was possible to declare new admins through a non-encrypted properties file

2018-11-21 07:20:01 GMT <alfresco-discord> <MorganP> You can add them manually through Share for example

2018-11-21 07:21:23 GMT <alfresco-discord> <MorganP> The enterprise version now propose to encrypt some properties so maybe this could be something to propose as a new feature but I didn't see anything like that so far

2018-11-21 07:22:09 GMT <alfresco-discord> <MorganP> But it doesn't change the fact that it would still be very risky to propose that since someone could just add an entry, restart alfresco and that's it you have full control over all documents...

2018-11-21 07:58:41 GMT <alfresco-discord> <yreg> @edw24 there is a way, you simply need to have at least one user you have its credentials (can be an alfresco user or a a synchronized user, you can even setup a dummy ldap and a user sync just for that)

2018-11-21 07:59:07 GMT <alfresco-discord> <yreg> then it will be a matter of setting the right property in alfresco to give your user ADMIN privs

2018-11-21 08:19:35 GMT <alfresco-discord> <MorganP> @yreg but that's not through a properties file

2018-11-21 08:22:05 GMT <alfresco-discord> <yreg> If the user is there

2018-11-21 08:22:08 GMT <alfresco-discord> <MorganP> unless I misunderstood the question, I believed he wanted an automated way to create another admin account on first startup

2018-11-21 08:22:22 GMT <alfresco-discord> <yreg> and you have access for it, all you need to do is change the property and restart

2018-11-21 08:22:33 GMT <alfresco-discord> <MorganP> If you need to create a user manually or via API, you can obviously give him admin rights right away

2018-11-21 08:22:53 GMT <alfresco-discord> <yreg> you can spin up dummy ldap and through few properties configure sync and make a user admin on your alfresco bow

2018-11-21 08:23:41 GMT <alfresco-discord> <MorganP> Sure but he mentioned that his ldap sync isn't working for some reasons

2018-11-21 08:23:48 GMT <alfresco-discord> <MorganP> through I never seen anything like that

2018-11-21 08:24:46 GMT <alfresco-discord> <MorganP> and I assume he was talking about the ldap.authentication.defaultAdministratorUserNames property

2018-11-21 08:27:18 GMT <yreg> One of us (or both) must have mis understood the question

2018-11-21 08:27:23 GMT <yreg> hehe

2018-11-21 08:30:36 GMT <angelborroy> morning yreg

2018-11-21 08:30:43 GMT <yreg> Morning

2018-11-21 08:30:52 GMT <angelborroy> I’ve been reviewing speakers for DevCon...

2018-11-21 08:30:55 GMT <angelborroy> … what about you?

2018-11-21 08:31:06 GMT <yreg> I am skipping this edition

2018-11-21 08:31:10 GMT <angelborroy> reallly?

2018-11-21 08:31:14 GMT <angelborroy> sorry to hear that

2018-11-21 08:33:46 GMT <yreg> -= THIS MESSAGE NOT LOGGED =-

2018-11-21 08:35:40 GMT <angelborroy> -= THIS MESSAGE NOT LOGGED =-

2018-11-21 08:35:49 GMT <alfresco-discord> <bhagyas> angelborroy xD

2018-11-21 08:36:17 GMT <angelborroy> -= THIS MESSAGE NOT LOGGED =-

2018-11-21 08:36:23 GMT <alfresco-discord> <bhagyas> but yeah, UK really does make it harder for anyone they are afraid of (specially former colonies)

2018-11-21 08:36:58 GMT <alfresco-discord> <bhagyas> Being Sri Lankan, I have to apply for UK visa as well, despite the fact Her Majesty was the head of government until 1972

2018-11-21 08:37:02 GMT <alfresco-discord> <bhagyas> 😛

2018-11-21 08:37:18 GMT <yreg> Thanks Angel, I will fo sure follow up closely on the event

2018-11-21 08:37:43 GMT <yreg> And I hope Alfresco setup some live streams for the different tracks the same way FOSSDEM do

2018-11-21 08:37:56 GMT <alfresco-discord> <bhagyas> @yreg I don't think you have to give up, the visas usually arrive within two weeks

2018-11-21 08:38:04 GMT <alfresco-discord> <bhagyas> when you apply from European embassies

2018-11-21 08:39:21 GMT <alfresco-discord> <bhagyas> .

2018-11-21 08:45:03 GMT <yreg> @bhagyas Maybe next time

2018-11-21 08:45:59 GMT <yreg> Although I don't think they will go for UK anymore since with BREXIT everyone might be exposed to tons of bureaucracy :D

2018-11-21 09:05:52 GMT <alfresco-discord> <bhagyas> Nah, I am positive for Brexit, they need to hit the rock bottom so they can bounce up + which means they will truly recognise the value of people who want to visit UK

2018-11-21 09:06:23 GMT <alfresco-discord> <bhagyas> Same goes for UK, Trumps immigration policies are finally making it possible to have a discussion about the value of skilled migration

2018-11-21 09:06:30 GMT <alfresco-discord> <bhagyas> USA*

2018-11-21 09:07:20 GMT <alfresco-discord> <bhagyas> 8 years of Obama and not a single bill was passed in support of skilled migration or abolishing the lottery or the quotas

2018-11-21 11:18:00 GMT <alfresco-discord> <IanW> Please don't talk about Brexit - it's too depressing (it's slightly easier to understand if you remember that May hates foreigners - ref her time as Home Sec) - don't underestimate time for a visa - we had people miss a conference in the summer (from outside EU but some employees of the university) - at least devcon is before March!

2018-11-21 11:41:31 GMT <alfresco-discord> <douglascrp> hey guys

2018-11-21 11:41:41 GMT <alfresco-discord> <douglascrp> is anyone here using this? https://github.com/dgradecak/alfresco-mvc

2018-11-21 11:41:42 GMT <alfbot> Title:GitHub - dgradecak/alfresco-mvc: Glue between SpringMVC and Alfresco (at github.com)

2018-11-21 11:41:54 GMT <alfresco-discord> <douglascrp> I am having a hard time trying to understand how to property use it

2018-11-21 11:42:33 GMT <alfresco-discord> <douglascrp> I have inherited a project (some pieces of code actually), and the project is using it in some classes

2018-11-21 11:42:41 GMT <alfresco-discord> <douglascrp> I mean, to define some webscripts

2018-11-21 11:45:42 GMT <alfresco-discord> <douglascrp> but when I invoke the post method, all I see is: 2018-11-20 18:20:59,958 ERROR org.springframework.extensions.webscripts.AbstractRuntime Exception from executeScript: 10200098 Cannot locate template processor for template alfresco-mvc/mvc.post.json org.springframework.extensions.webscripts.WebScriptException: 10200098 Cannot locate template processor for template alfresco-mvc/mvc.post.json

2018-11-21 11:46:15 GMT <alfresco-discord> <douglascrp> I am using alfresco 5.2.f

2018-11-21 12:19:20 GMT <alfresco-discord> <yreg> @douglascrp I know @dgradecak is using it, and I know he wanted to talk about it at least in two BeeCon editions

2018-11-21 12:19:55 GMT <alfresco-discord> <douglascrp> yes, there is this talk https://www.youtube.com/watch?v=jcOg4iZqTmw&t=405s

2018-11-21 12:20:14 GMT <alfresco-discord> <douglascrp> I know it works, but as I don't have the full project to use, I am trying to fill in the gaps

2018-11-21 12:20:44 GMT <alfresco-discord> <douglascrp> and one of them is how to use this framework

2018-11-21 12:20:56 GMT <alfresco-discord> <douglascrp> I am trying to understand why

2018-11-21 12:21:12 GMT <alfresco-discord> <douglascrp> maybe lack of dependency, like spring-webmvc

2018-11-21 12:21:21 GMT <alfresco-discord> <douglascrp> I am checking now if alfresco comes with this or not

2018-11-21 12:22:38 GMT <alfresco-discord> <douglascrp> yes, it has it

2018-11-21 12:25:46 GMT <alfresco-discord> <douglascrp> if I could at least get the slides for that session to be able to read 😐

2018-11-21 12:31:35 GMT <alfresco-discord> <yreg> aren't they available on community ?

2018-11-21 12:31:45 GMT <alfresco-discord> <douglascrp> no, it isn't

2018-11-21 12:31:50 GMT <alfresco-discord> <yreg> I thought Kristen uploaded all the slides

2018-11-21 12:31:52 GMT <alfresco-discord> <douglascrp> it is the only one I couldn't find 😄

2018-11-21 12:31:59 GMT <alfresco-discord> <douglascrp> in the session list

2018-11-21 12:32:11 GMT <alfresco-discord> <yreg> yeah anyway, I will try to check if it is still available on my.alfresco.com

2018-11-21 12:32:16 GMT <alfresco-discord> <yreg> hold on a sec

2018-11-21 12:32:24 GMT <alfresco-discord> <douglascrp> nice.. tks

2018-11-21 12:34:50 GMT <alfresco-discord> <yreg> @douglascrp here you are : https://my.alfresco.com/share/s/-qMo_seaSuW7ahSxYPWcOw

2018-11-21 12:34:51 GMT <alfbot> Title:Alfresco » 2018-030-Daniel Gradecak.pptx (at my.alfresco.com)

2018-11-21 12:35:39 GMT <alfresco-discord> <douglascrp> yes, that is the one

2018-11-21 12:35:40 GMT <alfresco-discord> <douglascrp> thank you so much

2018-11-21 12:35:58 GMT <alfresco-discord> <yreg> URW

2018-11-21 12:38:40 GMT <alfresco-discord> <edw24> @yreg @MorganP I guess I asked my question incorrectly after reading it lol. I guess I'm wondering where the first admin user's login credentials are located -- for instance the general username: admin, password: admin. Where is this located? I truly appreciate the help.

2018-11-21 12:39:11 GMT <yreg> hehe

2018-11-21 12:39:36 GMT <yreg> There are two properties, one for the username and the other for the password hash

2018-11-21 12:39:59 GMT <yreg> You will need to copy paste some code from alfresco in order to generate your own password though

2018-11-21 12:41:04 GMT <yreg> @edw24 look here : https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/repository.properties#L395

2018-11-21 12:41:05 GMT <alfbot> Title:alfresco-repository/repository.properties at master · Alfresco/alfresco-repository · GitHub (at github.com)

2018-11-21 12:43:52 GMT <alfresco-discord> <MorganP> 👌

2018-11-21 12:46:01 GMT <alfresco-discord> <edw24> @yreg much appreciated.

2018-11-21 12:46:26 GMT <alfresco-discord> <dgradecak> @douglascrp I can help if needed

2018-11-21 12:47:20 GMT <alfresco-discord> <edw24> Hmm strange thing is I've changed this and modified it and it doesn't seem to affect the actual admin's credentials. It appears my problem is situational but the help is truly appreciated.

2018-11-21 12:48:59 GMT <yreg> @edw24 did you read the comments ?

2018-11-21 12:49:30 GMT <yreg> The password one only applies for first system bootstrap and never recreate the admin user

2018-11-21 12:49:56 GMT <yreg> The first one on the other hand is used both on the initial startup for setting the default admin username

2018-11-21 12:50:17 GMT <yreg> And on following restarts to determine who should hold admin rights

2018-11-21 12:56:09 GMT <alfresco-discord> <edw24> My mistake, I was not observant enough to intentionally look around the file .. thanks for keeping me in check.

2018-11-21 12:56:47 GMT <alfresco-discord> <yreg> anyway my former syggestion still stands

2018-11-21 12:56:58 GMT <alfresco-discord> <yreg> you can setup a dummy ldap using docker or something

2018-11-21 12:57:10 GMT <alfresco-discord> <yreg> and configure alfresco to sync from it

2018-11-21 12:57:11 GMT <alfresco-discord> <edw24> Yeah I think this is what I will do

2018-11-21 12:57:30 GMT <alfresco-discord> <yreg> then also configure alfresco to upgrade one user privs to admin

2018-11-21 12:58:27 GMT <yreg> A small hint from our fellows in keensoft : https://github.com/keensoft/docker-alfresco/wiki/Configuring-an-OpenLDAP-internal-server

2018-11-21 12:58:28 GMT <alfbot> Title:Configuring an OpenLDAP internal server · keensoft/docker-alfresco Wiki · GitHub (at github.com)

2018-11-21 12:59:06 GMT <yreg> It's crafted for their own dockerized alfresco setup, but should be more than enough to get you up and running fast ;-)

2018-11-21 12:59:34 GMT <alfresco-discord> <edw24> Thanks for the resource and your time. You've been very helpful

2018-11-21 13:14:07 GMT <alfresco-discord> <edw24> Hi, I have one more question. Similar to -root- and -my-, is there some naming convention for the Data dictionary as well in terms of the node REST API? I can't seem to find documentation on this.

2018-11-21 13:19:15 GMT <alfresco-discord> <yreg> nope

2018-11-21 13:19:18 GMT <alfresco-discord> <yreg> there is none

2018-11-21 13:21:15 GMT <alfresco-discord> <edw24> Thanks again @yreg

2018-11-21 13:27:14 GMT <angelborroy> @edw24 These are for NodeLocator service

2018-11-21 13:27:15 GMT <angelborroy> https://github.com/angelborroy/alfresco-controls/blob/master/alfresco-controls-share/src/main/resources/META-INF/share-config-custom.xml#L42

2018-11-21 13:27:16 GMT <alfbot> Title:alfresco-controls/share-config-custom.xml at master · angelborroy/alfresco-controls · GitHub (at github.com)

2018-11-21 13:28:43 GMT <yreg> Didn't know they had data dictionary ...

2018-11-21 13:29:01 GMT <yreg> But I guess even if they don't should be fairly easy to add support for that

2018-11-21 13:33:17 GMT <alfresco-discord> <douglascrp> @angel.borroy for the docker templates, what do you mean by this? "For Linux hosts, set solr-data folder permissions to user with UID 1001, as alfresco-search-services is using an container user named solr with UID 1001."

2018-11-21 13:33:29 GMT <alfresco-discord> <douglascrp> do I have to create this use?

2018-11-21 13:33:39 GMT <alfresco-discord> <douglascrp> or is this something inside the image? 😄

2018-11-21 13:33:46 GMT <angelborroy> inside the container they are using a user named “solr”

2018-11-21 13:33:51 GMT <yreg> You might need to adjust permissions manually

2018-11-21 13:33:55 GMT <angelborroy> this user has UID 1001 inside the container

2018-11-21 13:34:15 GMT <alfresco-discord> <douglascrp> ah, so the idea is to have the same in the local, the host, and set the permission for the folder?

2018-11-21 13:34:24 GMT <angelborroy> So if you mount a volume in your host, you have to give permissions to user with UID 1001 in order to make ir works

2018-11-21 13:34:44 GMT <angelborroy> Your local user on the host can be “isadm”

2018-11-21 13:34:48 GMT <angelborroy> It doesn’t matter

2018-11-21 13:34:57 GMT <angelborroy> The only thing to do is to use the same UID

2018-11-21 13:35:03 GMT <alfresco-discord> <douglascrp> ok

2018-11-21 13:35:07 GMT <alfresco-discord> <douglascrp> got it

2018-11-21 13:35:07 GMT <angelborroy> and inside the container “solr” has 1001

2018-11-21 13:35:32 GMT <alfresco-discord> <douglascrp> and in your opinion, is that really required for the image to have this?

2018-11-21 13:35:41 GMT <angelborroy> no

2018-11-21 13:35:45 GMT <angelborroy> but it’s the official one

2018-11-21 13:35:50 GMT <alfresco-discord> <douglascrp> why have they done this?

2018-11-21 13:35:54 GMT <alfresco-discord> <douglascrp> come on

2018-11-21 13:36:04 GMT <alfresco-discord> <edw24> Thank you @angel.borroy

2018-11-21 13:36:12 GMT <angelborroy> Probably because they compiled the image from a configuration performed on a real host

2018-11-21 13:36:33 GMT <alfresco-discord> <douglascrp> ok... tks

2018-11-21 13:52:21 GMT <Arianrhod> Hi to all

2018-11-21 13:55:07 GMT <yreg> Hello there

2018-11-21 13:55:25 GMT <alfresco-discord> <arianrhod> hello

2018-11-21 13:56:18 GMT <alfresco-discord> <arianrhod> i have alfresco 5.2.2

2018-11-21 13:57:02 GMT <yreg> I have a lot of those

2018-11-21 13:57:09 GMT <yreg> As well :)

2018-11-21 13:57:11 GMT <alfresco-discord> <arianrhod> i need to sync some directories of share from an enviroment to another

2018-11-21 13:57:20 GMT <alfresco-discord> <arianrhod> great! 😄

2018-11-21 13:57:35 GMT <yreg> As in a one time thing or a recurring job ?

2018-11-21 13:57:44 GMT <alfresco-discord> <arianrhod> one time

2018-11-21 13:57:59 GMT <yreg> That's not sync, that move/copy

2018-11-21 13:58:04 GMT <alfresco-discord> <arianrhod> BUT i don't use a sites

2018-11-21 13:58:11 GMT <yreg> Of course you would want to preserve metadata et al

2018-11-21 13:58:47 GMT <alfresco-discord> <arianrhod> exactly

2018-11-21 13:58:54 GMT <alfresco-discord> <MorganP> Sites or not doesn't change anything

2018-11-21 13:59:55 GMT <alfresco-discord> <arianrhod> I had found an export using api but in the browser I also needed to indicate the site, but we are not using it

2018-11-21 13:59:59 GMT <alfresco-discord> <arianrhod> 😦

2018-11-21 14:00:18 GMT <alfresco-discord> <MorganP> Did you try the replication job?

2018-11-21 14:00:22 GMT <alfresco-discord> <MorganP> or an ACP export?

2018-11-21 14:00:28 GMT <yreg> Ok, you might want to consider this fork https://github.com/douglascrp/alfresco-share-import-export of this add-on https://github.com/atolcd/alfresco-share-import-export

2018-11-21 14:00:29 GMT <alfbot> Title:GitHub - douglascrp/alfresco-share-import-export (at github.com)

2018-11-21 14:01:11 GMT <yreg> @MorganP replication is sh*t everything turns into RO mode after the operation on the target system

2018-11-21 14:01:25 GMT <yreg> Better use ACP is the structure is not that big

2018-11-21 14:01:36 GMT <alfresco-discord> <arianrhod> I had seen alfresco-share-import-export but we are talking about a production environment that is difficult to stop 😦

2018-11-21 14:02:04 GMT <alfresco-discord> <MorganP> why do you want to stop?

2018-11-21 14:02:08 GMT <alfresco-discord> <MorganP> use JS API to do it

2018-11-21 14:02:13 GMT <Arianrhod> mmmmm

2018-11-21 14:02:40 GMT <Arianrhod> i write from here better :P

2018-11-21 14:03:46 GMT <alfresco-discord> <MorganP> @yreg Yes that's the problem with replication ^^ but it depends what is the purpose

2018-11-21 14:03:51 GMT <Arianrhod> I understood that to stop the tool it was necessary to stop the application ...

2018-11-21 14:03:55 GMT <Arianrhod> i read better

2018-11-21 14:04:18 GMT <Arianrhod> they opened me to the ACP but I do not know where to start :(

2018-11-21 14:04:57 GMT <alfresco-discord> <MorganP> Do you have the JavaScript Console add-on installed already?

2018-11-21 14:05:30 GMT <Arianrhod> I don' t know: P

2018-11-21 14:05:34 GMT <alfresco-discord> <MorganP> if yes, then you can use this to do the ACP export/import, it's really not complicated

2018-11-21 14:06:06 GMT <Arianrhod> I think I have it, but I'm not particularly expert :(

2018-11-21 14:06:09 GMT <Arianrhod> ok

2018-11-21 14:06:38 GMT <yreg> If you have it use this : https://gist.github.com/douglascrp/d37a5195df2aa182265d7f5c945a29bf#file-export-acp-js

2018-11-21 14:06:39 GMT <alfbot> Title:Alfresco Javascript Console Recipes · GitHub (at gist.github.com)

2018-11-21 14:07:14 GMT <Arianrhod> i see

2018-11-21 14:07:22 GMT <yreg> Of course, you will need to adapt the path

2018-11-21 14:09:22 GMT <Arianrhod> but in the first example file there is "companyhome.childByNamePath("Sites/swsdp/documentLibrary"" but my directories are not in the default sites, so I got stuck

2018-11-21 14:09:44 GMT <yreg> That's what I said

2018-11-21 14:09:52 GMT <yreg> Adjust the path to match your directory

2018-11-21 14:10:03 GMT <Arianrhod> uhm

2018-11-21 14:10:08 GMT <Arianrhod> i try

2018-11-21 14:10:11 GMT <Arianrhod> thanks

2018-11-21 14:10:17 GMT <alfresco-discord> <MorganP> Change Sites/swsdp/... with whatever your path is

2018-11-21 14:10:38 GMT <Arianrhod> completly?

2018-11-21 14:10:40 GMT <Arianrhod> okù

2018-11-21 14:20:04 GMT <Arianrhod> these JS files from where do I need to run them? :|

2018-11-21 14:21:14 GMT <yreg> You probably should get your partner on board with this

2018-11-21 14:21:22 GMT <yreg> Or something

2018-11-21 14:21:48 GMT <yreg> Not a good idea to fiddle with admin tools on prod when you do not have the right skills

2018-11-21 14:23:24 GMT <Arianrhod> i know

2018-11-21 14:23:37 GMT <Arianrhod> but i ave also a testing enviroment

2018-11-21 14:30:12 GMT <alfresco-discord> <MorganP> Try to find out if you have the JS Console first

2018-11-21 14:30:26 GMT <alfresco-discord> <MorganP> then get familiar with it, with dump for example

2018-11-21 14:30:50 GMT <alfresco-discord> <MorganP> With an admin account, on each node, if you look at the actions, there should be a "Dump with JavaScript Console"

2018-11-21 14:31:09 GMT <alfresco-discord> <MorganP> otherwise it's on the Admin Tools > Tools > JavaScript Console

2018-11-21 14:31:32 GMT <alfresco-discord> <MorganP> But like yreg said, this can be dangerous...

2018-11-21 14:33:19 GMT <Arianrhod> ok

2018-11-21 14:33:21 GMT <Arianrhod> thanks for all

2018-11-21 14:34:07 GMT <Arianrhod> hank you all for everything*

2018-11-21 14:38:50 GMT <fwu2018> hi all

2018-11-21 16:16:21 GMT <angelborroy> hi

2018-11-21 16:16:47 GMT <angelborroy> can auditable aspect be disabled globally?

2018-11-21 16:17:04 GMT <angelborroy> I can remember if I did this operation before

2018-11-21 16:17:08 GMT <angelborroy> can > can’t

2018-11-21 16:21:12 GMT <angelborroy> ok, Douglas to the rescue!

2018-11-21 16:21:16 GMT <angelborroy> https://gist.github.com/douglascrp/3a66190e2120ff572277103bd66857ed

2018-11-21 16:21:17 GMT <alfbot> Title:Disable alfresco policy in Javascript.js · GitHub (at gist.github.com)

2018-11-21 16:47:43 GMT <alfresco-discord> <douglascrp> @angel.borroy is that enough?

2018-11-21 16:47:54 GMT <alfresco-discord> <douglascrp> I was not paying attention, as I was talking with someone else here

2018-11-21 16:48:43 GMT <alfresco-discord> <douglascrp> @angel.borroy again, about the permission on docker templates

2018-11-21 16:48:50 GMT <alfresco-discord> <douglascrp> is this right? sudo adduser -u 1001 solr

2018-11-21 16:49:01 GMT <alfresco-discord> <douglascrp> and then chown -R solr:solr solr-data/

2018-11-21 16:49:13 GMT <alfresco-discord> <douglascrp> I did this, but even after that, solr keeps failing

2018-11-21 16:50:43 GMT <alfresco-discord> <douglascrp> solr6_1 | 2018-11-21 16:50:09.785 ERROR (Thread-12) [ x:alfresco] o.a.s.c.CoreContainer Error creating core [alfresco]: java.nio.file.AccessDeniedException: /opt/alfresco-search-services/data/alfresco solr6_1 | org.apache.solr.common.SolrException: java.nio.file.AccessDeniedException: /opt/alfresco-search-services/data/alfresco

2018-11-21 16:50:48 GMT <alfresco-discord> <douglascrp> this is what I see when I start it

2018-11-21 17:13:12 GMT <alfresco-discord> <yreg> @douglascrp you do not need to add any users

2018-11-21 17:13:22 GMT <alfresco-discord> <yreg> just chown to 1001 I guess

2018-11-21 17:13:29 GMT <alfresco-discord> <douglascrp> ahhhh

2018-11-21 17:14:29 GMT <angelborroy> yes

2018-11-21 17:14:36 GMT <angelborroy> only chown to 1001

2018-11-21 17:14:37 GMT <angelborroy> or 1000

2018-11-21 17:14:48 GMT <alfresco-discord> <douglascrp> 1000 is my own user

2018-11-21 17:14:49 GMT <angelborroy> depending on container

2018-11-21 17:15:00 GMT <alfresco-discord> <yreg> or 999 for postgres

2018-11-21 17:15:01 GMT <alfresco-discord> <yreg> 😄

2018-11-21 17:15:06 GMT <alfresco-discord> <douglascrp> come one dudes 😄

2018-11-21 17:19:05 GMT <yreg> @douglascrp to easily find the user id to put for this container's volume : docker run --rm -it alfresco/alfresco-search-services:1.1.1 id

2018-11-21 17:19:27 GMT <yreg> Of course replace alfresco/alfresco-search-services:1.1.1 with your own image / tag

2018-11-21 17:19:39 GMT <alfresco-discord> <douglascrp> hmmm, this --rm is kind of "weird"

2018-11-21 17:19:52 GMT <yreg> ASS 1.1.1 seems to have 1000 as user if for solr

2018-11-21 17:20:10 GMT <alfresco-discord> <douglascrp> I am using the 201806-GA template from keensoft

2018-11-21 17:20:18 GMT <alfresco-discord> <douglascrp> https://github.com/keensoft/alfresco-docker-template/tree/master/templates/201806-GA

2018-11-21 17:20:19 GMT <alfbot> Title:alfresco-docker-template/templates/201806-GA at master · keensoft/alfresco-docker-template · GitHub (at github.com)

2018-11-21 17:20:20 GMT <yreg> When you user run, you create new container based on some image

2018-11-21 17:20:41 GMT <angelborroy> enter the container with ssh

2018-11-21 17:20:49 GMT <yreg> --rm would result in the newly created container to be deleted as soon as the process you invoke ends

2018-11-21 17:21:11 GMT <angelborroy> and look for user “docker"

2018-11-21 17:21:33 GMT <yreg> @douglascrp feel free to replace that with docker exec -it <container-name> id

2018-11-21 17:21:44 GMT <yreg> To know the container name use docker ps

2018-11-21 17:22:18 GMT <alfresco-discord> <douglascrp> I am feeling silly 😐

2018-11-21 17:22:27 GMT <alfresco-discord> <douglascrp> too much to learn

2018-11-21 17:25:00 GMT <alfresco-discord> <douglascrp> yes, it doesn't like me 2018-11-21 17:23:43.458 ERROR (Thread-12) [ x:alfresco] o.a.s.c.CoreContainer Error creating core [alfresco]: java.nio.file.AccessDeniedException: /opt/alfresco-search-services/data/alfresco solr6_1 | org.apache.solr.common.SolrException: java.nio.file.AccessDeniedException: /opt/alfresco-search-services/data/alfresco

2018-11-21 17:34:55 GMT <alfresco-discord> <douglascrp> yes, UID 1000 did the trick

2018-11-21 17:35:08 GMT <alfresco-discord> <douglascrp> so, @angel.borroy this one should be changed https://github.com/keensoft/alfresco-docker-template/tree/master/templates/201806-GA

2018-11-21 17:35:10 GMT <alfbot> Title:alfresco-docker-template/templates/201806-GA at master · keensoft/alfresco-docker-template · GitHub (at github.com)

2018-11-21 17:36:14 GMT <alfresco-discord> <yreg> don't, it takes time to digest all of that new stuff

2018-11-21 17:36:39 GMT <alfresco-discord> <yreg> I think it changed at some moment, but indeed it was 1001 when it was first released AFAIK

2018-11-21 17:36:54 GMT <alfresco-discord> <douglascrp> I see

2018-11-21 17:45:51 GMT <alfresco-discord> <douglascrp> nice... the site-creators addon works with alfresco 6

2018-11-21 17:45:56 GMT <alfresco-discord> <douglascrp> used the docker images to test it

2018-11-21 17:48:25 GMT <alfresco-discord> <douglascrp> using docker to validate simple things like this is nice

2018-11-21 17:57:03 GMT <alfresco-discord> <yreg> indeed

2018-11-21 17:57:21 GMT <alfresco-discord> <yreg> if you now try and add on other amp, it won't work though 😛

2018-11-21 17:57:28 GMT <alfresco-discord> <yreg> at least not directly

2018-11-21 17:57:35 GMT <alfresco-discord> <douglascrp> yes, I had to rebuild it

2018-11-21 17:57:46 GMT <alfresco-discord> <yreg> you would need to use "docker-compose up -d --build"

2018-11-21 17:58:23 GMT <alfresco-discord> <douglascrp> but it was quick

2018-11-21 17:58:32 GMT <alfresco-discord> <douglascrp> almost the same as packaging a maven project

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco