Jump to content

Search the Community

Showing results for tags 'migration'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. Hello everyone! I'm just about finished developing my site on my localhost (MAMP) with ProcessWire and I'm wondering what I need to do to migrate my site off my local server onto my hosted server. I want to make sure I know all the steps before I start in case I miss something. The database name has changed as the server automatically names databases and users—they differ from ones I've originally created—so I'll need to change any instances of the database name and user. I'm guessing I modify the config.php file to match the new credentials. Is that it? Are there anymore instances I need to worry about, e.g. in the SQL file? Other than modifying the config.php file, re-uploading all the files and importing the SQL file, is there anything that I'm missing? From what I've read in other posts, it seems that migrating ProcessWire should be easier than WordPress. I just wanted to confirm steps before I start in case I run into problems later on for doing it wrong now. Thank you for your help! Tina
  2. Hi, I have already tried in different ways and many times to migrate but I always have issues at the end. Here's what I have done so far: case 1: 1. Install PW on live server (all normal) 2. Import local DB into live DB 3. Front page site seems to work but I cannot login into admin page case 2 (I'm currently on this stage): 1. Copied all files from local to live server 2. Import local DB into live empty DB 3. Front page works, but any other page and admin page are 404 In both cases: - I have changed config.php info accordingly to live server (DB name, DB user and pwd, userauthsalt code) - Uncommented RewriteBase / and RewriteBase /pw/ lines on .htaccess - applied owner and group permissions to www-data for PW location - applied permissions to folders and files accordingly - applied a2enmod rewrite to apache2 on live server and restarted service I have read some posts (Ryan's too) about migration and it seems to me that I'm doing it fine, don't know what it fails- I'm on VMWare machine, Ubuntu Server 18.04, php 7.2, phpMyAdmin 5.0.1 Hope you can help me, thanks in advance
  3. For some reason I can't login after migrating my site from local to live. I'm pretty sure it knows the password is good as when I enter a bad one I see "login failed', when I enter the correct one, it just seems to redirect me back to login. Has anyone else had the same problem? Thanks
  4. Hi, I must change server provider. I don't want rewtrite all page and articles, what must I do? I download a database copy on my pc, and now? Thanks!!
  5. Hi Guys, I'm trying to do my first migration to the customers existing server (IIS 10) . I ran the site as a subdirectory on my website for test purposes (everything works fine). Following the tutorial of Joss, I tryed the site on a local xampp server to make sure, it also works on a root directory. So far so good, everything works. Now I moved the files (from the xampp) to the customers server. The root/index page is shown but for every subpage i get 404 Errors... Hence I followed the troubleshooting guide for not working URLs: On the first sight, the .htaccess file is not recognized, therefore I contacted the host support. They said, it is recognized but not all modules are supported in the processwire .htaccess file. I did the "öalskjfdoal" test in the .htaccess file and didn't get a 500 Error.... BUT the rewrite rule from the hosts support, to proof the file is read, DID work... The support claims, they do not provide debugging... so basically the .htaccess file is recognized and working, but not throwing any errors (for whatever reason). Working rewrite rule (from support): RewriteEngine On RewriteBase / RewriteRule ^test\.asp$ index.html [NC,L] RewriteRule ^test\.html$ konzept.html [NC,L] RewriteRule ^test2\.html$ team.html [NC,L] The support said, a couple modules are not supported in the htaccess file, the supported ones are listed here: http://www.helicontech.com/ape/ (I think mod_rewrite is supported) As I do not completely understand what exactly is happening in the htaccess file, I'm stuck. I tried all suggestions I found regarding this topic on the forum, but none of them solved the problem. .htaccess.txt
  6. I need an expert in processwire (ver.2.3.0) to help us change a website of a hosting, contact info@intuitiva.com.co
  7. I've got several Processwire websites running on a local server and an external server. With one of them I have the migration issue where anything but the homepage serves a 404 error. I've read pretty much all topics about the problem but can't seem to find a solution that works. Now in my situation, I request a new virtual domain (oisterwijk-cultuur.nl) for each website, and set an A record on our own domain (mallens-markhorst.nl). The end result: http://oisterwijk-cultuur.nl.mallens-markhorst.nl/ So far so good, but only the homepage works. Subpages and the admin URL generate a 404. Most of the topics I read revolved around changing .htaccess but I've got similar websites running on the same testing server without any modifications. Example: http://moor-oisterwijk.nl.mallens-markhorst.nl/ I've checked the .htaccess file line by line and even copied the one from working website into the non-working one, but to no avail. I tried upgrading PW but that didn't help either. Uploading and accessing a php file works, and mod_rewrite is on. Link to phpinfo() result. The document root in my FTP client is as follows: /data/www/oisterwijk-cultuur.nl.mallens-markhorst.nl/public_html I've tried uncommenting and changing the RewriteBase lines, tried both the full path as just '/public_html/', but unlike others there doesn't seem to change anything for me. I get the same plain 404 every time. Any ideas on what else I can try? Apart from a fresh installation? EDIT: I've just did a fresh install of PW 3.0.72 on the virtual domain, and it seems to have the same problem, I can't load the admin url.
  8. hey there, i stumbled about a pretty odd problem (at least i think it's odd). i was building a site on my local machine, everything worked just fine. after migrating the page to an actual server most of the parts still worked. only all of my childpages where gone. they are still available and editable in the backend but i can't access them in the browser. even the »view«-button is missing. i already had a similar issue while working local: the site is a multi-language site and is use a form to create the childpages via the api. but i could fix it by adding a dedicated status to the newly created pages: $p->addStatus(Page::statusHidden); for the migration i uploaded my local processwire folder via ftp. edited the site/config.php (httpHosts) exported the local sql imported the sql backup to the new server this strange behaviour also applies for newly created pages on the live server. did i somehow mess up the migration – is it a bug – how do i fix it? thanks in advance for any tip!
  9. SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hortons.pages' doesn't exist (in /srv/users/serverpilot/apps/hortons/public/wire/core/WireDatabasePDO.php line 439) Getting this error after upgrading from 2.4 to 2.8 then exporting the site profile and installing on the latest version of v3. Anything I could do about this, anyone come across this? thanks Edit: The issues started going from 2.4 to 2.8 - I used the upgrading advice on the github, replacing PW files. Im running ubuntu 14.4.x using serverpilot.io. The site hosting was originally not controlled by me so am trying to rehost and upgrade.
  10. I am in the process of upgrading an older PW website, say www.example.com. At new.example.com I have an upgraded version, but now the client needs to make content changes on the old site, like 15-20 pages added per day. How can I most easily move these pages over from the old site to new.example.com, when other people are already making new pages at new.example.com? Thanks!
  11. The situation I'm trying to arrive at a good solution for is how to store user-created data in a production environment. We're pre-production but the issue I'm running into is that storing user-data as pages creates problems when it comes time to update the production site with a new version (of our site, not PW). Because I'm adding data as pages the data will be deleted if I create a backup and restore it to the production environment. I've spent a fair amount of time writing some DB compare logic to find differences but that will require manual updating for each difference. Because pages reference other page numbers via IDs and the production environment will be creating users and meta-information pages it isn't possible to save/restore those particular pages around a backup (from development) and restore (to production) of the PW database. It seems like the most straightforward approach is to put the user-created data in separate tables so that PW information can be updated independently. That is pretty easy using $db or $database. Are there any best practices for this kind of thing? Am I thinking about it wrong? How is this problem generally solved? The user-data is 1) user accounts and 2) meta-information about uploaded files (stored in the file system).
  12. Hi, I've recently started on a team using Processwire, so Im quite new to it but I've had plenty of experience with Symfony2. We have an agency licence for the FormBuilder module and we want to use some sort of CI to deploy. When you first install FormBuilder module, it creates some new tables and requires some set up via a GUI including adding a licence key. We have looked into containing our licence key in a config file, then using some JSON files to sync to the database. This doesn't give us a lot of control and requires a fair bit of custom migrations. Is there a way to deploy a ProcessWire site including the FormBuilder module without going through the GUI setup every time? If not, Are there any migration modules for ProcessWire? If not, are there any recommended third party migration tools that are frequently used with ProcessWire? Many thanks!
  13. I have a local install setup with PHP 5.6. Does anything different happen at install if running under 5.6 compared to 5.4? Our development server (where I am migrating the install to) is running 5.4 and I'm seemingly getting 500 errors (possibly .htaccess) when migrating the site. Any ideas?
  14. Hi Everyone, I made a site on localhost and after migrating I get blank screen on frontend and backend too. Tried with a fresh copy too and after installing it I got the same problem. During installation everything looks great. - Debug mode is true - Tried in subfolder and then in root too. - There are no messages in error log. - Sessions are created in site/assets/sessions/ -> I think it's not a permission related problem and processwire could be initialized - .htaccess is working Any hints what could be the problem? I've worked with several ProcessWire sites and I had no this issue before, but it's the first time installing on windows server with apache.
  15. Hi, I read an article about Processwire in a Magazin and it sounds good. So i tested processwire and read a lot about it. Now I am sure that it is exactly what I was looking for my project. Currently, I use Drupal for my project, and before that I used WordPress. My Site has over 700 article and a lot of comments, other posttypes and (700) Users. Now my Problem is to migrate my Data from Drupal to Processwire. The articles were written by different users. The Comments were written by users and guasts. How can i Migrate my Porjekt without loosing to much information? I found this thread https://processwire.com/talk/topic/1015-switching-from-drupal-to-processwire/ but what is with the users and comments? A lot more thinks are not transfered (post date and auhtor). Thanks a lot for your help!
  16. Hello there all! So I am excited to say that I am nearing the end of a monumental undertaking (for me at least). I have created a system to display an art galleries inventory to a fancy new processwire site, retiring a 6 year old frame based hand coded php site. I am finally in the process of moving into thier current server from my development server and am hitting a bit of a snag with my recently uploaded images. So last week a little birdy told me about using the pagefileExtendedPaths flag for sites that exceed a certain amount of directories as a way of speeding things up in the long run. I set that the other day and continued on my merry way syncing a big batch of new work and everything worked great. The problem is though now that I have moved everything over to the new server all of the images that I loaded after I made this change are not being displayed because processwire is trying to grab the images from the wrong path. The working server will pull a link like so: src="/dg/site/assets/files/0/09/063/allen-43113.550x0.jpg" That fancy path seems to be a new convention that was introduced after I set this. Here is the new (broken) path for the same image: src="/dg/site/assets/files/9063/allen-43113.550x0.jpg" I have tried reloading the database after resetting this, but still no dice. Any insight? Thanks a ton in advance /** * Use extended file mapping? * * Enable this if you expect to have >30000 pages in your site. * * Set to true in /site/config.php if you want files to live in an extended path mapping system * that limits the number of directories per path to under 2000. * * Use this on large sites living on file systems with hard limits on quantity of directories * allowed per directory level. For example, ext2 and its 30000 directory limit. * * Please note that for existing sites, this applies only for new pages created from this * point forward. * * #notes Warning: The extended file mapping feature is not yet widely tested, so consider it beta. * @var bool * */ $config->pagefileExtendedPaths = true;
  17. Hello, I have PW sites and I need to migrate to a new host; the host is requesting that I create a TAR backup of a site. I don't have experience with this. Can this be done? How would I begin? Thank you in advance, Dan
  18. I have a checkbox field that I need to split into two checkboxes. Currently, the single checkbox determines whether a badge appears next to an entry on the front end, but now that badge should only appear if both checkboxes are checked. So when I add the second checkbox, I'll need all the old pages that were created when there was only one checkbox to now have both checkboxes checked so that the badge appears based on the new template logic. Any suggestions that would be more efficient than manually going through and editing all the old pages by hand?
  19. I'm going to do the porting to a new server for a site with processwire. I wanted to know if I need to update the "userAuthSalt" in config.php and, if necessary, obtaining a new userAuthSalt. Thank u.
  20. Hey Everybody, As I was trying to move an exsisting site form my local dev (xampp) to a production server, the following error appeared: Error: session_start(): Failed to initialize storage module: user (path: /usr/local/www/services/.../data/tmp) (line 103 of /home/.../html/wire/core/Session.php) This error message was shown because /install.php still exists. Error has been logged. I searched the forum for help, but the only related topic I could find is this one: Problems with ProcessWire on Cloud Hosting https://processwire.com/talk/topic/5089-problems-with-processwire-on-cloud-hosting/ The thread says, that it might have something to do with some isses in the master branch of pw. So I downloaded the dev branch (2.4), and made a fresh install. There are no problems with the requirements, nor with mod_rewrite. In the last installation step, after the admin user creation the error message from above appears again. Is it usual, that pw creates a tmp/data diretory? I changed the file permissions for the assets and changed the htaccess, but still there is no change. Thanks for any hints on that. And thnaks for that lovely CMS
  21. Hi there, I installed PW here: new.mydomain.com Then I'll switch to www.mydomain.com I think all I have to do is copy all the files from "new" to root, isn't it? (I mean: there's no need to transfer DB, right?)
  22. I did a big beginner mistake. I've deleted MAMP PRO to use XAMPP and in the process of the uninstalation of MAMP PRO I deleted all my databases... Fortunately my projects are already live so I have a working copy on the FTP of my client. I would like to have all this data as it is online so it works local on my computer. This is working with a processwire CMS, the url is http://www.fem-k.com/ if in need... Please let me know how to solve this problem so I can go on playing with processwire on my computer. Thank you very much!!!
  23. Dear PWers, I'm currently moving a site from my local installation http://domain.local/ to a server subdirectory http://domain.com/temppath/ While moving mostly everything went well. Except one issue, maybe you could help me here: Every Textarea with a picture added to it (through TinyMCE and the Select Image button) is inserted with a full path (of course) like this: <img src="/site/assets/files/1/file.jpg"> So the only option for the current content to correct would be to search and replace inside the MySQL db to change "/site/assets/..." to "/temppath/site/assets/..." Maybe there is a nicer way to do this? And when I'm moving to my final destination from http://domain.com/temppath/ to http://domain.com/ should I search&replace inside the MySQL again? Third option would be to redirect the site directory for the time the installation remains in temppath with RewriteEngine On Redirect /site/ /temppath/site/ but then what would be with the content created during the time period of the PW installation inside /temppath/? So I'm not sure what to do there. In my case it doesn't matter too much, because there are only a couple of sites created, but I'm interested in the best practice here! All the best, so long, Julian.
  24. This morning I have been trying to copy my existing PW site to a new web root, as well as up one level in hierarchy (i.e. the old site was "fypnew/processwire" but the new site should be just "fyp"). I've copied the server files to the new location, edited the root level .htaccess file to point to /fyp/ as the new RewriteBase, and confirmed that the PW database user can still access the PW database (I am not planning on migrating the database location). I am getting the 500 error when loading the new location in my web browser. I am pretty sure the web server is reading the .htaccess file, and that it has the right permissions. I suspect I am missing some other piece of the puzzle? I am not sure how to debug from here, or what to do next, although I am looking at the PW Profile Exporter module.
  25. Hi guys, sorry if this post crosses over somewhat with another of mine. I've just migrated a site to a new server and as I usually do, I transferred files and folders, exported and imported db and changed config.php. The issue is that the homepage loads up fine but any subsequent pages throw a 404 error. There is a UNIX error it gives me at the bottom of the page though mod_auth_passthrough/2.1 mod_bwlimited/ Have any of you any idea what this may mean? I have tried using rewritebase as my current url does contain a "~" but alas no joy.
×
×
  • Create New...