Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[solved] Conigs neu schreiben per mySQL initieren

Featured Replies

Hallo,

 

gibt es eine M?glichkeit das schreiben von neuen Configs per mySQL zu initieren anstatt das klicken in dem Webinterface?

Ich muss doch bestimmt nur irgendwo eine 1 setzen oder so?

 

Gr?sse

  • Author

achja, nen aufruf einer datei per shell ginge auch ;)

  • Author

Damit schreibt er doch aber die configs nicht neu. Zumindest passiert es bei mir nicht :(

Wurde die Neuerstellung der Configs beauftragt ("Configs neuschreiben" bzw. ?nderung der Domain/FTP/NS/Einstellungen/etc.)? Cronjob korrekt konfiguriert? Hast du die Datei mit --force aufgerufen?

  • Author

Ich hab alles automatisiert in einem script gebaut (baue gerade ein Froxlor openVZ Image) das ?ndert alle relevanten Daten in der Mysql-DB

Nun muss ich dem ding noch beibringen alle Configs neu zu schreiben ohne das ich an das Webpanel ?berhaupt ran komme.

 

Ich kann euch das openVZ image dann sehr gerne zur verf?gung stellen wenn Ihr daran interesse habt.

  • Author

Als kleine Info:

 

mysql -u root -p'PASSWORD' -e "USE froxlor; UPDATE panel_admins SET password= MD5 ( \"$PASS\" ) WHERE adminid=1;"

mysql -u root -p'PASSWORD' -e "USE froxlor; UPDATE panel_ipsandports SET ip = \"$IP\" WHERE panel_ipsandports.id =1;"

mysql -u root -p'PASSWORD' -e "UPDATE froxlor.panel_settings SET value = \"admin@$HOST\" WHERE panel_settings.settingid =2;"

 

 

So sieht das ganze in meinem script aus...

Froxlor kann doch gar nicht herausfinden, das du o.g. commands ausgef?hrt hast. Um eine Neugenerierung der Configs zu veranlassen, f?hre bitte den folgenden SQL-code aus und warte bis der Cronjob das abgearbeitet hat:

 

INSERT INTO `panel_tasks` SET `type` = '1';

  • Author

Genau das wollte ich wissen thx ;)

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.