Comments (5)
Here is the quick answer.. using the 'develop' branch edit the /opt/ona/install/installcli.php file and remove 'with mysql_native_password' from lines 502-504. this should get you going.
Mysql and Mariadb have some differences that I was not aware of. I've got to do some testing of a better way to create this user that is compatible with both while still working properly with the socket methods etc.
from ona.
Thank you. Install worked with the edit.
I now dumped the data from my working installation with 'mysqldump --lock-tables -uroot ona_default > ona.dump' and imported it into the new test installation with 'mysql ona_default < ona.dump'. On first look this worked fine. Is this the way to go or should I do something different ? The working installation is from an older version of the 'master' branch, but it too says 'v18.1.1' in the 'VERSION' file, if that matters.
Regards, Heppel
from ona.
Here is how I do backups personally: https://github.com/opennetadmin/ona/wiki/Backups
Ultimately once you have restored your data, you will want to run the installer again. It should then perform an upgrade which will adjust anything that is needed. Also at this time the development branch still says v18.1.1 for its version. You can run the installer as many times as you want, it wont hurt if you do.
from ona.
I did the backup/restore using the 'I want everything!' option. The install run returned: 'Upgraded from index 13 to 14.'. Everything looks fine now.
Thank you very much.
One note: The backup page specifies 'ona_default' as the database for the backup, but the restore uses 'the database 'ona'. Is this intentional ?
from ona.
Good catch on the documentation, it should be ona_default. I've made the edit so it now is correct.
Glad the update worked for you!
from ona.
Related Issues (20)
- ctime doesnt have default value HOT 2
- Custom nmap_scan type HOT 2
- Address fields are USA only HOT 1
- NMAP_SCAN_CRON throwing error HOT 8
- mysql 8 and table "groups" HOT 2
- PHP Fatal error: Cannot unset $this HOT 2
- Deprecated: Methods on PHP 7 HOT 1
- Adding DHCP options doesn't worka (anymore?) HOT 8
- rndc.key HOT 1
- DNS Server Entries Error with MariaDB >= 10.2 HOT 2
- Split dns; internal A local record with rest of the domain resolved via global forward? HOT 3
- Valid IPv6 subnet masks not allowed HOT 2
- /etc/onabase: Permission denied HOT 1
- Build_dns creates unusable ptr records
- build_bind ignores dns_views?
- Apache2 error on Ubuntu 21.10 HOT 4
- upgrade issue HOT 15
- dcm.pl throws error when getting empty custom_attribute_display list
- Custom Attribute modify changes the type to the last one of the list HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ona.