-
Notifications
You must be signed in to change notification settings - Fork 15
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
DB errors during migration from DWS #61
Comments
Hello there |
My current setup is SL files on CentOS 7, DB is on AlmaLinux 9 as SL files on AL9 creates unicode problems. I am trying to relocate SL files also to AL9 and get rid of CentOS 7. Here is the info you asked: Database: SL files: I always install SQL-Ledger by downloading new copy on to the web server root. Copy members and users from the old version of SL to the new one. Change permissions and file owners accordingly. perl-DBI, perl-DBD-Pg packages are already installed. I have no idea about pending change without a version. I just downloaded what was released. Thank you. |
With how you installed SQL-Ledger I meant how you downloaded the program from this repo here on Github. But before you try again give me some time to publish a new version, so we are sure we speak of the same code. When you move the data to the new server, do you use the SQL-Ledger backup function or pgdump? And is your database in UTF-8 already? And the last question for the moment: What translation do you use? |
Sorry. I downloaded your version from the releases page as zipped source code (3.2.12.039) file.
All the old entries entered from CentOS 7 look nice on database tables and SL pages residing on CentOS7. But they look garbage when viewed inside SL pages residing Alma Linux 9.3. New entries entered through SL residing on Alma Linux 9.3 look nice in SL. But look garbage on database tables. I tested your version while SL files are on AL9.3. All the new and old entries look OK (in tables and in SL pages). Thank you. |
If you are sure that your database is UTF-8 then all is fine on this side. You are already on 3.2 from DWS, so the upgrade won't be too difficult. |
Thank you. I will try to install and inform back you here. Translation files were almost 100%. Already submitted. But, somehow, not integrated the release. Will check it too. |
You could create another issue for the translation. |
Installed Tekki 3.2.12.40. It upgraded all the databases (3.2.12DWS) without any problem. Encoding is correct when viewed directly on the db tables and inside SL pages. No problem with the existing and new entries. |
You're welcome. Did you notice that my version needs some additional Perl modules? You should install |
Dear Tekki, I installed Here is an excerpt: |
Never seen this before, but it seems this is an error produced by a newer version of |
Just FYI. |
New issue for the spreadsheet error created: #64 |
As a new issue #64 is opened, this one is closed. |
Hello,
I am trying to migrate from DWS to Tekki version. But, I receive lots of db tables errors. What is the proper way of upgrading db tables?
Thank you.
PS:I have been using SL/DWS for more than 20 years. Also, I am one of the translators. Currently, my setup is stuck with CentOS 7 due to unicode problems with newer OSs. One of the SQL-Ledger forum members put your diagnosis into our attention: "SQL-Ledger working with binary instead of Perl characters." This is spot on and your version of SL is working without any unicode issue. Thank you for this.
The text was updated successfully, but these errors were encountered: