opencaching / opencaching-pl

The source code of Opencaching.PL (and some other domains)
https://opencaching.pl/
GNU General Public License v3.0
22 stars 33 forks source link

New OC devel VM (v9) #2392

Closed mzylowski closed 1 year ago

mzylowski commented 1 year ago

Our latest VM (v8) is installed on Ubuntu 16.04 with i386 architecture. That causes many compatibility issues when trying to run the current OC master branch. Current master requires PHP at least 7.4, but the best is to have 8.0. Both of those versions are no longer available to be installed.

Things that I tried to update our current VM:

Due to those circumstances, I believe we need to build OC devel v9 completely from scratch from latest ubuntu amd64 etc.

Generally, I can try to do that, but I need some help:

But maybe we can workaround this issue for now if someone with a working VM with the current master branch will upload entire disk?

kojoty commented 1 year ago

HI @mzylowski

I can provide for you later today:

Later I will provide fresh db dump for development (it needs some time to prepare it).

Could you also please update / create the list of steps to prepare OC dev VM - just please note everything you needed to do.

kojoty commented 1 year ago

I shared the config of OCPL by email - I would prefer to not upload it here...

mzylowski commented 1 year ago

Thanks @kojoty I started working on this issue here: https://github.com/opencaching/deployment/pull/4 (previously devel-dockerfiles repository) Work for it was never finished and I see no reason to put effort in dockerizing opencaching right now).

My plan is to implement this new devel VM fully as a code (kind of IaaS idea) by ansible deployment. This will give us possibility to just commit stuff to this deployment repository to update VM, and to keep a single point of truth for our OC installation procedure.

mzylowski commented 1 year ago

@kojoty I'm at the point of development a new VM when lack of current devel VM blocks me. Can you provide some devel dump?

mzylowski commented 1 year ago

@kojoty nevermind. For now I took database from devel vm 8.0 and applied all sql alters.

mzylowski commented 1 year ago

Closing this one after release of 9.0-beta VM: https://github.com/opencaching/deployment/releases/tag/9.0-beta

All future discussions should be moved to issues in https://github.com/opencaching/deployment repo.