From: Joaquim H. <jo...@we...> - 2018-12-18 22:41:24
|
Using Virtualmin to transfer a site from an Apache2 based server to an Nginx based server leaves the target server in quite a mess. The transfer succeeds, but then Virtualmin fails to create the Virtualmin server entry. The MySQL database isn't created either. And then it leaves the newly created username/group in place. I would personally like to see it handle this somewhat better. I understand it cannot convert an Apache2 configuration to that of Nginx accurately, but perhaps just displaying a warning to the effect of: "The Apache2 configuration cannot be restored since the feature is disabled on the target system. A default configuration for Nginx has been configured. It probably needs to be edited manually." Now I have to transfer the stuff piece by piece after cleaning up the target. Just my two cents. -joho |
From: Jamie C. <jca...@we...> - 2018-12-19 05:55:13
|
Yeah, this kind of migration isn't really supported currently. However, it should at least end up with a domain that has everything except Nginx enabled..Did you get any error messages during the migration process? On 18/Dec/2018 14:41 Joaquim Homrighausen <jo...@we...> wrote .. Using Virtualmin to transfer a site from an Apache2 based server to an Nginx based server leaves the target server in quite a mess. The transfer succeeds, but then Virtualmin fails to create the Virtualmin server entry. The MySQL database isn't created either. And then it leaves the newly created username/group in place. I would personally like to see it handle this somewhat better. I understand it cannot convert an Apache2 configuration to that of Nginx accurately, but perhaps just displaying a warning to the effect of: "The Apache2 configuration cannot be restored since the feature is disabled on the target system. A default configuration for Nginx has been configured. It probably needs to be edited manually." Now I have to transfer the stuff piece by piece after cleaning up the target. Just my two cents. -joho |
From: Joaquim H. <jo...@we...> - 2018-12-19 06:46:11
|
Or it could just setup a default nginx site as it would have if I set it up on the Nginx machine since that corresponds to the "Web site enabled" type setting. If it did that, and then displayed a warning, it'd be a lot better. The warning/error message I got was basically that it couldn't complete because Apache2 was disabled/missing on the target system. |
From: Jamie C. <jca...@we...> - 2018-12-20 04:10:03
|
On 18/Dec/2018 22:45 Joaquim Homrighausen <jo...@we...> wrote .. > > Or it could just setup a default nginx site as it would have if I set it > up on the Nginx machine since that corresponds to the "Web site enabled" > type setting. If it did that, and then displayed a warning, it'd be a > lot better. > > The warning/error message I got was basically that it couldn't complete > because Apache2 was disabled/missing on the target system. Yes, that makes a lot of sense .. I'll look into adding this. |
From: Jamie C. <jca...@we...> - 2018-12-31 05:20:42
|
On 19/Dec/2018 19:52 Jamie Cameron <jca...@we...> wrote .. > On 18/Dec/2018 22:45 Joaquim Homrighausen <jo...@we...> wrote .. > > > > Or it could just setup a default nginx site as it would have if I set it > > up on the Nginx machine since that corresponds to the "Web site enabled" > > type setting. If it did that, and then displayed a warning, it'd be a > > lot better. > > > > The warning/error message I got was basically that it couldn't complete > > because Apache2 was disabled/missing on the target system. > > Yes, that makes a lot of sense .. I'll look into adding this. I had a look at this, and discovered that all it took was a tiny bugfix to get this working properly! The patch can be seen at : https://github.com/virtualmin/virtualmin-gpl/commit/d952dbfb824eea908ad5ac68165490e5c8f95efb - Jamie |
From: Joaquim H. <jo...@we...> - 2018-12-31 09:20:52
|
That is excellent news! Thank you, and Happy New Year! -joho On 2018-12-31 06:02, Jamie Cameron wrote: > > I had a look at this, and discovered that all it took was a tiny bugfix > to get this working properly! The patch can be seen at : > > https://github.com/virtualmin/virtualmin-gpl/commit/d952dbfb824eea908ad5ac68165490e5c8f95efb |