I’m trying to get Nextant to work.
I follow the instructions given in this tutorial “https://github.com/nextcloud/nextant/wiki”. I follow the thread “[Adviced] How to install Solr as a Service. (small and medium organization)”.
I get to the point "ubuntu@nextcloud:~$ sudo /etc/init.d/solr start"
This command results in:
Port 8983 is already being used by another process (pid: 9890)
Please choose a different port using the -p option.
I think that can happen if some other service is already running on that port. I’ve also seen it where I had one package installed and running on a certain port, then switched packages but wanted to use the same port. Even though I uninstalled the old package, I needed to shut down the old service or reboot before i could start the new service on the same port.
So try rebooting or see if you already have solr running.
Thanks a lot linucksrox!
You were right! Solr was running and working.
Solr process 9890 running on port 8983
{
“solr_home”:“/var/solr/data”,
“version”:“6.4.2 34a975ca3d4bd7fa121340e5bcbf165929e0542f - ishan - 2017-03-01 23:30:23”,
“startTime”:“2017-03-23T09:24:59.978Z”,
“uptime”:“0 days, 10 hours, 30 minutes, 35 seconds”,
“memory”:“36.8 MB (%7.5) of 490.7 MB”}
I am at a complete loss though with this instruction
Optionnaly, you will need a remote access to the webadmin of your Solr; and you might want it to be behind some kind of authentication. We will generate a htpasswd file to store your login and password:
And use mod_proxy and mod_proxy_http to display the webadmin at the same address than your Nextcloud like https://your.cloud/solr/. So edit /etc/apache2/sites-enabled/your-current-cloud.conf and add this to your current configuration (inside the VirtualHost: ):…
I don’t see any corresponding folder in my Nextcloud Box installation - even though this are only placeholders.
How can I implement a password (there is none at the moment), and how do i get access to my solr webadmin??
Finally i discovered that Nextant created an item under the administration interface “additional adjustments” (roughly translated from German)
Accessing the Solr interface is totally optional, but nice if you want to check the status or make adjustments.
I just ran through this configuration and got things working. Here’s how I would describe the procedure:
Set up solr authentication by creating a password for the user admin (or you could use any username you want), by running sudo htpasswd -c /etc/apache2/htpasswd-solr admin
Enable the two Apache modules (proxy_http depends on proxy, so enabling proxy_http automatically enables proxy in a single step) like this: sudo a2enmod proxy_http
Modify your current Apache config file by looking at what you have in /etc/apache2/sites-enabled, then run sudo nano /etc/apache2/sites-enabled/cloud.domain.com.conf
and add this inside of (if you have two blocks, add it to the 443 block)
> # Solr
Hi @hustenfrei sorry for the delay, my computer decided to die last week, and i hadn’t had the time to make an autopsy or fix it.
When i say it requires a clean install to use, my workflow suggestion is to install Nextant on a new nextcloud instance since it will be a smoother process to analyse and process files, also the script has been developed to work on a new instance.
This scripts are still missing idempotence.
So if you run it on a failed install it won’t work.
Maybe if i find a window i could work on that.
If you need any support please let me know.
Hi,
after much tinkering i have decided to have “a clean install” for my Nextcloud box.
The box works fine, therefore i want Nextant urgently
I had a look here and found out that my knowledge about scripts and how to use them is much too feeble.
A few questions
How do i get the script on my Nextcloud system? With PuTTY?
Do i need vi or vim?
Is the script valid for the new Nextcloud image found here?
The answer to this questions might be obvious to you, but for me they are major obstacles.
Therefore a little help is much appreciated - sometimes one only needs a hint.
Thank you
Hi,
after much tinkering i have decided to have “a clean install” for my
Nextcloud box.
Sounds good.
The box works fine, therefore i want Nextant urgently
I had a look here and
found out that my knowledge about scripts and how to use them is much
too feeble.
Make the installation running the script that will avoid errors and issues when running the nextant script. Or follow the script manually with your environment variables.
A few questions
How do i get the script on my Nextcloud system? With PuTTY?
Simple and plain copy paste.
Do i need vi or vim?
I’d you need to make adjustments yes.
I’ll go for nano
Is the script valid for the new Nextcloud image found here?
The install script should install the latest stable release. Again I’ll suggest you use that.
The answer to this questions might be obvious to you, but for me they
are major obstacles.
Therefore a little help is much appreciated - sometimes one only needs
a hint.
Could it be that this script will never run on a nextcloud install based on the images provided here?
As soon as I’m logged into my Nextcloud system, the system displays this message
It’s a brave new world here in Snappy Ubuntu Core! This machine
does not use apt-get or deb packages. Please see ‘snap --help’
for app installation and transactional updates.
At least I get no progress working step by step through the script. I always get thrown out with
Could it be that this script will never run on a nextcloud install
based on the images provided here?
As soon as I’m logged into my Nextcloud system, the system displays
this message
It’s a brave new world here in Snappy Ubuntu Core! This machine
does not use apt-get or deb packages. Please see ‘snap --help’
for app installation and transactional updates.
At least I get no progress working step by step through the script. I
always get thrown out with
exit 1; fi
???
Ohhhh!
You are running arm, sorry this scripts are for x86/x86_64 systems, virtualized, live, vps, etc.