!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. github.com/friendica/friendica… 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
in reply to Lorraine Lee • • •Lorraine Lee
in reply to Lorraine Lee • • •Now I seem to have the CSS (although in my other one there's a picture).
Now the problem is /register is 404
Lorraine Lee
in reply to Lorraine Lee • • •Tobias
in reply to Lorraine Lee • • •@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
in reply to Lorraine Lee • • •Hypolite Petovan
in reply to Lorraine Lee • • •.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
in reply to Hypolite Petovan • • •xy..
in reply to Lorraine Lee • • •then maybe a setting in .htaccess
Lorraine Lee
in reply to xy.. • • •Roland Häder
in reply to xy.. • • •config/node.config.php
, there are entries that may point to non-existing paths. Especiallyurlpath
.Lorraine Lee
in reply to Lorraine Lee • • •OK that turned out to be this one: askubuntu.com/a/1046844/66051
Now to make sendmail sendmail
Lorraine Lee
in reply to Lorraine Lee • • •Roland Häder
in reply to Lorraine Lee • • •Lorraine Lee
in reply to Lorraine Lee • • •Lorraine Lee
in reply to Lorraine Lee • • •Hypolite Petovan
in reply to Lorraine Lee • • •tom s
in reply to Lorraine Lee • • •Lorraine Lee
in reply to tom s • • •tom s
in reply to Lorraine Lee • • •Roland Häder
in reply to tom s • • •php.ini
file:So for my instance 128M is totally enough.
Roland Häder
in reply to Lorraine Lee • • •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
in reply to Lorraine Lee • • •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
in reply to Roland Häder • • •Josephine Michelle Draus
in reply to Lorraine Lee • • •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
Hypolite Petovan
in reply to Josephine Michelle Draus • • •bin/composer.phar install --no-dev
from the base of your Friendica folder.Lorraine Lee
in reply to Hypolite Petovan • • •Hypolite Petovan
in reply to Lorraine Lee • • •git status
?Lorraine Lee
in reply to Hypolite Petovan • • •a lot
Lorraine Lee
in reply to Lorraine Lee • • •Hypolite Petovan
in reply to Lorraine Lee • • •And run the Composer command again afterwards.
Roland Häder
in reply to Lorraine Lee • • •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
in reply to 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
in reply to Hypolite Petovan • • •Roland Häder
in reply to Lorraine Lee • • •config
directory.