Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose down cacti doesn't work anymore #52

Closed
eduardocalfaia opened this issue Oct 28, 2019 · 6 comments
Closed

docker-compose down cacti doesn't work anymore #52

eduardocalfaia opened this issue Oct 28, 2019 · 6 comments

Comments

@eduardocalfaia
Copy link

Hi
I've launched the docker-compose down and after up and the cacti has not worked anymore. Have you ever seen that issue?

Thanks

@scline
Copy link
Owner

scline commented Oct 28, 2019

Can you share any logs as to what errors might be seen? If you can share your compose file aswell I can try and reproduce your issues.

@eduardocalfaia
Copy link
Author

Hi,
Below the log that I've gotten when I did docker-compose down and up.
~/cacti-docker » docker-compose logs -f edualfaia@Eduardos-MacBook-Pro
Attaching to cacti-docker_cacti_1, cacti-docker_db_1
db_1 | Initializing database
db_1 | 2019-10-29T10:30:01.416385Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
db_1 | 2019-10-29T10:30:01.838676Z 0 [Warning] InnoDB: New log files created, LSN=45790
db_1 | 2019-10-29T10:30:01.892141Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
db_1 | 2019-10-29T10:30:01.991160Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 1095c805-fa37-11e9-811f-0242ac180002.
db_1 | 2019-10-29T10:30:01.997543Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
cacti_1 | 2019-10-29_11:30 [Note] Setting server timezone settings to 'Europe/Rome'
cacti_1 | 2019-10-29_11:30 [Note] Setting cacti file permissions.
cacti_1 | 2019-10-29_11:30 [Note] Starting crond service.
cacti_1 | 2019-10-29_11:30 [Note] Starting snmpd service.
cacti_1 | 2019-10-29_11:30 [Note] Starting httpd service.
db_1 | 2019-10-29T10:30:02.792764Z 0 [Warning] CA certificate ca.pem is self signed.
db_1 | 2019-10-29T10:30:02.866519Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
db_1 | 2019-10-29T10:30:03.416763Z 1 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:03.416888Z 1 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:03.416962Z 1 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:03.417120Z 1 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:03.417314Z 1 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | Database initialized
db_1 | MySQL init process in progress...
db_1 | 2019-10-29T10:30:05.627267Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
db_1 | 2019-10-29T10:30:05.628658Z 0 [Note] mysqld (mysqld 5.7.14-8) starting as process 108 ...
db_1 | 2019-10-29T10:30:05.632572Z 0 [Note] InnoDB: PUNCH HOLE support available
db_1 | 2019-10-29T10:30:05.632657Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db_1 | 2019-10-29T10:30:05.632693Z 0 [Note] InnoDB: Uses event mutexes
db_1 | 2019-10-29T10:30:05.632724Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
db_1 | 2019-10-29T10:30:05.632812Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
db_1 | 2019-10-29T10:30:05.632864Z 0 [Note] InnoDB: Using Linux native AIO
db_1 | 2019-10-29T10:30:05.633514Z 0 [Note] InnoDB: Number of pools: 1
db_1 | 2019-10-29T10:30:05.633959Z 0 [Note] InnoDB: Using CPU crc32 instructions
db_1 | 2019-10-29T10:30:05.637513Z 0 [Note] InnoDB: Initializing buffer pool, total size = 1G, instances = 8, chunk size = 128M
db_1 | 2019-10-29T10:30:05.843159Z 0 [Note] InnoDB: Completed initialization of buffer pool
db_1 | 2019-10-29T10:30:05.936144Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db_1 | 2019-10-29T10:30:05.948382Z 0 [Note] InnoDB: Crash recovery did not find the parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite
db_1 | 2019-10-29T10:30:05.950204Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
db_1 | 2019-10-29T10:30:06.056353Z 0 [Note] InnoDB: Created parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite, size 31457280 bytes
db_1 | 2019-10-29T10:30:06.078835Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1 | 2019-10-29T10:30:06.079018Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db_1 | 2019-10-29T10:30:06.128188Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db_1 | 2019-10-29T10:30:06.130286Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
db_1 | 2019-10-29T10:30:06.130382Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
db_1 | 2019-10-29T10:30:06.131084Z 0 [Note] InnoDB: Waiting for purge to start
db_1 | 2019-10-29T10:30:06.182174Z 0 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.7.14-8 started; log sequence number 2491156
db_1 | 2019-10-29T10:30:06.182800Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1 | 2019-10-29T10:30:06.183634Z 0 [Note] Plugin 'FEDERATED' is disabled.
db_1 | 2019-10-29T10:30:06.188600Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
db_1 | 2019-10-29T10:30:06.188708Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
db_1 | 2019-10-29T10:30:06.188836Z 0 [Note] InnoDB: Buffer pool(s) load completed at 191029 3:30:06
db_1 | 2019-10-29T10:30:06.189902Z 0 [Warning] CA certificate ca.pem is self signed.
db_1 | 2019-10-29T10:30:06.190173Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
db_1 | 2019-10-29T10:30:06.193455Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:06.193575Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:06.193643Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:06.193766Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:06.195408Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:06.202752Z 0 [Note] Event Scheduler: Loaded 0 events
db_1 | 2019-10-29T10:30:06.203437Z 0 [Note] mysqld: ready for connections.
db_1 | Version: '5.7.14-8' socket: '/var/run/mysqld/mysqld.sock' port: 0 Percona Server (GPL), Release '8', Revision '1f84ccd'
db_1 | Warning: Unable to load '/usr/share/zoneinfo/Factory' as time zone. Skipping it.
db_1 | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
db_1 | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
db_1 | Warning: Unable to load '/usr/share/zoneinfo/posix/Factory' as time zone. Skipping it.
db_1 | Warning: Unable to load '/usr/share/zoneinfo/right/Factory' as time zone. Skipping it.
db_1 | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
db_1 | 2019-10-29T10:30:09.096848Z 4 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:09.096948Z 4 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:09.097076Z 4 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 |
db_1 | 2019-10-29T10:30:09.099291Z 0 [Note] Giving 0 client threads a chance to die gracefully
db_1 | 2019-10-29T10:30:09.099342Z 0 [Note] Shutting down slave threads
db_1 | 2019-10-29T10:30:09.099354Z 0 [Note] Forcefully disconnecting 0 remaining clients
db_1 | 2019-10-29T10:30:09.099365Z 0 [Note] Event Scheduler: Purging the queue. 0 events
db_1 | 2019-10-29T10:30:09.099649Z 0 [Note] Binlog end
db_1 | 2019-10-29T10:30:09.100501Z 0 [Note] Shutting down plugin 'ngram'
db_1 | 2019-10-29T10:30:09.100649Z 0 [Note] Shutting down plugin 'ARCHIVE'
db_1 | 2019-10-29T10:30:09.100692Z 0 [Note] Shutting down plugin 'BLACKHOLE'
db_1 | 2019-10-29T10:30:09.100793Z 0 [Note] Shutting down plugin 'partition'
db_1 | 2019-10-29T10:30:09.100832Z 0 [Note] Shutting down plugin 'MEMORY'
db_1 | 2019-10-29T10:30:09.100871Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
db_1 | 2019-10-29T10:30:09.100917Z 0 [Note] Shutting down plugin 'INNODB_CHANGED_PAGES'
db_1 | 2019-10-29T10:30:09.100952Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
db_1 | 2019-10-29T10:30:09.101012Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
db_1 | 2019-10-29T10:30:09.101047Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
db_1 | 2019-10-29T10:30:09.101083Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
db_1 | 2019-10-29T10:30:09.101150Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
db_1 | 2019-10-29T10:30:09.101186Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
db_1 | 2019-10-29T10:30:09.101248Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
db_1 | 2019-10-29T10:30:09.101331Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
db_1 | 2019-10-29T10:30:09.101407Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
db_1 | 2019-10-29T10:30:09.101441Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
db_1 | 2019-10-29T10:30:09.101611Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
db_1 | 2019-10-29T10:30:09.101654Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
db_1 | 2019-10-29T10:30:09.101700Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
db_1 | 2019-10-29T10:30:09.101760Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
db_1 | 2019-10-29T10:30:09.101819Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
db_1 | 2019-10-29T10:30:09.101939Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
db_1 | 2019-10-29T10:30:09.102006Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
db_1 | 2019-10-29T10:30:09.102057Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
db_1 | 2019-10-29T10:30:09.102134Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
db_1 | 2019-10-29T10:30:09.102192Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
db_1 | 2019-10-29T10:30:09.102271Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
db_1 | 2019-10-29T10:30:09.102377Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
db_1 | 2019-10-29T10:30:09.102436Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
db_1 | 2019-10-29T10:30:09.102476Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
db_1 | 2019-10-29T10:30:09.102560Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
db_1 | 2019-10-29T10:30:09.102604Z 0 [Note] Shutting down plugin 'INNODB_CMP'
db_1 | 2019-10-29T10:30:09.102706Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
db_1 | 2019-10-29T10:30:09.102748Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
db_1 | 2019-10-29T10:30:09.102789Z 0 [Note] Shutting down plugin 'INNODB_TRX'
db_1 | 2019-10-29T10:30:09.102829Z 0 [Note] Shutting down plugin 'XTRADB_RSEG'
db_1 | 2019-10-29T10:30:09.102876Z 0 [Note] Shutting down plugin 'XTRADB_INTERNAL_HASH_TABLES'
db_1 | 2019-10-29T10:30:09.102917Z 0 [Note] Shutting down plugin 'XTRADB_READ_VIEW'
db_1 | 2019-10-29T10:30:09.102950Z 0 [Note] Shutting down plugin 'InnoDB'
db_1 | 2019-10-29T10:30:09.103520Z 0 [Note] InnoDB: FTS optimize thread exiting.
db_1 | 2019-10-29T10:30:09.107533Z 0 [Note] InnoDB: Starting shutdown...
db_1 | 2019-10-29T10:30:09.208330Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
db_1 | 2019-10-29T10:30:09.208861Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 191029 3:30:09
db_1 | 2019-10-29T10:30:10.774024Z 0 [Note] InnoDB: Shutdown completed; log sequence number 12096805
db_1 | 2019-10-29T10:30:10.777030Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
db_1 | 2019-10-29T10:30:10.777148Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
db_1 | 2019-10-29T10:30:10.777180Z 0 [Note] Shutting down plugin 'MyISAM'
db_1 | 2019-10-29T10:30:10.777226Z 0 [Note] Shutting down plugin 'CSV'
db_1 | 2019-10-29T10:30:10.777322Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
db_1 | 2019-10-29T10:30:10.777442Z 0 [Note] Shutting down plugin 'sha256_password'
db_1 | 2019-10-29T10:30:10.777573Z 0 [Note] Shutting down plugin 'mysql_native_password'
db_1 | 2019-10-29T10:30:10.777759Z 0 [Note] Shutting down plugin 'binlog'
db_1 | 2019-10-29T10:30:10.782577Z 0 [Note] mysqld: Shutdown complete
db_1 |
db_1 |
db_1 | MySQL init process done. Ready for start up.
db_1 |
db_1 | 2019-10-29T10:30:11.112399Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
db_1 | 2019-10-29T10:30:11.113697Z 0 [Note] mysqld (mysqld 5.7.14-8) starting as process 1 ...
db_1 | 2019-10-29T10:30:11.117017Z 0 [Note] InnoDB: PUNCH HOLE support available
db_1 | 2019-10-29T10:30:11.117074Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db_1 | 2019-10-29T10:30:11.117092Z 0 [Note] InnoDB: Uses event mutexes
db_1 | 2019-10-29T10:30:11.117113Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
db_1 | 2019-10-29T10:30:11.117127Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
db_1 | 2019-10-29T10:30:11.117135Z 0 [Note] InnoDB: Using Linux native AIO
db_1 | 2019-10-29T10:30:11.117393Z 0 [Note] InnoDB: Number of pools: 1
db_1 | 2019-10-29T10:30:11.118405Z 0 [Note] InnoDB: Using CPU crc32 instructions
db_1 | 2019-10-29T10:30:11.122629Z 0 [Note] InnoDB: Initializing buffer pool, total size = 1G, instances = 8, chunk size = 128M
db_1 | 2019-10-29T10:30:11.154530Z 0 [Note] InnoDB: Completed initialization of buffer pool
db_1 | 2019-10-29T10:30:11.167652Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db_1 | 2019-10-29T10:30:11.169327Z 0 [Note] InnoDB: Crash recovery did not find the parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite
db_1 | 2019-10-29T10:30:11.170268Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
db_1 | 2019-10-29T10:30:11.238742Z 0 [Note] InnoDB: Created parallel doublewrite buffer at /var/lib/mysql/xb_doublewrite, size 31457280 bytes
db_1 | 2019-10-29T10:30:11.257044Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1 | 2019-10-29T10:30:11.257125Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db_1 | 2019-10-29T10:30:11.293370Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db_1 | 2019-10-29T10:30:11.296408Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
db_1 | 2019-10-29T10:30:11.296519Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
db_1 | 2019-10-29T10:30:11.298335Z 0 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.7.14-8 started; log sequence number 12096805
db_1 | 2019-10-29T10:30:11.299864Z 0 [Note] Plugin 'FEDERATED' is disabled.
db_1 | 2019-10-29T10:30:11.300718Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1 | 2019-10-29T10:30:11.304062Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
db_1 | 2019-10-29T10:30:11.304148Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
db_1 | 2019-10-29T10:30:11.304479Z 0 [Note] InnoDB: Buffer pool(s) load completed at 191029 3:30:11
db_1 | 2019-10-29T10:30:11.305400Z 0 [Warning] CA certificate ca.pem is self signed.
db_1 | 2019-10-29T10:30:11.305517Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
db_1 | 2019-10-29T10:30:11.306691Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
db_1 | 2019-10-29T10:30:11.307187Z 0 [Note] IPv6 is available.
db_1 | 2019-10-29T10:30:11.307736Z 0 [Note] - '::' resolves to '::';
db_1 | 2019-10-29T10:30:11.308584Z 0 [Note] Server socket created on IP: '::'.
db_1 | 2019-10-29T10:30:11.311582Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:11.311628Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:11.314284Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1 | 2019-10-29T10:30:11.321389Z 0 [Note] Event Scheduler: Loaded 0 events
db_1 | 2019-10-29T10:30:11.321745Z 0 [Note] mysqld: ready for connections.
db_1 | Version: '5.7.14-8' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Percona Server (GPL), Release '8', Revision '1f84ccd'

My compose file
docker-compose.yml.txt

Thanks

@scline
Copy link
Owner

scline commented Oct 30, 2019

Ah thank you for your compose file, I believe I see the issue here.

docker-compose down - command will stop your containers, but it also removes the stopped containers as well as any networks that were created.

docker-compose stop - command will stop your containers, but it won’t remove them.

The issue here is related to the volume setting. On cacti we have set the entire /cacti on your local machine so rrd and cacti versions will persist. However MySQL is not using any volumes and essentially deleting the database on docker-compose down.

When you try to start a new instance the container will see the lock file we install within the /cacti directly and assume mysql/cacti does not need to be re-installed. It appears this error is due to a missing volume statement in my cacti_single_install.yml example.

On your machine (this would remove all historical data, unfortunately hosts and settings are stored in the database and would not be recoverable in this state).

  1. Remove old cacti files
    Delete the folder: /Users/edualfaia/docker/cacti

  2. Add a volume command in your db section

    volumes:
      - /Users/edualfaia/docker/mysql:/var/lib/mysql
  1. Then kick it off, the instance should persist. If you did take a backup you should be able to restore it at this time.

I will get those example files updated to include this - good catch!

@scline
Copy link
Owner

scline commented Oct 30, 2019

Looks like there is a bit more to the issue, still investigating why the webpage still does not open post those changes

[Wed Oct 30 18:53:27.618955 2019] [autoindex:error] [pid 30] [client 172.25.0.1:51692] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index forbidden by Options directive

@scline
Copy link
Owner

scline commented Oct 30, 2019

Ok 2 changes coming in this upcoming branch merge

  1. Always copy cacti.conf httpd configuration if it does not exist. On non-new installations where someone created a local volume for /cacti this file would not copy over and break the web-server on boot.

  2. Update docker-compose file examples to use volumes instead of storing data on the local host. These are not deleted by default on docker-compose down. The -v command would be required on a down statement to remove them.

@scline scline mentioned this issue Oct 30, 2019
@scline scline closed this as completed in 571d5f2 Oct 30, 2019
scline added a commit that referenced this issue Oct 30, 2019
@scline
Copy link
Owner

scline commented Oct 30, 2019

After adding the mysql volume (or using the non local volumes) please be sure to pull the latest version to obtain the start.sh changes required. Please let me know if you have any issues (^_^)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants