Here you can find a list of frequently asked questions and their answers.
One possibility is that you've installed NamelessMC within a subdirectory. A requirement for the package to function is that the files are installed directly into your root directory, or you use a subdomain to point to the subdirectory.
If this is not the case, you will need to modify your server configuration to enable the use of .htaccess files and also Apache's mod_rewrite module.
Usually this occurs if you are running Apache on Ubuntu/Debian, in which case the following should resolve your issue:
/etc/apache2/sites-available/000-default.conf
(or whichever conf file corresponds to your Nameless installation)</VirtualHost>
, add (but replace /var/www/html
with the directory Nameless is installed in):<Directory /var/www/html>
AllowOverride All
</Directory>
sudo a2enmod rewrite
to enable Apache's rewrite modulesudo service apache2 restart
to restart ApacheFinally, ensure a file named .htaccess
exists in your web server's root directory containing these rules.
Use the location blocks from the example nginx config file.
Nameless will try to use PHP's mail function by default, however if this doesn't work there are a few alternatives available.
The first is to install sendmail (for example, sudo apt-get install sendmail
and then sudo sendmailconfig
on Ubuntu), and then configure PHP to use this (see the "Configuring PHP mail() function" section of this page, Ubuntu).
The second is to configure NamelessMC to use either an SMTP server or Gmail. If you want to use SMTP, try the steps in this post, and if you want to use Gmail try these steps instead. After completing either of these, you need to head into the StaffCP > Configuration > Emails
and enable Use external mail server (PHPMailer)
Finally, you can disable email verification altogether by disabling Enable email account verification?
in the AdminCP -> Core -> Email tab
, although this isn't recommended as it could effectively mean users can register with any email address.
This is usually caused by the Nameless web directory (and its subdirectories) not being writable. You will need to modify the file owner recursively so the process running PHP can write to it.
An example command for Apache and nginx on Ubuntu is
sudo chown -R www-data:www-data /var/www/html
Please see the answer to the previous question
Setting a favicon is very simple! Keep in mind the process is different on both versions of Namelesss!
favicon.ico
(Notice the .ico format - for example don't rename a .png to a .ico)Set captcha
to false
in core/config.php
In your database, find the nl2_users
table and change password
for your user to $2y$13$Q1NRQCPQNhs4EihdJSidQ.31bw2CTPSH03QrXd9EOH3sYuni1fbSu
and pass_method
to default
.
Then, you'll be able to log in using the password '123456'
The most common cause for 2FA not working is incorrect time on the server or device providing TOTP codes.
To disable two factor authentication on login for all users, run the following SQL query: UPDATE nl2_users SET tfa_enabled=0;
To disable forced two factor authentication setup for all groups, run the following SQL query: UPDATE nl2_groups SET force_tfa=0;
Set force-https
and/or force-www
to false
in core/config.php