Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: New Plugin Installation Issue Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
iyirfanyounus
Newbie
Newbie


Joined: 27 November 2018
Online Status: Offline
Posts: 7
Posted: 27 November 2018 at 5:10am | IP Logged Quote iyirfanyounus

I'm using web mail lite 8.
I wanted to install "aurora-module-mail-hidden-recipient-plugin"
Whats the procedure ?

I tried one but failed, following steps i followed.

Editted modules.json and added following line in the end:
"afterlogic/aurora-module-mail-hidden-recipient-plugin": "0.9.x"

and then ran php composer.php update.

i went on updation, many time prompted that git repo not found do you wish to install fresh, i typed yes, but in end it says:
[ -d data ] || mkdir data
'[' is not recognized as an internal or external command,

Can you tell me step by step procedure for adding this plugin ?
Currently i m doing on my local machine with PHP 7.2, after it is done it will be moved to cPanel.


P.S, its another instance is working perfect, but when i try to add this plugin it stops
Back to Top View iyirfanyounus's Profile Search for other posts by iyirfanyounus
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6103
Posted: 27 November 2018 at 5:29am | IP Logged Quote Igor

Hello,

We recommend installing the initial package from git repository as described at:

Installing from repository

Though it should also work if you install from ZIP package and then perform additional steps shown at:

Adding modules

I've just adjusted modules.json file so it looks like this:

Code:
{
     "repositories": [
          {"type": "composer", "url":"https://afterlogic.com/composer/"}
    ],
     "require": {
          "afterlogic/aurora-framework": "0.9.x",
          "afterlogic/aurora-dev-tools": "0.9.x",
...     
          "afterlogic/aurora-module-mail-auth-cpanel": "0.9.x",
          "afterlogic/aurora-module-mail-change-password-cpanel-plugin": "0.9.x",
          "afterlogic/aurora-module-mail-hidden-recipient-plugin": "0.9.x"
     }
}


Then ran php composer.phar update and the module was installed just fine.

I'd suspect the issue is somehow related to inability to access git repository, which is something that should be looked into before going any further.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
iyirfanyounus
Newbie
Newbie


Joined: 27 November 2018
Online Status: Offline
Posts: 7
Posted: 27 November 2018 at 5:56am | IP Logged Quote iyirfanyounus

Igor wrote:
Hello,

We recommend installing the initial package from git repository as described at:

Installing from repository

Though it should also work if you install from ZIP package and then perform additional steps shown at:

Adding modules

I've just adjusted modules.json file so it looks like this:

Code:
{
     "repositories": [
          {"type": "composer", "url":"https://afterlogic.com/composer/"}
    ],
     "require": {
          "afterlogic/aurora-framework": "0.9.x",
          "afterlogic/aurora-dev-tools": "0.9.x",
...     
          "afterlogic/aurora-module-mail-auth-cpanel": "0.9.x",
          "afterlogic/aurora-module-mail-change-password-cpanel-plugin": "0.9.x",
          "afterlogic/aurora-module-mail-hidden-recipient-plugin": "0.9.x"
     }
}


Then ran php composer.phar update and the module was installed just fine.

I'd suspect the issue is somehow related to inability to access git repository, which is something that should be looked into before going any further.

--
Regards,
Igor, Afterlogic Support




now doing a fresh installation, now on step 3 command:
npm install ./modules/CoreWebclient



D:\xampp\htdocs\mailbox\webmail-lite-8-latest>php composer.phar install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
- Installing composer/installers (v1.6.0): Loading from cache
- Installing wikimedia/composer-merge-plugin (v1.4.1): Loading from cache
- Installing oomphinc/composer-installers-extender (v1.1.2): Loading from cache
Writing lock file
Generating autoload files
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 66 installs, 0 updates, 0 removals
- Installing tightenco/collect (v5.5.32): Loading from cache
- Installing guzzlehttp/promises (v1.3.1): Loading from cache
- Installing psr/http-message (1.0.1): Loading from cache
- Installing guzzlehttp/psr7 (1.4.2): Loading from cache
- Installing guzzlehttp/guzzle (6.3.3): Loading from cache
- Installing kunalvarma05/dropbox-php-sdk (v0.2.1): Loading from cache
- Installing symfony/polyfill-ctype (v1.10.0): Loading from cache
- Installing symfony/filesystem (v2.8.48): Loading from cache
- Installing pear/pear_exception (v1.0.0): Loading from cache
- Installing pear/net_idna2 (v0.2.0): Loading from cache
- Installing afterlogic/mailso (1.5.17): Cloning 48ccc867b9 from cache
- Installing phpixie/slice (3.2.3): Loading from cache
- Installing phpixie/filesystem (3.2.2): Loading from cache
- Installing psr/simple-cache (0.3.0): Loading from cache
- Installing psr/cache (1.0.1): Loading from cache
- Installing phpixie/cache (3.2.1): Loading from cache
- Installing intervention/image (2.4.2): Loading from cache
- Installing afterlogic/aurora-framework (0.9.25): Cloning tags/0.9.25 from cache
- Installing afterlogic/aurora-module-dropbox (0.9.0): Cloning tags/0.9.0 from cache
- Installing afterlogic/aurora-module-webclient-dropbox-auth (0.9.0): Cloning tags/0.9.0 from cache
- Installing afterlogic/aurora-module-webclient-facebook-auth (0.9.0): Cloning tags/0.9.0 from cache
- Installing google/apiclient (1.1.7): Loading from cache
- Installing afterlogic/aurora-module-google (0.9.0): Cloning tags/0.9.0 from cache
- Installing afterlogic/aurora-module-webclient-google-auth (0.9.0): Cloning tags/0.9.0 from cache
- Installing afterlogic/aurora-module-webclient-mail-sensitivity-plugin (0.9.0): Cloning tags/0.9.0 from cache
- Installing afterlogic/aurora-module-min (0.9.0): Cloning tags/0.9.0 from cache
- Installing afterlogic/aurora-module-webclient-session-timeout (0.9.0): Cloning tags/0.9.0 from cache
- Installing afterlogic/aurora-module-webclient-standard-register-form (0.9.0): Cloning tags/0.9.0 from cache
- Installing afterlogic/aurora-module-eav-object-viewer (0.9.0): Cloning tags/0.9.0 from cache
- Installing afterlogic/aurora-module-mail-change-password-poppassd-plugin (0.9.0): Cloning tags/0.9.0 from cache
- Installing afterlogic/aurora-module-webclient-mail-zip-plugin (0.9.0): Cloning tags/0.9.0 from cache
- Installing afterlogic/aurora-module-mail-save-message-as-pdf-plugin (0.9.0): Cloning tags/0.9.0 from cache
- Installing tijsverkoyen/css-to-inline-styles (1.3.0): Loading from cache
- Installing psr/log (1.1.0): Loading from cache
- Installing symfony/process (v4.1.8): Loading from cache
- Installing knplabs/knp-snappy (v1.0.4): Loading from cache
- Installing afterlogic/aurora-module-mail (0.9.19): Cloning tags/0.9.19 from cache
- Installing afterlogic/aurora-module-mail-change-password-cpanel-plugin (0.9.0): Cloning tags/0.9.0 from cache
- Installing afterlogic/aurora-module-facebook (0.9.1): Cloning tags/0.9.1 from cache
- Installing squizlabs/php_codesniffer (2.9.2): Loading from cache
- Installing wimg/php-compatibility (9.0.0): Loading from cache
- Installing afterlogic/aurora-dev-tools (0.9.5): Cloning tags/0.9.5 from cache
- Installing afterlogic/aurora-module-admin-auth (0.9.2): Cloning tags/0.9.2 from cache
- Installing afterlogic/aurora-module-webclient-adminpanel (0.9.11): Cloning tags/0.9.11 from cache
- Installing afterlogic/aurora-module-webclient-logs-viewer (0.9.3): Cloning tags/0.9.3 from cache
- Installing sabre/uri (1.2.1): Loading from cache
- Installing sabre/event (3.0.0): Loading from cache
- Installing sabre/http (v4.2.4): Loading from cache
- Installing sabre/xml (1.5.0): Loading from cache
- Installing sabre/vobject (4.1.6): Loading from cache
- Installing sabre/dav (3.2.3): Loading from cache
- Installing afterlogic/aurora-module-contacts (0.9.9): Cloning tags/0.9.9 from cache
- Installing afterlogic/aurora-module-webclient-contacts (0.9.11): Cloning tags/0.9.11 from cache
- Installing afterlogic/aurora-module-personal-contacts (0.9.1): Cloning tags/0.9.1 from cache
- Installing afterlogic/aurora-module-core (0.9.19): Cloning tags/0.9.19 from cache
- Installing afterlogic/aurora-module-webclient-core (0.9.17): Cloning tags/0.9.17 from cache
- Installing afterlogic/aurora-module-webclient-oauth-integrator (0.9.3): Cloning tags/0.9.3 from cache
- Installing afterlogic/aurora-module-webclient-mail (0.9.19): Cloning tags/0.9.19 from cache
- Installing afterlogic/aurora-module-webclient-change-password (0.9.4): Cloning tags/0.9.4 from cache
- Installing afterlogic/aurora-module-mail-notes-plugin (0.9.3): Cloning tags/0.9.3 from cache
- Installing afterlogic/aurora-module-webclient-openpgp (0.9.1): Cloning tags/0.9.1 from cache
- Installing afterlogic/aurora-module-webclient-settings (0.9.3): Cloning tags/0.9.3 from cache
- Installing afterlogic/aurora-module-webclient-standard-login-form (0.9.1): Cloning tags/0.9.1 from cache
- Installing afterlogic/aurora-module-office-document-viewer (0.9.1): Cloning tags/0.9.1 from cache
- Installing afterlogic/aurora-module-webclient-mail-tnef-plugin (0.9.1): Cloning tags/0.9.1 from cache
- Installing afterlogic/aurora-module-mail-auth-cpanel (0.9.2): Cloning tags/0.9.2 from cache
tightenco/collect suggests installing symfony/var-dumper (Required to prettify dd() and dump() (~3.3).)
phpixie/cache suggests installing ext-memcached (Required for memcached support)
phpixie/cache suggests installing predis/predis (Required for redis support)
intervention/image suggests installing ext-imagick (to use Imagick based image processing.)
intervention/image suggests installing intervention/imagecache (Caching extension for the Intervention Image library)
knplabs/knp-snappy suggests installing h4cc/wkhtmltopdf-amd64 (Provides wkhtmltopdf-amd64 binary for Linux-compatible machines, use version `~0.12` as dependency)
knplabs/knp-snappy suggests installing h4cc/wkhtmltopdf-i386 (Provides wkhtmltopdf-i386 binary for Linux-compatible machines, use version `~0.12` as dependency)
knplabs/knp-snappy suggests installing h4cc/wkhtmltoimage-amd64 (Provides wkhtmltoimage-amd64 binary for Linux-compatible machines, use version `~0.12` as dependency)
knplabs/knp-snappy suggests installing h4cc/wkhtmltoimage-i386 (Provides wkhtmltoimage-i386 binary for Linux-compatible machines, use version `~0.12` as dependency)
knplabs/knp-snappy suggests installing wemersonjanuario/wkhtmltopdf-windows (Provides wkhtmltopdf executable for Windows, use version `~0.12` as dependency)
wimg/php-compatibility suggests installing dealerdirect/phpcodesniffer-composer-installer (^0.4.3 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.)
wimg/php-compatibility suggests installing roave/security-advisories (dev-master || Helps prevent installing dependencies with known security issues.)
sabre/vobject suggests installing hoa/bench (If you would like to run the benchmark scripts)
Writing lock file
Generating autoload files
> [ -d data ] || mkdir data
'[' is not recognized as an internal or external command,
operable program or batch file.
> Aurora\Installer::preConfigSafe
PHP Fatal error: Uncaught Error: Cannot call abstract method Aurora\System\Module\AbstractModule::init() in D:\xampp\htdocs\mailbox\webmail-lite-8-latest\modules\Min\Module.php:29
Stack trace:
#0 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Module\AbstractModule.php(206): Aurora\Modules\Min\Module->init()
#1 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Module\Manager.php(252): Aurora\System\Module\AbstractModule->initialize()
#2 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Module\Manager.php(492): Aurora\System\Module\Manager->loadModule('Min')
#3 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Module\Manager.php(96): Aurora\System\Module\Manager->GetModule('Min')
#4 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Api.php(200): Aurora\System\Module\Manager->init()
#5 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Installer.php(98): Aurora\System\Api::Init()
#6 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Installer.php(69): Aurora\Installer::preConfig(Object(Composer\Script\Event in D:\xampp\htdocs\mailbox\webmail-lite-8-latest\modules\Min\Module.php on line 29

Fatal error: Uncaught Error: Cannot call abstract method Aurora\System\Module\AbstractModule::init() in D:\xampp\htdocs\mailbox\webmail-lite-8-latest\modules\Min\Module.php:29
Stack trace:
#0 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Module\AbstractModule.php(206): Aurora\Modules\Min\Module->init()
#1 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Module\Manager.php(252): Aurora\System\Module\AbstractModule->initialize()
#2 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Module\Manager.php(492): Aurora\System\Module\Manager->loadModule('Min')
#3 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Module\Manager.php(96): Aurora\System\Module\Manager->GetModule('Min')
#4 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Api.php(200): Aurora\System\Module\Manager->init()
#5 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Installer.php(98): Aurora\System\Api::Init()
#6 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Installer.php(69): Aurora\Installer::preConfig(Object(Composer\Script\Event in D:\xampp\htdocs\mailbox\webmail-lite-8-latest\modules\Min\Module.php on line 29

D:\xampp\htdocs\mailbox\webmail-lite-8-latest>php composer.phar run pre-config
> [ -d data ] || mkdir data
'[' is not recognized as an internal or external command,
operable program or batch file.
A subdirectory or file data already exists.
Script [ -d data ] || mkdir data handling the pre-config event returned with error code 1

D:\xampp\htdocs\mailbox\webmail-lite-8-latest>npm install ./modules/CoreWebclient
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated cryptiles@2.0.5: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated boom@2.10.1: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated boom@4.3.1: This version is no longer maintained. Please upgrade to the latest version.
npm WARN deprecated circular-json@0.3.1: CircularJSON is in maintenance only, flatted is its successor.
npm WARN saveError ENOENT: no such file or directory, open 'D:\xampp\htdocs\mailbox\webmail-lite-8-latest\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'D:\xampp\htdocs\mailbox\webmail-lite-8-latest\package.json'
npm WARN webmail-lite-8-latest No description
npm WARN webmail-lite-8-latest No repository field.
npm WARN webmail-lite-8-latest No README data
npm WARN webmail-lite-8-latest No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ corewebclient@8.0.0
added 796 packages from 601 contributors and audited 5232 packages in 184.956s
found 15 vulnerabilities (1 low, 8 moderate, 6 high)
run `npm audit fix` to fix them, or `npm audit` for details

D:\xampp\htdocs\mailbox\webmail-lite-8-latest>npm install ./modules/CoreWebclient
Terminate batch job (Y/N)? y

D:\xampp\htdocs\mailbox\webmail-lite-8-latest>



Back to Top View iyirfanyounus's Profile Search for other posts by iyirfanyounus
 
iyirfanyounus
Newbie
Newbie


Joined: 27 November 2018
Online Status: Offline
Posts: 7
Posted: 27 November 2018 at 6:03am | IP Logged Quote iyirfanyounus

added that specific portion to module.json as
"afterlogic/aurora-module-mail-hidden-recipient-plugin": "0.9.x"

then:

D:\xampp\htdocs\mailbox\webmail-lite-8-latest>php composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing afterlogic/aurora-module-mail-hidden-recipient-plugin (0.9.0): Cloning tags/0.9.0 from cache
Writing lock file
Generating autoload files
> [ -d data ] || mkdir data
'[' is not recognized as an internal or external command,
operable program or batch file.
A subdirectory or file data already exists.
Script [ -d data ] || mkdir data handling the pre-config event returned with error code 1
Script @pre-config was called via post-update-cmd

D:\xampp\htdocs\mailbox\webmail-lite-8-latest>


now when i open this in browser it says:

Fatal error: Uncaught Error: Cannot call abstract method Aurora\System\Module\AbstractModule::init() in D:\xampp\htdocs\mailbox\webmail-lite-8-latest\modules\Min\Module.php:29 Stack trace: #0 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Module\AbstractModule.php(206): Aurora\Modules\Min\Module->init() #1 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Module\Manager.php(252): Aurora\System\Module\AbstractModule->initialize() #2 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Module\Manager.php(492): Aurora\System\Module\Manager->loadModule('Min') #3 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Module\Manager.php(96): Aurora\System\Module\Manager->GetModule('Min') #4 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Api.php(200): Aurora\System\Module\Manager->init() #5 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\system\Application.php(76): Aurora\System\Api::Init() #6 D:\xampp\htdocs\mailbox\webmail-lite-8-latest\index.php(21): Aurora\System\Application::Start() #7 {main} thrown in D:\xampp\htdocs\mailbox\webmail-lite-8-latest\modules\Min\Module.php on line 29
Back to Top View iyirfanyounus's Profile Search for other posts by iyirfanyounus
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6103
Posted: 27 November 2018 at 6:14am | IP Logged Quote Igor

OK thanks, looks like one of the modules was missing a release tag. We've updated it, running the following commands should fetch and install an update:

Code:
php composer.phar update

php composer.phar run force-config


--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
iyirfanyounus
Newbie
Newbie


Joined: 27 November 2018
Online Status: Offline
Posts: 7
Posted: 27 November 2018 at 6:23am | IP Logged Quote iyirfanyounus

Igor wrote:
OK thanks, looks like one of the modules was missing a release tag. We've updated it, running the following commands should fetch and install an update:

Code:
php composer.phar update

php composer.phar run force-config


--
Regards,
Igor, Afterlogic Support


wow, its working now, one last thing, where can i put the email which will be served as hidden recipient.
Back to Top View iyirfanyounus's Profile Search for other posts by iyirfanyounus
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6103
Posted: 27 November 2018 at 6:25am | IP Logged Quote Igor

It's Bcc field in data/settings/modules/MailHiddenRecipientPlugin.config.json file.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide