Hello there,
I am having issues enabling custom theme that has been created prior and was running successfully on a different server.
Steps to reproduce
- Theme was copied from a different server to /var/www/owncloud/apps-custom directory (same directory as was used on a previous server)
- config.php and info.xml files have been changed accordingly and double or tripple check was performed to see that all directories and filenames would match.
- After logging in and searching Disabled Apps section the theme cannot be found.
- After additionally following Theming Instructions from OwnCloud Documentation to try to install a fresh custom theme through Terminal in the apps-external directory nothing shows up either.
- sudo service apache2 restart command does nothing either
Expected behaviour
After copying the theme to apps-custom directory and applying changes to config.php and info.xml the theme should pop up in the Disable Apps section and we should be able to use it. Note that the theme was used on a different server without any issues.
Following instructions to install a new theme through Terminal should result into giving new theme as well.
Actual behaviour
Neither themes show up in Disabled or Enabled Apps section. The feeling is as config.php file would not be used by ownCloud as it did not exist.
Server configuration
Operating system: Ubuntu 22.04
Web server: Apache 2
Database: MySQL
PHP version: 7.4
ownCloud version: 10.13.2
Updated from an older ownCloud or fresh install: Fresh on both servers
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results into https://gist.github.com/ and puth the link here.
The content of config/config.php:
<?php
$CONFIG = array (
'trusted_domains' =>
array (
0 => 'cloud.name.com',
1 => '1.1.1.1',
2 => '2.2.2.2',
3 => 'localhost',
),
'integrity.ignore.missing.app.signature' => [
'nameofthetheme',
],
'apps_paths' => [
0 =>
[
'path' => OC::$SERVERROOT.'/apps',
'url' => '/apps',
'writable' => false,
],
1 =>
[
'path' => OC::$SERVERROOT.'/apps-external',
'url' => '/apps-external',
'writable' => true,
],
2 =>
[
'path' => OC::$SERVERROOT.'/apps-custom',
'url' => '/apps-custom',
'writable' => true,
],
],
'installed' => true,
);
List of activated apps: Whatever comes with a fresh install
Are you using external storage, if yes which one: local/smb/sftp/… None
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/… No
Client configuration
Browser: Firefox
Operating system: Ubuntu 22.04