GithubHelp home page GithubHelp logo

docker-phpservermonitor's People

Contributors

quentinvarquet avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-phpservermonitor's Issues

Problem with building image (COPY docker-entrypoint.sh /usr/local/bin/)

Hi, unfortunately I get an error when building the image with the dockerfile. I always get this error and have no clue how to adress it. Help would be aprrechiated ;-)
Step 27/30 : COPY docker-entrypoint.sh /usr/local/bin/
COPY failed: file not found in build context or excluded by .dockerignore: stat docker-entrypoint.sh: file does not exist
Best
Ben

Option to change Update timer in webui?

Option to change Update timer in webui?
I would like to know if there is a way to change the update timer to say 10 seconds?
:( having hard time figuring it out.
Can this be done in the WEBui?

Not finding any cron jobs for this.

Cannot connect to database

Hello,

Can someone help me set it up in Docker? I cannot connect to database for some reason.

It stops here:

Setting Database Connection Defaults,
Waiting until database is ready...


This is my docker-compose:

`version: '3.8'
services:

phpservermonitor:
image: phpservermonitor/phpservermon:latest
container_name: phpservermonitor
restart: always
network_mode: bridge
environment:
- TIME_ZONE='Europe/London'
- PSM_REFRESH_RATE_SECONDS=15
- PSM_AUTO_CONFIGURE=false
- MYSQL_HOST=192.168.0.8:3338
- MYSQL_USER=username
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=dbname
- MYSQL_DATABASE_PREFIX=psm_
ports:
- 9446:80
volumes:
- /volume1/docker/PHP server monitor/:/sessions`

Any help appreciated. Thank you.

Unable to check ping in the monitor

When I try to add an IP address so that the monitor will sample the address and then I wait and the cube on the monitor remains green and does not update with details such as:

  • **Last online:
  • Last offline:
  • Last check:
  • Latency:**

From the SH container I do manage to ping the address I want, but not through the monitor.
Has anyone encountered this problem as well and managed to open it?

Docker file is out of date - v3.1.1 instead of 3.4.5

Please update the Docker image in this repository (currently version 3.1.1) to be in sync with the primary repo, which is at version 3.4.5. It would be great if the Docker images were always kept in sync with the primary repo. You could even have a "release" and "dev" branch Docker image so we can choose the appropriate image.
Thank you!

Docker file is missing option to set config.php location

I'm still learning Docker, but I think this Docker file really needs the ability to specify a location for the config.php on the Docker host. That way, when the phpservermonitor docker image gets updated, or if we reinstall it for some reason, we don't have to run through the install.php setup wizard every time. We can store the config.php file persistently on our host and your image will just read it from there.

This image has a "config" path for example:
https://hub.docker.com/r/linuxserver/mariadb/

Unable to establish database connection... in /var/www/html/src/bootstrap.php on line 92

When I install as described, I always get this error. Do I need to edit the Dockerfile as well, esp. the following lines?

User Environment Variables

ENV PSM_REFRESH_RATE_SECONDS 90
ENV PSM_AUTO_CONFIGURE true
ENV PSM_PHP_DEBUG false
ENV MYSQL_HOST database
ENV MYSQL_USER phpservermonitor
ENV MYSQL_PASSWORD YOUR_PASSWORD
ENV MYSQL_DATABASE phpservermonitor
ENV MYSQL_DATABASE_PREFIX psm_
or should it be enough to just follow the steps described in the Readme.md

Docker installation failed

Hi, I followed your instructions - first Information & Build, where I needed to change this line:
git clone https://github.com/phpservermon/phpservermonitor.git phpservermonitor to
git clone https://github.com/phpservermon/docker-phpservermonitor.git phpservermonitor
and then I chose Option 1 and editet the docker-config.yml only regarding the ports (new: ports:
- 8080:8199).
Unfortunately Portainer shows me this error message and I don't know what to do:

Fatal error: No dependencies found in vendor dir. Did you install the dependencies?
 Please run "php composer.phar install". in /var/www/html/src/bootstrap.php on line 73
Auto Configure / Create config.php
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.21.0.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.21.0.3. Set the 'ServerName' directive globally to suppress this message
[Fri May 01 07:51:32.695916 2020] [mpm_prefork:notice] [pid 11] AH00163: Apache/2.4.25 (Debian) PHP/7.2.30 configured -- resuming normal operations
[Fri May 01 07:51:32.696512 2020] [core:notice] [pid 11] AH00094: Command line: 'apache2 -D FOREGROUND'

Can anyone help?

Docker file is missing option to set php timezone

Fresh install using this docker command that was recommended in your readme file:
docker run --name phpservermonitor -p 80:80 -d quentinv/phpservermonitor:latest

On the install.php page, it gives a warning:
You should set a timezone in your php.ini file (e.g. 'date.timezone = UTC').

I think the correct solution to this is for your docker image to have an option for the user to specify the timezone while installing the docker image. This issue from a different project may be helpful:
https://github.com/TetraWeb/docker/issues/16

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.