Jump to content
Prophet731

Battlefield Admin Control Panel - BFACP

Prophet731

An updated version is in the works for PHP 7 compatibility. This version is designated as 3.0. There is no release time yet.

Message added by Prophet731

Recommended Posts

No it doesnt help and in logger plugin i have this:
http://prntscr.com/qmk2pn

What i should do with it to get correct timezone for the server?
Have AdKats post the chatlogs then. There is a setting somewhere for that.

Sent from my ONEPLUS A5010 using Tapatalk


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Share this post


Link to post
8 minutes ago, Prophet731 said:

Have AdKats post the chatlogs then. There is a setting somewhere for that.

Sent from my ONEPLUS A5010 using Tapatalk
 

What you meant? I dont understand.

Share this post


Link to post
17 minutes ago, Hodor said:

What you meant? I dont understand.

1a49a53534d904a5d02eb411197b094e.png


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Share this post


Link to post
Just now, Hodor said:

Doesnt work, time still incorrect

Do you have a link so I can see?


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Share this post


Link to post
Just now, Hodor said:

In database in what table i can change timezone?

There isn't a timezone setting you can change. All datetimes are stored as a UTC timestamp. It then converts in your browser to your local time. Unless you changed something else in the software which causes it not to post the correct timestamp.


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Share this post


Link to post

Another little teaser for everyone. Little improvement over the old ban creation for a player.

Image from Gyazo


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Share this post


Link to post

Hi All,

So @5YRU5 noticed that the email settings no longer worked in the current releases of the BFACP. I forgot I set it up a long time ago to use my mailgun account to send the emails for a less hassle way. I had rolled the key used for authentication for another reason and didn't remember that it was used here. Below is how to change it to use your email server.

If you're running any version below 2.1-dev then these are what you need to add to your env.php file. Look at the email settings section at the bottom of this script. Copy and paste that into your env.php file.

<?php

/**
 * Array of IP addresses that are allowed to see debug information. To add more separate each entry
 * by a comma and enclose in double or single quotes. Only IPv4 Addressed supported.
 * Default: 127.0.0.1 (localhost)
 *
 * @var array
 */
$allowedIps = ['127.0.0.1'];

if (isset($_SERVER['REMOTE_ADDR'])) {
    // Check for cloudflare use
    if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
        $ip = $_SERVER['HTTP_CF_CONNECTING_IP'];
    } else {
        $ip = $_SERVER['REMOTE_ADDR'];
    }

    if (in_array($ip, $allowedIps)) {
        $debug = true;
    } else {
        $debug = false;
    }
} else {
    $debug = false;
}

/**
 * If Memcached exists then use that instead for better performance.
 * Supported: "file", "database", "apc", "memcached", "redis", "array"
 */
if (class_exists('Memcached')) {
    $session_driver = 'memcached';
    $cache_driver = 'memcached';
} else {
    $session_driver = 'file';
    $cache_driver = 'file';
}

return [

    /**
     * Do not change these settings unless
     * you know what you're doing
     */
    'APP_ENV' => 'production',
    'APP_DEBUG' => $debug,
    'IP_WHITELIST' => implode('|', $allowedIps),
    'SESSION_DRIVER' => $session_driver,
    'CACHE_DRIVER' => $cache_driver,
    /**
     * Database Settings
     */
    'DB_HOST' => 'localhost',
    'DB_USER' => 'root',
    'DB_PASS' => '',
    'DB_NAME' => 'mydatabase',
    /**
     * Set your app key here
     */
    'APP_KEY' => 'YourSecretKey!!!',
    /**
     * Set pusher API keys to allow realtime functionality. You will need to create an account.
     *
     * See https://pusher.com/docs/javascript_quick_start
     */
    'PUSHER_APP_ID' => '',
    'PUSHER_APP_KEY' => '',
    'PUSHER_APP_SECRET' => '',

    /**
     * Email Settings
     */
    'MAIL_DRIVER' => 'smtp',
    'MAIL_HOST' => 'smtp.mailtrap.io',
    'MAIL_PORT' => 2525,
    'MAIL_USERNAME' => '',
    'MAIL_PASSWORD' => '',
    'MAIL_FROM_ADDRESS' => '',
    'MAIL_FROM_NAME' => '',
    'MAIL_ENCRYPTION' => 'tls,
];

If you are running version 2.1-dev or higher then you will just need to add these to the bottom of your .env file.

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME=null
MAIL_ENCRYPTION=tls

Also, you will need to update the following config file in app/config/mail.php. If you are running < 2.1-dev.

<?php

return [
    
    /*
   |--------------------------------------------------------------------------
   | Mail Driver
   |--------------------------------------------------------------------------
   |
   | Laravel supports both SMTP and PHP's "mail" function as drivers for the
   | sending of e-mail. You may specify which one you're using throughout
   | your application here. By default, Laravel is setup for SMTP mail.
   |
   | Supported: "smtp", "sendmail", "mailgun", "ses",
   |            "postmark", "log", "array"
   |
   */

    'driver' => getenv('MAIL_DRIVER', 'smtp'),

    /*
    |--------------------------------------------------------------------------
    | SMTP Host Address
    |--------------------------------------------------------------------------
    |
    | Here you may provide the host address of the SMTP server used by your
    | applications. A default option is provided that is compatible with
    | the Mailgun mail service which will provide reliable deliveries.
    |
    */

    'host' => getenv('MAIL_HOST', 'smtp.mailgun.org'),

    /*
    |--------------------------------------------------------------------------
    | SMTP Host Port
    |--------------------------------------------------------------------------
    |
    | This is the SMTP port used by your application to deliver e-mails to
    | users of the application. Like the host we have set this value to
    | stay compatible with the Mailgun e-mail application by default.
    |
    */

    'port' => getenv('MAIL_PORT', 587),

    /*
    |--------------------------------------------------------------------------
    | Global "From" Address
    |--------------------------------------------------------------------------
    |
    | You may wish for all e-mails sent by your application to be sent from
    | the same address. Here, you may specify a name and address that is
    | used globally for all e-mails that are sent by your application.
    |
    */

    'from' => [
        'address' => getenv('MAIL_FROM_ADDRESS', '[email protected]'),
        'name' => getenv('MAIL_FROM_NAME', 'Example'),
    ],

    /*
    |--------------------------------------------------------------------------
    | E-Mail Encryption Protocol
    |--------------------------------------------------------------------------
    |
    | Here you may specify the encryption protocol that should be used when
    | the application send e-mail messages. A sensible default using the
    | transport layer security protocol should provide great security.
    |
    */

    'encryption' => getenv('MAIL_ENCRYPTION', 'tls'),

    /*
    |--------------------------------------------------------------------------
    | SMTP Server Username
    |--------------------------------------------------------------------------
    |
    | If your SMTP server requires a username for authentication, you should
    | set it here. This will get used to authenticate with your server on
    | connection. You may also set the "password" value below this one.
    |
    */

    'username' => getenv('MAIL_USERNAME'),

    'password' => getenv('MAIL_PASSWORD'),

    /*
    |--------------------------------------------------------------------------
    | Sendmail System Path
    |--------------------------------------------------------------------------
    |
    | When using the "sendmail" driver to send e-mails, we will need to know
    | the path to where Sendmail lives on this server. A default path has
    | been provided here, which will work well on most of your systems.
    |
    */

    'sendmail' => '/usr/sbin/sendmail -bs',

    /*
    |--------------------------------------------------------------------------
    | Mail "Pretend"
    |--------------------------------------------------------------------------
    |
    | When this option is enabled, e-mail will not actually be sent over the
    | web and will instead be written to your application's logs files so
    | you may inspect the message. This is great for local development.
    |
    */

    'pretend' => false,

];

 


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Share this post


Link to post
1 hour ago, Prophet731 said:

Hi All,

So @5YRU5 noticed that the email settings no longer worked in the current releases of the BFACP. I forgot I set it up a long time ago to use my mailgun account to send the emails for a less hassle way. I had rolled the key used for authentication for another reason and didn't remember that it was used here. Below is how to change it to use your email server.

If you're running any version below 2.1-dev then these are what you need to add to your env.php file. Look at the email settings section at the bottom of this script. Copy and paste that into your env.php file.

<?php

/**
 * Array of IP addresses that are allowed to see debug information. To add more separate each entry
 * by a comma and enclose in double or single quotes. Only IPv4 Addressed supported.
 * Default: 127.0.0.1 (localhost)
 *
 * @var array
 */
$allowedIps = ['127.0.0.1'];

if (isset($_SERVER['REMOTE_ADDR'])) {
    // Check for cloudflare use
    if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
        $ip = $_SERVER['HTTP_CF_CONNECTING_IP'];
    } else {
        $ip = $_SERVER['REMOTE_ADDR'];
    }

    if (in_array($ip, $allowedIps)) {
        $debug = true;
    } else {
        $debug = false;
    }
} else {
    $debug = false;
}

/**
 * If Memcached exists then use that instead for better performance.
 * Supported: "file", "database", "apc", "memcached", "redis", "array"
 */
if (class_exists('Memcached')) {
    $session_driver = 'memcached';
    $cache_driver = 'memcached';
} else {
    $session_driver = 'file';
    $cache_driver = 'file';
}

return [

    /**
     * Do not change these settings unless
     * you know what you're doing
     */
    'APP_ENV' => 'production',
    'APP_DEBUG' => $debug,
    'IP_WHITELIST' => implode('|', $allowedIps),
    'SESSION_DRIVER' => $session_driver,
    'CACHE_DRIVER' => $cache_driver,
    /**
     * Database Settings
     */
    'DB_HOST' => 'localhost',
    'DB_USER' => 'root',
    'DB_PASS' => '',
    'DB_NAME' => 'mydatabase',
    /**
     * Set your app key here
     */
    'APP_KEY' => 'YourSecretKey!!!',
    /**
     * Set pusher API keys to allow realtime functionality. You will need to create an account.
     *
     * See https://pusher.com/docs/javascript_quick_start
     */
    'PUSHER_APP_ID' => '',
    'PUSHER_APP_KEY' => '',
    'PUSHER_APP_SECRET' => '',

    /**
     * Email Settings
     */
    'MAIL_DRIVER' => 'smtp',
    'MAIL_HOST' => 'smtp.mailtrap.io',
    'MAIL_PORT' => 2525,
    'MAIL_USERNAME' => '',
    'MAIL_PASSWORD' => '',
    'MAIL_FROM_ADDRESS' => '',
    'MAIL_FROM_NAME' => '',
    'MAIL_ENCRYPTION' => 'tls,
];

If you are running version 2.1-dev or higher then you will just need to add these to the bottom of your .env file.

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME=null
MAIL_ENCRYPTION=tls

Also, you will need to update the following config file in app/config/mail.php. If you are running < 2.1-dev.

<?php

return [
    
    /*
   |--------------------------------------------------------------------------
   | Mail Driver
   |--------------------------------------------------------------------------
   |
   | Laravel supports both SMTP and PHP's "mail" function as drivers for the
   | sending of e-mail. You may specify which one you're using throughout
   | your application here. By default, Laravel is setup for SMTP mail.
   |
   | Supported: "smtp", "sendmail", "mailgun", "ses",
   |            "postmark", "log", "array"
   |
   */

    'driver' => getenv('MAIL_DRIVER', 'smtp'),

    /*
    |--------------------------------------------------------------------------
    | SMTP Host Address
    |--------------------------------------------------------------------------
    |
    | Here you may provide the host address of the SMTP server used by your
    | applications. A default option is provided that is compatible with
    | the Mailgun mail service which will provide reliable deliveries.
    |
    */

    'host' => getenv('MAIL_HOST', 'smtp.mailgun.org'),

    /*
    |--------------------------------------------------------------------------
    | SMTP Host Port
    |--------------------------------------------------------------------------
    |
    | This is the SMTP port used by your application to deliver e-mails to
    | users of the application. Like the host we have set this value to
    | stay compatible with the Mailgun e-mail application by default.
    |
    */

    'port' => getenv('MAIL_PORT', 587),

    /*
    |--------------------------------------------------------------------------
    | Global "From" Address
    |--------------------------------------------------------------------------
    |
    | You may wish for all e-mails sent by your application to be sent from
    | the same address. Here, you may specify a name and address that is
    | used globally for all e-mails that are sent by your application.
    |
    */

    'from' => [
        'address' => getenv('MAIL_FROM_ADDRESS', '[email protected]'),
        'name' => getenv('MAIL_FROM_NAME', 'Example'),
    ],

    /*
    |--------------------------------------------------------------------------
    | E-Mail Encryption Protocol
    |--------------------------------------------------------------------------
    |
    | Here you may specify the encryption protocol that should be used when
    | the application send e-mail messages. A sensible default using the
    | transport layer security protocol should provide great security.
    |
    */

    'encryption' => getenv('MAIL_ENCRYPTION', 'tls'),

    /*
    |--------------------------------------------------------------------------
    | SMTP Server Username
    |--------------------------------------------------------------------------
    |
    | If your SMTP server requires a username for authentication, you should
    | set it here. This will get used to authenticate with your server on
    | connection. You may also set the "password" value below this one.
    |
    */

    'username' => getenv('MAIL_USERNAME'),

    'password' => getenv('MAIL_PASSWORD'),

    /*
    |--------------------------------------------------------------------------
    | Sendmail System Path
    |--------------------------------------------------------------------------
    |
    | When using the "sendmail" driver to send e-mails, we will need to know
    | the path to where Sendmail lives on this server. A default path has
    | been provided here, which will work well on most of your systems.
    |
    */

    'sendmail' => '/usr/sbin/sendmail -bs',

    /*
    |--------------------------------------------------------------------------
    | Mail "Pretend"
    |--------------------------------------------------------------------------
    |
    | When this option is enabled, e-mail will not actually be sent over the
    | web and will instead be written to your application's logs files so
    | you may inspect the message. This is great for local development.
    |
    */

    'pretend' => false,

];

 

 

I made the change, but the following error occurs:

Fatal System Error!
Driver [smtp,] not supported.

****************************


MAIL_DRIVER=smtp,
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
[email protected],
MAIL_PASSWORD=XXXX,
MAIL_ENCRYPTION=tls

Do i need to install anything?
 

Share this post


Link to post
15 minutes ago, BruceLeeSoldier said:
 
I made the change, but the following error occurs:
Fatal System Error!
Driver [smtp,] not supported.
****************************

MAIL_DRIVER=smtp,
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
[email protected],
MAIL_PASSWORD=XXXX,
MAIL_ENCRYPTION=tls
Do i need to install anything?
 

Remove the comma by the smtp. also from the username and password field. You don't need those.

Sent from my ONEPLUS A5010 using Tapatalk
 


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Share this post


Link to post
20 minutes ago, Prophet731 said:

Remove the comma by the smtp. also from the username and password field. You don't need those.

Sent from my ONEPLUS A5010 using Tapatalk
 

"Remove the comma by the smtp. also from the username and password field. You don't need those." OK

and I  needed to enable sending e-mail from gmail to external applications. :D

Solved, thank you.



 

Edited by BruceLeeSoldier

Share this post


Link to post
9 hours ago, Hodor said:

How much longer to wait? I can not wait 🥴

It'll be announced when it's close to a release state. I'll have a alpha version for those to try it out before declaring a full release.


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Share this post


Link to post

Howdy,

Currently running Stats webpage provided by Ty_ger07  on my NAS (very simple).

Having a hell of time trying to get this to running on Google Cloud.  
https://ozy-bfs-stats.appspot.com/

So decided to give BFACP another go.  
-1st on Google Cloud  (have no idea what I am doing)
-2nd on my Nas (having trouble getting compose working propery on my synology NAS)
-3rd Found a docker image for version 2.0.2  [https://registry.hub.docker.com/r/jeremejevs/bfacp/] (this works, but cant create new users because of the email setting mailgun and can't change the email settings)

Just wondering if you could modify the current stable version so it  didn't use mailgun or provide a docker version of 2.1dev

Share this post


Link to post
1 hour ago, Skepmeister said:

Howdy,

Currently running Stats webpage provided by Ty_ger07  on my NAS (very simple).

Having a hell of time trying to get this to running on Google Cloud.  
https://ozy-bfs-stats.appspot.com/

So decided to give BFACP another go.  
-1st on Google Cloud  (have no idea what I am doing)
-2nd on my Nas (having trouble getting compose working propery on my synology NAS)
-3rd Found a docker image for version 2.0.2  [https://registry.hub.docker.com/r/jeremejevs/bfacp/] (this works, but cant create new users because of the email setting mailgun and can't change the email settings)

Just wondering if you could modify the current stable version so it  didn't use mailgun or provide a docker version of 2.1dev

1. Fork the BFACP repo

2. modify the repo - make a pull request

3. Fork the repo of the docker image https://github.com/jeremejevs/bfacp

4. modify the docker image to use the updated repo

5. profit...

 

Alternative:

Use third party hosting or manually set up a webserver with a PHP version >= 7.2 ....

Edited by Hedius

Share this post


Link to post
2 hours ago, Skepmeister said:

Howdy,

Currently running Stats webpage provided by Ty_ger07  on my NAS (very simple).

Having a hell of time trying to get this to running on Google Cloud.  
https://ozy-bfs-stats.appspot.com/

So decided to give BFACP another go.  
-1st on Google Cloud  (have no idea what I am doing)
-2nd on my Nas (having trouble getting compose working propery on my synology NAS)
-3rd Found a docker image for version 2.0.2  [https://registry.hub.docker.com/r/jeremejevs/bfacp/] (this works, but cant create new users because of the email setting mailgun and can't change the email settings)

Just wondering if you could modify the current stable version so it  didn't use mailgun or provide a docker version of 2.1dev

So, strange question. Have you tried just downloading the file from here? It contains all the files needed for those that can't get composer to work (due to shared hosting limitations). 

 


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Share this post


Link to post
1 hour ago, Hedius said:

1. Fork the BFACP repo

2. modify the repo - make a pull request

3. Fork the repo of the docker image https://github.com/jeremejevs/bfacp

4. modify the docker image to use the updated repo

5. profit...

 

Alternative:

Use third party hosting or manually set up a webserver with a PHP version >= 7.2 ....

@Skepmeister You can also try that. Just remember it doesn't support PHP 7 natively without modifications to the packages which I haven't tested. Plus it's kinda out of date from the current framework version.


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Share this post


Link to post

 

2 hours ago, Hedius said:

1. Fork the BFACP repo

2. modify the repo - make a pull request

3. Fork the repo of the docker image https://github.com/jeremejevs/bfacp

4. modify the docker image to use the updated repo

5. profit...

 

Alternative:

Use third party hosting or manually set up a webserver with a PHP version >= 7.2 ....

Hi,

I have modified the repo and modified the docker image.

First time using both :) 

I have the following error in the docker build logs,

 

 

 

Cloning into '.'...
 
Warning: Permanently added the RSA host key for IP address '140.82.113.4' to the list of known hosts.
 
Reset branch 'master'
 
Your branch is up-to-date with 'origin/master'.
 
KernelVersion: 4.4.0-1060-aws
Components: [{u'Version': u'18.03.1-ee-3', u'Name': u'Engine', u'Details': {u'KernelVersion': u'4.4.0-1060-aws', u'Os': u'linux', u'BuildTime': u'2018-08-30T18:42:30.000000000+00:00', u'ApiVersion': u'1.37', u'MinAPIVersion': u'1.12', u'GitCommit': u'b9a5c95', u'Arch': u'amd64', u'Experimental': u'false', u'GoVersion': u'go1.10.2'}}]
Arch: amd64
BuildTime: 2018-08-30T18:42:30.000000000+00:00
ApiVersion: 1.37
Platform: {u'Name': u''}
Version: 18.03.1-ee-3
MinAPIVersion: 1.12
GitCommit: b9a5c95
Os: linux
GoVersion: go1.10.2
Starting build of index.docker.io/skepmeister/bfacp-1:latest...
Step 1/10 : FROM alpine:edge
 
 
---> 607e613a0a25
 
Step 2/10 : RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk update && apk add nginx php5-fpm php5-mcrypt php5-openssl php5-pdo php5-pcntl php5-curl php5-posix php5-pdo_mysql php5-ctype composer
 
 
---> Running in 393ff9956af1
 
 
 
 
v20200117-168-g27191e3416 [http://dl-cdn.alpinelinux.org/alpine/edge/main]
v20200117-168-g27191e3416 [http://dl-cdn.alpinelinux.org/alpine/edge/community]
v20200117-170-g28cf8e68ce [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
OK: 15536 distinct packages available
 
php5-ctype (missing):
 
[91mERROR: unsatisfiable constraints:
[0m
required by: world[php5-ctype]
php5-curl (missing):
required by: world[php5-curl]
php5-fpm (missing):
required by: world[php5-fpm]
php5-mcrypt (missing):
required by: world[php5-mcrypt]
php5-openssl (missing):
required by: world[php5-openssl]
php5-pcntl (missing):
required by: world[php5-pcntl]
php5-pdo (missing):
required by: world[php5-pdo]
php5-pdo_mysql (missing):
required by: world[php5-pdo_mysql]
php5-posix (missing):
required by: world[php5-posix]
 
Removing intermediate container 393ff9956af1
 
The command '/bin/sh -c echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk update && apk add nginx php5-fpm php5-mcrypt php5-openssl php5-pdo php5-pcntl php5-curl php5-posix php5-pdo_mysql php5-ctype composer' returned a non-zero code: 9

Share this post


Link to post
2 hours ago, Skepmeister said:

 

Hi,

I have modified the repo and modified the docker image.

First time using both :) 

I have the following error in the docker build logs,

 

 

 

Cloning into '.'...
 
Warning: Permanently added the RSA host key for IP address '140.82.113.4' to the list of known hosts.
 
Reset branch 'master'
 
Your branch is up-to-date with 'origin/master'.
 
KernelVersion: 4.4.0-1060-aws
Components: [{u'Version': u'18.03.1-ee-3', u'Name': u'Engine', u'Details': {u'KernelVersion': u'4.4.0-1060-aws', u'Os': u'linux', u'BuildTime': u'2018-08-30T18:42:30.000000000+00:00', u'ApiVersion': u'1.37', u'MinAPIVersion': u'1.12', u'GitCommit': u'b9a5c95', u'Arch': u'amd64', u'Experimental': u'false', u'GoVersion': u'go1.10.2'}}]
Arch: amd64
BuildTime: 2018-08-30T18:42:30.000000000+00:00
ApiVersion: 1.37
Platform: {u'Name': u''}
Version: 18.03.1-ee-3
MinAPIVersion: 1.12
GitCommit: b9a5c95
Os: linux
GoVersion: go1.10.2
Starting build of index.docker.io/skepmeister/bfacp-1:latest...
Step 1/10 : FROM alpine:edge
 
 
---> 607e613a0a25
 
Step 2/10 : RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk update && apk add nginx php5-fpm php5-mcrypt php5-openssl php5-pdo php5-pcntl php5-curl php5-posix php5-pdo_mysql php5-ctype composer
 
 
---> Running in 393ff9956af1
 
 
 
 
v20200117-168-g27191e3416 [http://dl-cdn.alpinelinux.org/alpine/edge/main]
v20200117-168-g27191e3416 [http://dl-cdn.alpinelinux.org/alpine/edge/community]
v20200117-170-g28cf8e68ce [http://dl-cdn.alpinelinux.org/alpine/edge/testing]
OK: 15536 distinct packages available
 
php5-ctype (missing):
 
[91mERROR: unsatisfiable constraints:
[0m
required by: world[php5-ctype]
php5-curl (missing):
required by: world[php5-curl]
php5-fpm (missing):
required by: world[php5-fpm]
php5-mcrypt (missing):
required by: world[php5-mcrypt]
php5-openssl (missing):
required by: world[php5-openssl]
php5-pcntl (missing):
required by: world[php5-pcntl]
php5-pdo (missing):
required by: world[php5-pdo]
php5-pdo_mysql (missing):
required by: world[php5-pdo_mysql]
php5-posix (missing):
required by: world[php5-posix]
 
Removing intermediate container 393ff9956af1
 
The command '/bin/sh -c echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && apk update && apk add nginx php5-fpm php5-mcrypt php5-openssl php5-pdo php5-pcntl php5-curl php5-posix php5-pdo_mysql php5-ctype composer' returned a non-zero code: 9

Fixed that......had to get   FROM alpine:3.8.

Now having trouble with my fork.
says Could not find package skepmeister/bfacp with stability stable.

 

Step 4/10 : RUN composer create-project --prefer-dist --no-scripts --keep-vcs skepmeister/bfacp .
 
 
---> Running in debb2556b51f
 
[91m
[0m
[91m
[InvalidArgumentException]
Could not find package skepmeister/bfacp with stability stable.
 
 
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
 
[0m
Removing intermediate container debb2556b51f
 
The command '/bin/sh -c composer create-project --prefer-dist --no-scripts --keep-vcs skepmeister/bfacp .' returned a non-zero code: 1

Share this post


Link to post
8 minutes ago, Skepmeister said:

Fixed that......had to get   FROM alpine:3.8.

Now having trouble with my fork.
says Could not find package skepmeister/bfacp with stability stable.

 

Step 4/10 : RUN composer create-project --prefer-dist --no-scripts --keep-vcs skepmeister/bfacp .
 
 
---> Running in debb2556b51f
 
[91m
[0m
[91m
[InvalidArgumentException]
Could not find package skepmeister/bfacp with stability stable.
 
 
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]
 
[0m
Removing intermediate container debb2556b51f
 
The command '/bin/sh -c composer create-project --prefer-dist --no-scripts --keep-vcs skepmeister/bfacp .' returned a non-zero code: 1

Because no package exists called that. That's why it's failing.

 

git clone https://github.com/Skepmeister/BFACP.git . && composer install --no-dev && php artisan key:generate

Change your RUN command to that above and it should work. 🤞


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Our picks

    • Hi All,

      So I've been thinking about doing something like this for a while but I always talked myself out of it. I want to get some feedback on this idea and how many would think about using it if it was offered.

      In the past I know how hard it was for some users to get a MySQL database going and running the BFACP (since it's a bit requirement heavy in some cases). What I would be doing is offering to manage both of these for you.

      If enough interest was shown in something like this I would definitely think about doing it. Of course, I also know the risks I would be taking in something like this, but to list what I would be offering I guess is this.

      MySQL Hosting


      Daily backups of the database to a remote site & option to download it yourself.


      No limit on how big your database can be (within reason).




      BFACP Hosting (If running AdKats on your layers)


      This would run the newest version (v3.0)


      Will still be available to run on your own hardware


      Will have extra features that are not available for an open source setup (still need to think of good things )


      Able to use your own domain name with the proper DNS setup.




      Both Above



      Please let me know what you think of this idea and vote in the poll. Again not confirming anything like this will happen but if I get enough interest from the community for something like this then please let me know.

      Disclaimer: This will NOT be something affiliated with MyRCON but will be ran through it in terms of a payment processor.
      • 7 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.