Forums

Bob Rose
Bob Rose
Offline
Resolved
0 votes
Owncloud Home has stopped working. Webconfig page for Ownloud has only this a note at the top.

"Ooooops: No entry for terminal type "unknown";"

Nothing else on that page. Strangely the MarketPlace Has:
"Marketplace Unavailable
Another user or service is currently using the package manager. Marketplace is not available until the package management system becomes available."

The command :"[root@MyServer ~]# Yum-complete-Transaction" ends up at "No unfinished transaction left."
If anyone has something I could try, I would appreciate it.
Tuesday, March 10 2020, 03:39 PM
Share this post:

Accepted Answer

Tuesday, March 10 2020, 07:35 PM - #Permalink
Resolved
0 votes
That is really weird. You seem to have the same corruption as I had in NextCloud. Can you check the backups? I think you need to remove the first four lines of your file. You may need to restart httpd afterwards.
The reply is currently minimized Show
Responses (11)
  • Accepted Answer

    Wednesday, March 11 2020, 08:33 AM - #Permalink
    Resolved
    0 votes
    Realistically there is going to be no way of tracking this down. I noticed the issue around 16th Feb when investigating something for someone, but I am not a regular NC user. My backups on 29/1, 16/2 and 28/2 are all OK. There have been no NC updates since 9th Jan and no OC updates since way back last year and there is nothing obvious in the yum log from around the. Note that for most updates we just provide the upstream packages untouched - all the el7 packages are straight from upstream.
    The reply is currently minimized Show
  • Accepted Answer

    Bob Rose
    Bob Rose
    Offline
    Tuesday, March 10 2020, 09:59 PM - #Permalink
    Resolved
    0 votes
    Nick,
    This actually happened a few weeks ago. I have been traveling and haven't had a chance until now to deal with it. I want to say the date on the config file was late February before being changed today if you guys wanted to try to track down what changes might have triggered it.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 10 2020, 08:44 PM - #Permalink
    Resolved
    0 votes
    There is common code. NC is a fork of OC, but so far it is just the two of us with this corruption and mine was a few weeks ago. Weird!
    The reply is currently minimized Show
  • Accepted Answer

    Bob Rose
    Bob Rose
    Offline
    Tuesday, March 10 2020, 08:22 PM - #Permalink
    Resolved
    0 votes
    Whoo Hoooo... Ok That worked. Owncloud is now has resumed in all appearances. I am getting notices of files syncing up. Deleting the first four lines:

    <?php
    $CONFIG = array (
    'instanceid' => 'ocro12y8044t',
    );

    Did the trick. The older backups did not contain these lines. Thanks for getting me through this. Thanks Nick, you the Man. It does raise a curiosity about how that could happen. If you had it with Nextcloud then there must be some common or shared code.
    Thank again Nick.
    The reply is currently minimized Show
  • Accepted Answer

    Bob Rose
    Bob Rose
    Offline
    Tuesday, March 10 2020, 07:20 PM - #Permalink
    Resolved
    0 votes
    The contents of ?etc/owncloud/config.php are:

    <?php
    $CONFIG = array (
    'instanceid' => 'ocro12y8044t',
    );
    <?php
    $CONFIG = array (
    'dbtype' => 'mysql',
    'dbname' => 'owncloud',
    'dbuser' => 'owncloud',
    'dbpassword' =>SOME HASH
    'dbhost' => '127.0.0.1:3308',
    'dbtableprefix' => 'oc_',
    'instanceid' => 'ocvkvy5z46kb',
    'passwordsalt' => ANother HASH
    'secret' =>and a really long Hash',
    'trusted_domains' =>
    array (
    0 => 'MySite',
    1 => '192.168.1.1',
    2 => '174.56.178.55',
    3 => '192.168.2.1',
    4 => 'piwik.MySite',
    5 => '',
    6 => 'photos.MySite',
    ),
    'datadirectory' => '/var/clearos/owncloud/data',
    'overwrite.cli.url' => 'https://localhost/owncloud',
    'version' => '10.2.0.5',
    'logtimezone' => 'UTC',
    'installed' => true,
    'updatechecker' => 'false',
    'ldapIgnoreNamingRules' => false,
    'loglevel' => 2,
    'maintenance' => false,
    );

    END
    I did substitute some phrases for sensitive info. I think the actual config.php is generated elsewhere in /usr/clearos directories. There are a lot of backups in the /etc/owncloud/ directory
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 10 2020, 05:42 PM - #Permalink
    Resolved
    0 votes
    Is there such a thing as /etc/owncloud/config.php? If there is, what are the contents?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 10 2020, 05:38 PM - #Permalink
    Resolved
    0 votes
    Sometimes you need to be more aggressive with kill; something like kill -9.

    I'm not sure about OC as I don't use it. I'll ask someone who does.
    The reply is currently minimized Show
  • Accepted Answer

    Bob Rose
    Bob Rose
    Offline
    Tuesday, March 10 2020, 05:32 PM - #Permalink
    Resolved
    0 votes
    Seemed like 9624 was hard to kill. anyway it succeeded in bring back the Marketplace and software updates. Owncloud still displays the cryptic to me :" Ooops....." message.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 10 2020, 05:08 PM - #Permalink
    Resolved
    0 votes
    Please try killing the yum processes with something like:
    kill 9624
    kill 9629
    kill 9630
    One of the processes may die when the other one dies. Alternatively just reboot.
    The reply is currently minimized Show
  • Accepted Answer

    Bob Rose
    Bob Rose
    Offline
    Tuesday, March 10 2020, 04:36 PM - #Permalink
    Resolved
    0 votes
    Thanks for helping Nick

    ps aux | grep yum
    root 9624 0.0 0.0 113184 1020 ? S Mar09 0:00 sh -c /usr/bin/sudo /usr/bin/yum --enablerepo=* clean all 2>&1
    root 9629 0.0 0.0 243728 2744 ? S Mar09 0:00 /usr/bin/sudo /usr/bin/yum --enablerepo=* clean all
    root 9630 0.0 0.1 356904 7256 ? S Mar09 0:00 /usr/bin/python /usr/bin/yum --enablerepo=* clean all
    root 13705 0.0 0.0 112712 956 pts/0 S+ 12:30 0:00 grep --color=auto yum

    The marketplace is still unavailable as is "software Updates"
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 10 2020, 04:13 PM - #Permalink
    Resolved
    0 votes
    Can you please check the marketplace again. If it does not work, what is the output of "ps aux | grep yum"?

    If the marketplace is working, does Owncloud now work?
    The reply is currently minimized Show
Your Reply