Closed uli-heller closed 7 years ago
Hi. Thank you for trying this plugin!
This looks a problem about a session on your browser.
Since both of GitBucket and Fess run on localhost
, if you access to the both on the same browser, the session will be shared.
Thus, GitBucket requires login after you accessed to Fess.
An easy solution to this problem is to use a different browser to access to GitBucket and Fess. For example, you access to Fess with Chrome and access to GitBucket with Firefox. Or, you can use a private browsing mode.
This solution may be bothered, but if you finish the setting, you will not have to access to Fess.
If it still doesn't work, please tell me the version of your GitBucket and show me a log of GitBucket.
Thanks, so I cannot run both of them using the "easy path" for each of them. Will it work when I install them underneath a context, i.e.
Best regards, Uli
Some hints to myself:
Will it work when I install them underneath a context
This looks a better solution.
For GitBucket, you can specify context path easily like this:
$ java -jar gitbucket.war --port=8081 --prefix=gitbucket
./bin/fess -Dfess.context.path=/fess/
... seems to work, too...
It looks much better now. I see "Powered by FESS" within gitbucket. I'll do some more tests once the crawler is finished.
I'm stuck on a not found error
after completing all steps regarding the fess configuration. http://localhost:8080/gitbucket/fess/settings:
If I log out, the webpage is found but I'm asked to install fess (!).
@aschmu Hi! We fixed the problem and newly released version 1.2.0 for latest GitBucket (4.15&4.16) :smile: Would you try this?
Thanks ! I am now able to register fess. However searching code in the global search section doesn't return anything though I'm sure it should (e.g. looking for README etc.)
@kw-udon Yes, sorry I just noticed a port mistake in my configuration ! It's now working properly. Another question, if we want to run this in production, I believe we have to setup an independant elasticsearch cluster right ? Also it would be easier to have fess running as a service so I was wondering if the rpm package mentioned here is Fedora compatible ? Or maybe it's just as easy installing from zip and creating custom systemd files ?
Thank you for your help !
@aschmu Sorry, I'm not sure.
@marevol Could you answer @aschmu's questions instead of me?
See Installation Guide.
Embedded Elasticsearch is not recommended for production use.
So, you need to setup an elasticsearch cluster before installing Fess.
I think rpm package works in Fedora though we do not check it.
Hi,
I've created a test installation.
I've created the access token within gitbucket, registered it within fess, created the crawler, executed the crawler.
Then, I created an access token within fess. I left most of the fields empty, For example, I don't know anything about permissions right now.
I registered this token within gitbucket on the fess config page.
Unfortunately, searching within gitbucket does not work. Clicking on "Search" produces a redirect to this page:
http://localhost:8081/signin?redirect=%2Ffess%3Fq%3D
Here, I do have to sign in again. After that, I'm within the gitbucket home page again.
Do you have any idea?
Best regards + thanks, Uli