September 9, 2025Sep 9 Hi,I am migrating froxlor to a new debian 12 machine with a temporary IP, not a private IP.What is the best practice as far as froxlor is concerned to keep froxlor working after its real IP is assigned?Tia & regards,Dudi
September 10, 2025Sep 10 if you have migrated all the necessary (customer) files, web, mail, databases (including mysql-database) then simply install froxlor, use your old lib/userdata.inc.php credentials files.adjust IP address via cli: https://docs.froxlor.org/latest/admin-guide/cli-scripts/#switch-server-ip(re)configure services: https://docs.froxlor.org/latest/admin-guide/cli-scripts/#config-servicesif required, (re)generated configs: bin/froxlor-cli froxlor:cron -fd
September 10, 2025Sep 10 Author Hi,There are 2 users on the old server with lots of data, mostly media files.I created the users on the new server and used rsync for the data migration.Is there a way to migrate domains/users and email? I can rsync or imapsync the email if the users exist, looking for a better way.TIA & regards,Dudi
September 10, 2025Sep 10 why add the users again to the new server? You are migrating - just sync all the databases to the new server and froxlor will have all the data it needs.1) have empty new server, install basics like webserver, php and mysql-database2) create and rsync /var/customers 3) stop mysql on both servers, then rsync /var/lib/mysql, start mysql again on new server4) download and extract froxlor to /var/www/html/froxlor, move lib/userdata.inc.php from old server to new server5) see https://forum.froxlor.org/index.php?/topic/21122-server-migration/#findComment-48145
September 10, 2025Sep 10 Author This is what I get trying to login:Domain not configuredThis domain requires configuration via the froxlor server management panel, as it is currently not assigned to any customer.Please ask your provider/hoster if you have any questions.Regards,Dudi
September 10, 2025Sep 10 then you are using the wrong domain, you have to use the domain specified in the installation process (FQDN)
September 10, 2025Sep 10 Author Off Corse.But if I'll type the old servername it will take me there I'll try to turn DNS off and trick it via /etc/hosts or something.Thanks for the hint.Regards,Dudi
September 10, 2025Sep 10 Author Hi,This was not simple,,, migrating to a new hostname and different versions of mariadb was interesting...I got froxlor running on the new server with all domains/users and data migrated.2 issues remains:1 - I created 2 new IPs in the GUI, assigned the new IPs to all domains, deleted the :80 old record, but when trying to delete the :443 record I get a msg the its being used, and I can't find where.2 - /var/www/http/froxlor is owned by www-data:www-data, I need to chown every 5 minutes to froxlorlocal:froxlorlocal due to a cron job that changes all back to www-data.Help appreciated.Regards,Dudi
September 10, 2025Sep 10 migrating to a new hostname and different versions of mariadb was interesting...never had any issues with that1 - I created 2 new IPs in the GUI, assigned the new IPs to all domains, deleted the :80 old record,why? That's what adjust IP address via cli: https://docs.froxlor.org/latest/admin-guide/cli-scripts/#switch-server-ip was for.....1 command, 2 seconds, done2 - /var/www/http/froxlor is owned by www-data:www-data, I need to chown every 5 minutes to froxlorlocal:froxlorlocal due to a cron job that changes all back to www-data.Then you did not re-configure correctly or have mismatching settings that dont correspond to your setup
September 10, 2025Sep 10 Author I found the web server owner:group in settings and modified.As for the old :443 port - I'll keep looking.Regards,Dudi
September 10, 2025Sep 10 Author Hi, Seems that I have a new issue.Upon apache2 restart, systemctl status apache2.service shows:Sep 11 02:50:42 stoli.kolcore.com apachectl[44765]: AH00543: apache2: bad user name dudig - This is my customer name in froxlor.If I remove the conf file, I get an error msg that apache can't bind the address, but netstat does not have port 80 or 443.Please help.Regards,Dudi
September 11, 2025Sep 11 again, seems like the new system was not configured correctly (unknown user -> missing libnss-extrausers?)
September 11, 2025Sep 11 Author Hi,libnss-extrausers is there.I created the missing users, now the service status shows:Sep 11 10:04:59 stoli.domain.com apachectl[9938]: (98)Address already in use: AH00072: make_sock: could not bind to address ip.ad.re.ss:443But - both netstat & lsof say that port 443 is not in use.I am considering wiping everything, do a fresh install and reconfigure if I can't resolve this.Regards,Dudi
September 11, 2025Sep 11 no idea what exactly it is you did there...is this a fresh install or did you migrate cleanly the way I recommended?The error message clearly says "Address already in use" which means there is something listening on that port (maybe check for Listen statements in all your vhost configs? maybe there are duplicates?)
September 11, 2025Sep 11 Author Yes - this is the migrated install, I tried recreating froxlor config files, it rebuilt all apache2 conf files, but the same error persists.All *.conf files are freshly created by 'php bin/froxlor-cli froxlor:config-services --create'The server was running fine, this happened without anyone logged in.I think that the fastest solution is to wipe and redo the work.Regards,Dudi
September 11, 2025Sep 11 no its not...also, froxlor:config-service just re-configures the services, did you also run froxlor:cron -fd to regenerate the vhosts etc?
September 11, 2025Sep 11 Then I doubt you've migrated 1:1 ...clearly something's off, without knowing what exactly was done, it's really hard to help
September 11, 2025Sep 11 Author Another thing is that froxlor still tries to restart php7.4-fpm (from the migrated server) while this machine has php8.2-fpm which I restart manually for now.I did not find where to adopt froxlor to the available php-fpm.Regards,Dudi
Create an account or sign in to comment