![]() ![]() I had a file that failed to import because of a bad character in a description the file was valid UTF-8 but inserting this seemed to confuse the SQL statement with "SQLSTATE: Invalid datetime format: 1366 Incorrect string value: '\xF2\xAC\xA0\xB3 S.' for column `webtrees`.`wt_individuals`.`i_gedcom`." It appeared a bad copy paste caused this I opened the GEDCOM file directly in a text editor, found the entry from the value it was inserting, and removed some weird characters, to be fixed up later.īy default, FreeNAS/TrueNAS won't let you share a folder that's not part of its managed volumes, giving the error " The path must reside within a volume mount point"which probably means ZFS pools/datasets only.If the computer does go to sleep, if you just browse back to the tree in the Control Panel, it will show the import status and continue. When you start a large import (I had a 755,000 individual file), it shows you progress on the screen, but for some reason it only progresses while you have a tab open - you can't sleep the computer, but you can just keep it in the background.GEDCOM files can be imported (use standard v5.5.1) - if they are small they can be uploaded from the webpage, but beyond some size (maybe 50MB?) they will take a while and then fail to upload, so you have to copy the file to the `data/` folder on the server.Upgrading: As of July 2022 I have successfully completed 2 upgrades without any above changes being reverted, but it's still possible.don't know why the cookies don't just expire. Changing the session timeout: default is 7200s (2 hours) but apparently depends on number of page loads, so if you have a quiet site it may not log you out?.htaccess file, I used "RewriteBase /" because webtrees is hosted at the root, and otherwise doesn't work once rewrite_urls="1" is set in data/ The contents of data/.htaccess should be changed to "Require all granted". NFS uses Apache 2.4 and apparently without the mod_access_compat module for backwards compatibility (fix found here). Pretty URLs: A slight deviation from the documentation.Then it auto-upgrades connections to HTTPS, which meant static files didn't load, so I updated the base_url to https in the config file as above. Set up HTTPS with Let's Encrypt NFS provides a CLI script `tls-setup.sh` - the first time I ran it I got an error accessing the `.well-known/acme-challenge/.` file it creates, but the 2nd time it worked fine.Then just configure webtrees to use that, eg `base_url=""` in `data/` If you have a domain name managed by NFS, you can host any standard type of site from a subdomain very easily when you create it and it will add the DNS record.The default option webtrees uses is "sendmail -bs" which implies an SMTP config, instead use "-t" ( see doco) Email did not work out of the box (required for user signup, etc): NFS requires sites use sendmail. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |