Zeitverschreib
Zeitverschreib
I also encountered some problems when trying to rebuild the app after changing the max_toot_char settings. After installing 3.2.3, there were several more errors like > :38:in `require': /lib/x86_64-linux-gnu/libjemalloc.so.2: cannot...
I found this in the debug of 4.2.7 and was able to recompile after changing the max char: `RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so bin/bundle exec rails assets:precompile`
The forced upgrade did not solve the problem. Here are the results of the three commands: ``` root@zwoelfdreifuenfundvierzig:/home/admin# ls -l /var/www/pixelfed/public/storage/m/_v2/* /var/www/pixelfed/public/storage/m/_v2/428947132208586753: insgesamt 60 drwxr-x--- 16 pixelfed www-data 4096 24....
Before the upgrade. The latest post was on 09/09: https://pixelfed.zwoelfdreifuenfundvierzig.net/i/web/post/606059709323246978 This is the result of today's import attempt: https://pixelfed.zwoelfdreifuenfundvierzig.net/i/web/post/1000002120701220
``` root@zwoelfdreifuenfundvierzig:/home/admin# ls -l /var/www/pixelfed/public/storage/m/_v2/428947132208586753/ea59ea880-d2aad0/* /var/www/pixelfed/public/storage/m/_v2/428947132208586753/ea59ea880-d2aad0/AbCr2yiJSBWh: insgesamt 120 -rw-r--r-- 1 pixelfed www-data 119069 11. Sep 19:00 bTfm7qDWsom68NsZZBLAs2Pn5pIerLj89BjAyAcH.jpg /var/www/pixelfed/public/storage/m/_v2/428947132208586753/ea59ea880-d2aad0/BpwmGqqQ63kr: insgesamt 520 -rwxr-x--- 1 pixelfed www-data 442529 9. Sep 11:44 MDMU2mc504y58pxG1GHrjg7MBktCMzf1kWGupsHp.jpg -rwxr-x---...
No luck. ``` root@zwoelfdreifuenfundvierzig:/home/admin# chmod 750 /var/www/pixelfed/public/storage/m/_v2/428947132208586753/ea59ea880-d2aad0/AbCr2yiJSBWh/bTfm7qDWsom68NsZZBLAs2Pn5pIerLj89BjAyAcH.jpg root@zwoelfdreifuenfundvierzig:/home/admin# ls -l /var/www/pixelfed/public/storage/m/_v2/428947132208586753/ea59ea880-d2aad0/* /var/www/pixelfed/public/storage/m/_v2/428947132208586753/ea59ea880-d2aad0/AbCr2yiJSBWh: insgesamt 120 -rwxr-x--- 1 pixelfed www-data 119069 11. Sep 19:00 bTfm7qDWsom68NsZZBLAs2Pn5pIerLj89BjAyAcH.jpg /var/www/pixelfed/public/storage/m/_v2/428947132208586753/ea59ea880-d2aad0/BpwmGqqQ63kr: insgesamt 520 -rwxr-x--- 1 pixelfed www-data...
You mean chmod 750 /var/www/pixelfed/public/storage/m/_v2/428947132208586753/ ? After chmod and restart: ``` root@zwoelfdreifuenfundvierzig:/home/admin# namei /var/www/pixelfed/public/storage/m/_v2/428947132208586753/ea59ea880-d2aad0/AbCr2yiJSBWh/bTfm7qDWsom68NsZZBLAs2Pn5pIerLj89BjAyAcH.jpg f: /var/www/pixelfed/public/storage/m/_v2/428947132208586753/ea59ea880-d2aad0/AbCr2yiJSBWh/bTfm7qDWsom68NsZZBLAs2Pn5pIerLj89BjAyAcH.jpg d / d var d www d pixelfed d public l storage -> /var/www/pixelfed/storage/app/public...
``` root@zwoelfdreifuenfundvierzig:/home/admin# namei -l /var/www/pixelfed/public/storage/m/_v2/428947132208586753/ea59ea880-d2aad0/AbCr2yiJSBWh/bTfm7qDWsom68NsZZBLAs2Pn5pIerLj89BjAyAcH.jpg f: /var/www/pixelfed/public/storage/m/_v2/428947132208586753/ea59ea880-d2aad0/AbCr2yiJSBWh/bTfm7qDWsom68NsZZBLAs2Pn5pIerLj89BjAyAcH.jpg drwxr-xr-x root root / drwxr-xr-x root root var drwxr-xr-x root root www drwxr-x--- pixelfed www-data pixelfed drwxrwx--- pixelfed www-data public lrwxrwxrwx pixelfed www-data...
Yes, that solved the problem. The imported post is ok now.
Re-opened registrations are a major pain in the ass. I moved my blog from Writefreely to Hugo because of this. You forget to re-close the instance for a few hours...