Giter Club home page Giter Club logo

deployment's People

Contributors

mzylowski avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

stefopl mzylowski

deployment's Issues

Map is not working just after running freshly build of a VM

After running a fresh instance of VM build by packer map v3 is not working. After click on map in php error log I see many:

[Sat Jul 15 19:23:40.997640 2023] [php:notice] [pid 779] [client 192.168.56.1:49466] Division by zero, referer: http://local.opencaching.pl/MainMap/embeded

Exception is thrown from here: https://github.com/opencaching/okapi/blob/master/okapi/services/caches/map/TileTree.php#L307-L312

And due to some reasons is not correctly handled by code here:
https://github.com/opencaching/okapi/blob/master/okapi/services/caches/map/TileTree.php#L279-L284

This leads to errors on client side:
image

For 9.0-beta release I just started builded VM, changed all lat and lon that was == 0, left the VM for 1h and OKAPI finished building of tiles tree.
I don't think this is an option for next releases. We can:

  • deliver VM without OKAPI tiles tree generated (I believe this is what #9 will happen after anyway. Previous version of VM's also was delivered without those OKAPI data?)
  • improvements about OKAPI?
  • trigger somehow tiles tree rebuilding from ansible/packer run and deliver VM with already prepared tiles.

Problem with applying devel dump on fresh mysql db

@kojoty Did you tried apply dump generated by your script?
There is some problem with 'news' table:

Importing OC PL Devel Database Dump...
ERROR 1067 (42000) at line 3990: Invalid default value for 'date_publication'
ERROR 1146 (42S02) at line 4016: Table 'ocpl.news' doesn't exist
ERROR 1146 (42S02) at line 4017: Table 'ocpl.news' doesn't exist
ERROR 1146 (42S02) at line 4018: Table 'ocpl.news' doesn't exist
ERROR 1146 (42S02) at line 4019: Table 'ocpl.news' doesn't exist

https://travis-ci.org/opencaching/devel-dockerfiles/builds/316046321

Auto apply new sql alerts

Simple improvement 'just to not forget'.

Db container should apply all required alerts in building process, to be up to date with production servers.

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.