Nextcloud 20 new issues
Nextcloud 20 new issues
Hello,
I found some Nextcloud 20 issues on my box with the latest update. Please take a look to see what's happening.
1. sudo ubos-admin status problem
Emerging problem regarding Nextcloud Elasticseartch service failure
2. Nextcloud 20 group can not be unticked.
Once group is assigned to any user in "Users" menu, then it is not possible to untick the group anymore, and makes error message like below.
But previous version it can be changed.
Thanks.
I found some Nextcloud 20 issues on my box with the latest update. Please take a look to see what's happening.
1. sudo ubos-admin status problem
Emerging problem regarding Nextcloud Elasticseartch service failure
2. Nextcloud 20 group can not be unticked.
Once group is assigned to any user in "Users" menu, then it is not possible to untick the group anymore, and makes error message like below.
But previous version it can be changed.
Thanks.
- Attachments
-
- 1..png (4.09 KiB) Viewed 1053 times
-
- 4..png (18.71 KiB) Viewed 1062 times
Re: Nextcloud 20 new issues
Can you figure out why the elasticsearch daemon failed? Does restarting it work? What does the journal report?
Re: Nextcloud 20 new issues
I didn't run anything special related to Nextcloud.
And restarting (booting the box)doesn't seem to fix it. If you mean the single service that needs to restart, then please let me know what to do.
If I invoke, it says;
(I picked some specifics presumably related to this matter, but not sure)
And restarting (booting the box)doesn't seem to fix it. If you mean the single service that needs to restart, then please let me know what to do.
If I invoke
Code: Select all
sudo journalctl
(I picked some specifics presumably related to this matter, but not sure)
- Attachments
-
- 15..png (106.87 KiB) Viewed 1049 times
-
- 13..png (64.85 KiB) Viewed 1049 times
Re: Nextcloud 20 new issues
Here is more detail what to do:
If systemd service "foo" has failed, you can ask the journal for its messages (only), such as (if you wanted the last 5 minutes of messages only):
So in this case "foo" would be "nextcloud-fulltextsearch-elasticsearch@addbc..." because that's the service that has failed (as shown by "sudo ubos-admin status")
To try restarting it:
If that doesn't make it obvious what the problem is, or how to fix it, it would be best if you could send e-mail us the entire boot log.
If systemd service "foo" has failed, you can ask the journal for its messages (only), such as (if you wanted the last 5 minutes of messages only):
Code: Select all
sudo journalctl -u foo --since -5m
To try restarting it:
Code: Select all
sudo systemctl start foo
Re: Nextcloud 20 new issues
Here is the result of what journal says when I invoke
It seems "can't call method "vars" on an undefined value at ... " makes this matter.
Maybe this service has troubles to be compatible with the UBOS update.
Do you think reinstalling this service(delete this accessory and redeploy it) might help?
Code: Select all
sudo journalctl -u nextcloud-fulltextsearch-elasticsearch@addbc...
Maybe this service has troubles to be compatible with the UBOS update.
Do you think reinstalling this service(delete this accessory and redeploy it) might help?
- Attachments
-
- 1..png (147.4 KiB) Viewed 1038 times
Re: Nextcloud 20 new issues
Hmm. Not sure what that is. Works fine here. Is it possible this is a leftover process from some installation changes you made and there is a second (and working) elasticsearch daemon running?
Try this:
This should show a single site with your Nextcloud installation (unless you have more than one Nextcloud instance running on the same box) and the site id and appconfig id.
Then:
This should show a single line, like this:
where the identifier after the "@" is the same as the appconfig id from above.
The best guess I have right now is that you have two lines there, one of which is active and the other one failed. If this guess is correct, disable the one that failed, it should not have been running in the first place:
If the guess isn't correct, then please send the output of
Try this:
Code: Select all
sudo ubos-admin listsites --with nextcloud-fulltextsearch-elasticsearch --detail
Then:
Code: Select all
sudo systemctl | grep nextcloud-fulltextsearch-elasticsearch
Code: Select all
nextcloud-fulltextsearch-elasticsearch@addbc....service loaded active running Nextcloud full-text search using Elasticsearch
The best guess I have right now is that you have two lines there, one of which is active and the other one failed. If this guess is correct, disable the one that failed, it should not have been running in the first place:
Code: Select all
sudo systemctl disable --now nextcloud-fulltextsearch-elasticsearch@addbc...
Code: Select all
sudo ubos-admin listsites --json
sudo systemctl | cat
Re: Nextcloud 20 new issues
Maybe. But this is my first installation of Nextcloud app & its accessories after UBOS is clean installed. (I repeated this whole process second time but just one installation per each tryout)Is it possible this is a leftover process from some installation changes you made and there is a second (and working) elasticsearch daemon running?
Try this:This should show a single site with your Nextcloud installation (unless you have more than one Nextcloud instance running on the same box) and the site id and appconfig id.Code: Select all
sudo ubos-admin listsites --with nextcloud-fulltextsearch-elasticsearch --detail
Since this is my first install, I asked you if I need to try uninstall and reinstall the problematic accessory.
Please also note I run only one Nextcloud instance on the box.
One suspicious thing is that after clean install I deployed the json file second time for there was a letsencrypt registration problem.
When I invoke
Code: Select all
sudo ubos-admin listsites --with nextcloud-fulltextsearch-elasticsearch --detail
- Attachments
-
- 23..png (60.74 KiB) Viewed 1025 times
Last edited by criky on Wed Oct 28, 2020 4:21 am, edited 9 times in total.
Re: Nextcloud 20 new issues
Yes, there are two services that are running, but that is not like what we are expected.Then:
This should show a single line, like this:Code: Select all
sudo systemctl | grep nextcloud-fulltextsearch-elasticsearch
where the identifier after the "@" is the same as the appconfig id from above.Code: Select all
nextcloud-fulltextsearch-elasticsearch@addbc....service loaded active running Nextcloud full-text search using Elasticsearch
The best guess I have right now is that you have two lines there, one of which is active and the other one failed. If this guess is correct, disable the one that failed, it should not have been running in the first place:
The best guess I have right now is that you have two lines there, one of which is active and the other one failed. If this guess is correct, disable the one that failed, it should not have been running in the first place:Code: Select all
sudo systemctl disable --now nextcloud-fulltextsearch-elasticsearch@addbc...
Code: Select all
sudo systemctl disable --now nextcloud-fulltextsearch-elasticsearch@addbc...
As you can see below, the first one seems to be problematic.
It has a name(appconfig id) that is partly left out with three periods.
And it repeats continuously between "auto-restart" and "running", seemingly makes the system "degraded".
So after disable it and reboot, the problem is fixed.
- Attachments
-
- 27..png (35.4 KiB) Viewed 1011 times
-
- 29..png (17.58 KiB) Viewed 1012 times
Last edited by criky on Wed Oct 28, 2020 4:54 am, edited 3 times in total.
Re: Nextcloud 20 new issues
But some doubts from me left.
I wonder where the "nextcloud-fulltextsearch-elasticsearch@addbc....service" came from.
Is that the same service with what has a full name of "nextcloud-fulltextsearch-elasticsearch@addbc69ed3d3f0fb4df7d9697a54a851579ddc2af.service"?
I can see two sesrvices loaded at the same time by the UBOS.
Apparently there was a problem before I invoke this code; (I used three periods rather than full name)
Starting this service as "nextcloud-fulltextsearch-elasticsearch@addbc..." makes the previously failed service starting again and again or causes new service to start?
Now I see you mentioned
But previously I thought three periods can substitute the full name instead.
So complicated for me now, but anyway thanks for your advice, it really worked.
I wonder where the "nextcloud-fulltextsearch-elasticsearch@addbc....service" came from.
Is that the same service with what has a full name of "nextcloud-fulltextsearch-elasticsearch@addbc69ed3d3f0fb4df7d9697a54a851579ddc2af.service"?
I can see two sesrvices loaded at the same time by the UBOS.
Apparently there was a problem before I invoke this code; (I used three periods rather than full name)
Code: Select all
sudo systemctl start nextcloud-fulltextsearch-elasticsearch@addbc...
Now I see you mentioned
Probably you mean "where the identifier after the "@" [should be exactly] the same as the appconfig id from above".where the identifier after the "@" is the same as the appconfig id from above.
But previously I thought three periods can substitute the full name instead.
So complicated for me now, but anyway thanks for your advice, it really worked.
Re: Nextcloud 20 new issues
The three periods is a simplification we introduced for ubos-admin. The rest of Linux (that includes systemctl etc) knows nothing about it.
I filed an issue to print a better error message if somebody runs into this in the future, although it seems unlikely.
Glad you have it working.
I filed an issue to print a better error message if somebody runs into this in the future, although it seems unlikely.
Glad you have it working.