Session keys written to old data folder location

Nextcloud version 17.0.1, php 7.2.26

Because of a fun update bug (cannot update due to the data folder being randomly named .htjynhzx7wk9rk.data, I moved the data folder in both MySQL and config.php. This worked for everything (the actual data, nextcloud.log, etc.) but sess files (sess_*) are still being written to the old folder. Which means I cannot update. Has anyone run into this before?

I figured this one out. The file was coming from PHP session, which was being set in my lib/base.php. Editing that fixed it