Forums

Resolved
0 votes
I have the Home, Essentials version 7 (subscribed 2 weeks ago). This comes with Owncloud for 10 users.
As shown from the image "Documentation Owncloud Webconfig page.png" supposed to display username/password.
As shown from the image "Just installed Owncloud Webconfig page.png" does not display username/password.
Unable to login.

HELP!
Saturday, June 15 2019, 01:20 AM
Share this post:
Responses (15)
  • Accepted Answer

    Saturday, June 15 2019, 11:51 AM - #Permalink
    Resolved
    0 votes
    You can try to reset the password by command line.

    See https://doc.owncloud.org/server/9.0/admin_manual/configuration_user/reset_admin_password.html

    php /usr/share/owncloud/occ user:resetpassword admin
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, June 16 2019, 08:22 AM - #Permalink
    Resolved
    0 votes
    Patrick, thanks for the assistance. I tried your solution, below is the response I got.

    "This version of ownCloud requires at least PHP 5.6.0
    You are currently running PHP 5.4.16. Please update your PHP version."

    So, I checked the PHP settings and it was correct (5.4.16). The next option to change it to was 7.0 so I chose that.
    Rebooted server. PHP & Web Server settings both show set to PHP 7.0 now, but, when I run the command again it still says I'm using 5.4.16.

    Still stuck. Still can't login.

    Your advice sounded like the perfect solution, but, won't be able to try it until the php/occ issue is resolved.

    Any advice to get over this hurdle would be very much appreciated.

    Thanks again,
    Stephen
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, June 16 2019, 11:31 AM - #Permalink
    Resolved
    0 votes
    Hello Stephen,
    Please can you try running your php command from /opt/rh/rh-php70/root/usr/bin, or perhaps try:
    /opt/rh/rh-php70/root/usr/bin/php /usr/share/owncloud/occ user:resetpassword admin
    Change the path to match the php version you are using for Owncloud.
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, June 16 2019, 04:29 PM - #Permalink
    Resolved
    0 votes
    1. The admin account credentials are only displayed in Webconfig if you are logged in as 'root'.
    2. There's a convenience bash profile/alias for interacting with OwnCloud's occ helper script called 'cos_occ'. Example:


    cos_occ user:resetpassword admin


    B.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, June 16 2019, 06:41 PM - #Permalink
    Resolved
    0 votes
    Ben Chambers wrote:

    1. The admin account credentials are only displayed in Webconfig if you are logged in as 'root'.
    B.


    Ben,

    The admin account is not visible in webconfig when logged is as root.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, June 17 2019, 01:50 AM - #Permalink
    Resolved
    0 votes
    Nick, Thanks for your suggestion.

    Actually, your command worked. Sorta. Below is the results.

    "/$ /opt/rh/rh-php71/root/usr/bin/php /usr/share/owncloud/occ user:resetpassword admin
    Console has to be executed with the user that owns the file config/config.php
    Current user: root
    Owner of config.php: apache
    Try adding 'sudo -u apache ' to the beginning of the command (without the single quotes)

    /$ sudo -u apache /opt/rh/rh-php71/root/usr/bin/php /usr/share/owncloud/occ user:resetpassword admin
    User does not exist"

    So, the command worked, but since I've never actually logged in, there is no record of it.
    Someone needs to fix the Webconfig OwnCloud settings so it displays the default username/password.

    I'm appreciating everyone's input, this forum is extremely useful, unfortunately, still stuck. Still can't login to OwnCloud.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 18 2019, 04:44 PM - #Permalink
    Resolved
    0 votes
    I am looking into it. I will keep you posted on what I find.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 18 2019, 06:02 PM - #Permalink
    Resolved
    0 votes
    From the command line can you run
    cat /etc/clearos/owncloud.conf
    That should show you your admin password. When you go to log in, be sure to use the username admin.
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 19 2019, 11:04 AM - #Permalink
    Resolved
    0 votes
    Tyler Randolph wrote:

    From the command line can you run
    cat /etc/clearos/owncloud.conf
    That should show you your admin password. When you go to log in, be sure to use the username admin.


    Thanks Tyler,

    The command you gave me did give me an admin password but Owncloud login said wrong password.
    Makes me wonder why?
    Thanks for trying, appreciate it!
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 19 2019, 06:16 PM - #Permalink
    Resolved
    0 votes
    If you have uninstalled and reinstalled ownCloud, the original password may be in a backup file. For example: /etc/clearos/owncloud.conf.rpmsave
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 19 2019, 08:46 PM - #Permalink
    Resolved
    0 votes
    Tyler Randolph wrote:

    If you have uninstalled and reinstalled ownCloud, the original password may be in a backup file. For example: /etc/clearos/owncloud.conf.rpmsave


    Tyler,
    Yes, I did uninstall/reinstall. There is another saved password file but also does not work.

    Thanks again for your suggestion, appreciate them all!

    Stephen
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 20 2019, 11:03 AM - #Permalink
    Resolved
    0 votes
    Tyler Randolph wrote:

    From the command line can you run
    cat /etc/clearos/owncloud.conf
    That should show you your admin password. When you go to log in, be sure to use the username admin.

    Tyler,

    Would be nicer if there a possibility in Webconfig to change the Admin password.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 20 2019, 03:04 PM - #Permalink
    Resolved
    0 votes
    Patrick de Brabander wrote:

    Tyler,

    Would be nicer if there a possibility in Webconfig to change the Admin password.


    Patrick,

    I'll have to look into what it would take to add that feature. I agree that it would be a nice addition to the web config. I'll keep you all posted.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 20 2019, 03:06 PM - #Permalink
    Resolved
    0 votes
    Stephen Khtaian wrote:

    Tyler,
    Yes, I did uninstall/reinstall. There is another saved password file but also does not work.

    Thanks again for your suggestion, appreciate them all!

    Stephen


    Stephen,

    I'm not sure why it's not allowing you to log in. Just double checking, you are using the username 'admin' with not caps and you tried both the passwords in /etc/clearos/owncloud.conf and /etc/clearos/owncloud.conf.rpmsave?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 20 2019, 06:18 PM - #Permalink
    Resolved
    0 votes
    Tyler Randolph wrote:

    Stephen Khtaian wrote:

    Tyler,
    Yes, I did uninstall/reinstall. There is another saved password file but also does not work.

    Thanks again for your suggestion, appreciate them all!

    Stephen


    Stephen,

    I'm not sure why it's not allowing you to log in. Just double checking, you are using the username 'admin' with not caps and you tried both the passwords in /etc/clearos/owncloud.conf and /etc/clearos/owncloud.conf.rpmsave?



    Tyler,

    Yes to all questions.

    Stephen
    The reply is currently minimized Show
Your Reply