!Friendica Support This is the Smarty thing, right? I find the error message (in the shell) ambiguous, is it complaining that it doesn't have access to the directory, or that it does but isn't supposed to?
@Lorraine Lee it does not exist but is only a "virtual directory" so to say. It is served by Friendica when one tries to access it (like the /profile/<username> page etc.).
Is the URL rewriting configured for your webserver (Apache, nginx, lighttps whatever you use) for the location Friendica is installed to?
@Lorraine Lee Are you using Apache or nginx? In the first case, you have to copy the .htaccess-dist file in the root Friendica directory to .htaccess. In the second, you have to setup a vserver in the nginx configuration, you can see an example in the mods folder
@xy @Lorraine Lee I had a similar issue here. Check config/node.config.php, there are entries that may point to non-existing paths. Especially urlpath.
Oof! Seemingly had everything working (as is far from the case on the shared hosting astoundingteam dot com #friendica instance) but now "No space left on device." `df` and `df i` show plenty of space and inodes on all devices (less than 6% usage in all cases). Is there some counter somewhere in the system (Ubuntu 22.04/Apache 2.4.52/MariaDB 10.6.12/PHP 8.1.2-1ubuntu2.11) that maybe sometimes doesn't decrement when blocks or inodes free up?
This is way, way under all the limits. Perhaps traffic spikes lead to spikes in inode consumption somehow. I'm aware of an issue that apparently has to do with semaphores. https://github.com/friendica/friendica/issues/8200 Right now the instance seems to be operating normally, seems to have righted itself somehow.
@Lorraine Lee Yes, i know this situation, there is nothing to do about this. But, maybe check once again, if your temp-directory in the Admin-Account is ok, because if this is wrong, youre restricting yourself.
@Lorraine Lee Friendica itself may generate temporary files starting with http- in your PHP's temporary directory (here outside htdocs, alsways and highly recommended). It also can write there the friendica.log file which with a high debug level can easily produce a very large file. On productive/life systems I would recommend maximum WARNING level (and errors included).
@Lorraine Lee So df is not showing any mount point with 100% usage? Here it was the case with /tmp (tmpfs) which ran full by Proton (a WINE adoption for Steam gaming platform).
The ENOSPC problem seems to have resolved itself, but now, new -dev version, and I get
PHP Fatal error: Uncaught Error: Class "Friendica\Core\Logger\Util\Introspection" not found in /var/www/html/static/dependencies.config.php:192 Stack trace: #0 /var/www/html/index.php(32): include() #1 {main} thrown in /var/www/html/static/dependencies.config.php on line 192
@Lorraine Lee Run a git checkout -- . each time in your deployment process to be sure that you have unmodified (maybe only access rights have changed?) and write for yourself a deployment script like I have done.
@Lorraine Lee And please show us a git diff where you ran the git status command. Your local configuration file is not shown to us in diff, don't worry. Please see the .gitignore file.
@Lorraine Lee Careful with reinstalling at the same sub-domain, you need to backup your database because of the private keys in there. Also watch out for files in config directory.
Hypolite Petovan
•Lorraine Lee
•Now the problem is /register is 404
Lorraine Lee
•Tobias
•Is the URL rewriting configured for your webserver (Apache, nginx, lighttps whatever you use) for the location Friendica is installed to?
Lorraine Lee
•Hypolite Petovan
•.htaccess-dist
file in the root Friendica directory to.htaccess
. In the second, you have to setup a vserver in the nginx configuration, you can see an example in themods
folderLorraine Lee
•xy..
•then maybe a setting in .htaccess
Lorraine Lee
•Roland Häder
•config/node.config.php
, there are entries that may point to non-existing paths. Especiallyurlpath
.Lorraine Lee
•Now to make sendmail sendmail
Lorraine Lee
•Roland Häder
•Lorraine Lee
•Lorraine Lee
•Hypolite Petovan
•tom s
•Lorraine Lee
•tom s
•Roland Häder
•php.ini
file:So for my instance 128M is totally enough. 😀
Roland Häder
•http-
in your PHP's temporary directory (here outsidehtdocs
, alsways and highly recommended). It also can write there thefriendica.log
file which with a high debug level can easily produce a very large file. On productive/life systems I would recommend maximumWARNING
level (and errors included).Roland Häder
•df
is not showing any mount point with 100% usage? Here it was the case with/tmp
(tmpfs) which ran full by Proton (a WINE adoption for Steam gaming platform).tom s
•Josephine Michelle Draus
•PHP Fatal error: Uncaught Error: Class "Friendica\Core\Logger\Util\Introspection" not found in /var/www/html/static/dependencies.config.php:192
Stack trace:
#0 /var/www/html/index.php(32): include()
#1 {main}
thrown in /var/www/html/static/dependencies.config.php on line 192
Hypolite Petovan
•bin/composer.phar install --no-dev
from the base of your Friendica folder.Lorraine Lee
•Hypolite Petovan
•git status
?Lorraine Lee
•... show more
Lorraine Lee
•Hypolite Petovan
•And run the Composer command again afterwards.
Roland Häder
•git checkout -- .
each time in your deployment process to be sure that you have unmodified (maybe only access rights have changed?) and write for yourself a deployment script like I have done.Roland Häder
•git diff
where you ran thegit status
command. Your local configuration file is not shown to us in diff, don't worry. Please see the.gitignore
file.Lorraine Lee
•Roland Häder
•config
directory.