My concern with this app is if there are any potential attack vectors for a regular user or an attacker without logging in.
I suppose you could disable the app and enable only when needed though.
My concern with this app is if there are any potential attack vectors for a regular user or an attacker without logging in.
I suppose you could disable the app and enable only when needed though.
I do not just disable it. I delete it if not needed.
THX for help
App Installed and can open it in NC 18.0.1 RC1
what’s next
Try to execute the occ command. If it succeeds, you can try to run db:add-missing-indices
(on your own risk ).
I think you cannot run the mentioned command in a hosted environment without shell access, because it need to be run in “offline” (maintenance) mode. I would recommend to contact the support of your hoster and ask them to run the command on your database or if you’ve e.g. phpmyadmin available you can try to modify the table settings manually.
I have seen it somewhere at 1und1 interface
I’m confused which database I have used for Nextcloud
Where can I see the name of the database in Nextcloud?
In System there si only:
I started new Thread because it seems that its not possible to be solved with OCC Commands (it needs to be run in “offline” (maintenance) mode)
Can one or more from this also be solved with Web OCC
I tried:
What can I do?
Is there a download for this App?, where to put it for installation?
Can something be done with the other messages?
Where to check?
Is really nobody in the forum who has hosted installation on 1und1 and knows the steps?
I recommend calling the support hotline of your hoster for all the php related stuff.
I assume, that in the default installation, some php modules are missing and you cannot install them with cPanel or similar.
Ask them, if they can help you and maybe install the missing php modules.
Or they can give you some hints, how you can do this on your own.
If this is not possible by your hoster or they don’t want to do this, you have to decide wether you can live with this limitations or you need a Nextcloud installation on your own vps/dedicated server with full root access…
The author of the OCC WebApp does not longer support Nextcloud versions higher 19. Is there any possibility to run the OCC comands like the files scan without having SSH access on a shared hosting?
Does anybody have more information?
On some hosters it is possible to use a separate PHP-file to perform occ commands. It depends on the settings of the hoster though, whether that will work or not (it works with mine). It might be worth a try:
occ-command.php
(or whatever you wanna call it) with the following content (adjust RELATIVE/PATH/TO/occ
to point to your occ
in the nextcloud-installation folder; also the path to php
possibly needs to be adjusted):<?php
exec("/usr/bin/php -d memory_limit=1024M RELATIVE/PATH/TO/occ -n status > occ_result.txt");
exec("echo \"Command completed!\" >> occ-result.txt 2>&1");
header('Location: occ-result.txt');
?>
occ-command.php
with a browserocc-result.txt
)exec
. If that is the case, you can try to replace exec
with passthru
, system
or shell_exec
.occ-command.php
and occ-result.txt
from your webserver when you are done.Hello [rakekniven],
I installed this app on my Nextcloud which is hosted on Hetzner.
However, it is not clear to me how I should then run occ…
If I just type
update
then nothing happens
Once in OCCweb, which command shall I use to upgrade to the next nextcloud version ?
Thank you !
Vincent
Please see https://apps.nextcloud.com/apps/occweb and https://git.adphi.net/adphi/occweb
This app is deprecated and should not be used anymore.
btw. it was never designed for upgrading an NC instance.
Hi rakekniven
Thank you for keeping us up to date on this! I am glad I read until your final post - do you know an alternative?
I have SSH-access to the managed server (Hetzner) but no sudo-rights. This means I can run occ-commands but I can’t specify the user to www-data first. I suppose it would be unsafe to simply run
php occ maintenance:mode --on
php occ db:convert-filecache-bigint
am I right?
All the best,
Maggo