owncloud Login

Discussion of applications not mentioned above.
User avatar
nog-bad-the-bad
Posts: 5
Joined: 10 May 2021, 04:17

owncloud Login

Post by nog-bad-the-bad »

Hi there,
I've just installed owncloud and it's asking for login! I've not set one up yet is there a default or can this be reset?
cheers in advance
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: owncloud Login

Post by TMSupport »

Please SSH access your TNAS, and run the cmd lines:
vi /usr/local/web-ext/owncloud/config/config.php
modify line 47
change the value true to be flase
WeChat Image_20210518155724.png
WeChat Image_20210518155724.png (8.81 KiB) Viewed 10600 times
run owncloud then to reconfigure new user and database.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
nog-bad-the-bad
Posts: 5
Joined: 10 May 2021, 04:17

Re: owncloud Login

Post by nog-bad-the-bad »

Thanks support, however, config.php is empty!

"/usr/local/web-ext/owncloud/config/config.php 1/1 100%"

I un-installed owncloud then re-installed it just to check, but it is still an empty file!

Any idea?

Cheers

Warren
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: owncloud Login

Post by TMSupport »

Please uninstall owncloud first.
Then run the cmd lines below to delete all the configuration files.

Code: Select all

rm -rf  /mnt/md0/appdata/database/owncloud
rm -rf  /mnt/md0/application/pkgs/owncloud
rm -rf  /mnt/md0/application/pkgs/owncloud.tpk
rm -rf  /mnt/md0/application/web-ext/owncloud
rm -rf  /tmp/wget-owncloud
rm -rf  /tmp/databack/json-owncloud
Reinstall owncloud.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
nog-bad-the-bad
Posts: 5
Joined: 10 May 2021, 04:17

Re: owncloud Login

Post by nog-bad-the-bad »

@TMSupport,
Thank you, That worked a treat.... :D
all good now.
w.
User avatar
penright
Posts: 19
Joined: 07 Jan 2021, 20:51

Re: owncloud Login

Post by penright »

TMSupport wrote: 20 May 2021, 15:22 Please uninstall owncloud first.
Then run the cmd lines below to delete all the configuration files.

Code: Select all

rm -rf  /mnt/md0/appdata/database/owncloud
rm -rf  /mnt/md0/application/pkgs/owncloud
rm -rf  /mnt/md0/application/pkgs/owncloud.tpk
rm -rf  /mnt/md0/application/web-ext/owncloud
rm -rf  /tmp/wget-owncloud
rm -rf  /tmp/databack/json-owncloud
Reinstall owncloud.
When trying to remove '/mnt/md0/application/pkgs/owncloud' I am getting error. I have also upgraded to 4.2.13 x86 version.

/apps/files_mediaviewer/LICENSE': Permission denied
rm: cannot remove '/mnt/md0/application/pkgs/owncloud/usr/local/web-ext/owncl/apps/files_mediaviewer/appinfo/signature.json': Permission denied
rm: cannot remove '/mnt/md0/application/pkgs/owncloud/usr/local/web-ext/owncl/apps/files_mediaviewer/appinfo/app.php': Permission denied


If I try and use sudo rm, I get this error and it does not ask from the admin password.
sudo rm -rf /mnt/md0/application/pkgs/ownclou
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: owncloud Login

Post by TMSupport »

{L_BUTTON_AT}penright
If you are running TOS4.2.13, you should SSH login as admin (or your default administrator's username), and run sudo -i and enter the login password again to get the root permission.
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
penright
Posts: 19
Joined: 07 Jan 2021, 20:51

Re: owncloud Login

Post by penright »

TMSupport wrote: 21 Jun 2021, 15:41 [at=penright post_id=11191 time=1624031239 user_id=2896][/at]

If you are running TOS4.2.13, you should SSH login as admin (or your default administrator's username), and run sudo -i and enter the login password again to get the root permission.


The same thing, sudo must be owned by uid 0 and have the setuid bit set. From reading the forums, this seems to be an issue for the last few versions.
Image
User avatar
TMS
TerraMaster Team
Posts: 508
Joined: 20 Oct 2020, 17:06

Re: owncloud Login

Post by TMS »

Please refer to this link :viewtopic.php?f=23&t=2068
To contact our tech team, please email to support(at)terra-master.com, remember to replace (at) with @
User avatar
penright
Posts: 19
Joined: 07 Jan 2021, 20:51

Re: owncloud Login

Post by penright »

TMS wrote: 21 Jun 2021, 22:01 Please refer to this link :viewtopic.php?f=23&t=2068
I was expecting this, but I did exactly as the topic you linked if you look closely at the image I did exactly what I was supposed to do. Running sudo is where the issue is.
Locked