Closed iBet7o closed 9 years ago
Hi @iBet7o, thanks for downloading Mothership! 1.1.2 is the most recent stable release, but the modules and libraries do not come packaged with the installation by default, as Mothership uses Composer to install the modules. To install the modules, you will need to install Composer from their website (http://getcomposer.org), and then run the command composer up
in your terminal to get the most recent versions of all the modules.
Hope this answers your question, don't hesitate to get back to me if you need more help :)
Hi @thomasjthomasj,
The url of the test site is http://develop.robertoramirez.me/admin and access
email: test@robertoramirez.me password: 123123
They are some of the errors I found
For the add user issue, that looks like a casing issue. I'll open a PR to fix that now.
As for the other, it looks like the migrations haven't run properly for some reason. Could you run bin/cog migrate:run
and paste me the output if that doesn't fix it?
Command: bin/cog migrate:run
Ouput:
Running module migrations...
No migrations to run
No migrations to run
- Failed to run up cog://@Message:Mothership:User::resources/migrations/_1383909255_UpdateEmailSubscription.php
with message: "Table 'dev_mothership.email_subscription' doesn't exist"
No migrations to run
No migrations to run
- Failed to run up cog://@Message:Mothership:CMS::resources/migrations/_1416224353_CommentTable.php
with message: "Table 'blog_comment' already exists"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1400163185_DecouplePaymentsFromOrders.php
with message: "Table 'payment' already exists"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1400150176_DecoupleRefundsFromOrders.php
with message: "Table 'refund' already exists"
No migrations to run
No migrations to run
No migrations to run
No migrations to run
No migrations to run
No migrations to run
Hi @iBet7o, as @kuiche said it looks like it's a casing issue and he was able to recreate the error. However, looking in your admin panel on my machine it appears to be working. Have you implemented the fix yourself?
Hi @iBet7o I've merged and released @kuiche's fix, so if you update the site with Composer you shouldn't be getting the adding user issue anymore
I'll install everything again and comment the results
After installation
errors:
output installation
[admin@vps mothership]$ php ../mothership.phar
Installing Mothership to /var/www/develop.robertoramirez.me/htdocs/mothership
Downloading Mothership, this may take a while
Mothership filesystem set up complete!
Initialising Mothership installation
Please enter your application details:
Website name:
Pasteleria Madrid
Default contact email:
robertoiran@gmail.com
Base URL:
develop.robertoramirez.me
Please enter your database details:
hostname (defaults to `127.0.0.1`):
user (defaults to `user`):
develop_dba
pass (defaults to `password`):
****
name (defaults to `schema_name`):
dev_mothership
Installing database tables, this might take a while
Installing migrations...
Running module migrations...
No migrations to run
- Ran up cog://@Message:User::resources/migrations/_1379408417_SetUp.php
- Ran up cog://@Message:Mothership:User::resources/migrations/_1421406254_AddUserAddressTableIfNotExists.php
- Failed to run up cog://@Message:Mothership:User::resources/migrations/_1383909255_UpdateEmailSubscription.php
with message: "Table 'dev_mothership.email_subscription' doesn't exist"
- Ran up cog://@Message:Mothership:ControlPanel::resources/migrations/_1398953239_CreateStatisticTable.php
- Ran up cog://@Message:Mothership:FileManager::resources/migrations/_1379411088_SetUp.php
- Failed to run up cog://@Message:Mothership:CMS::resources/migrations/_1416224353_CommentTable.php
with message: "Unknown table 'page_comment'"
- Failed to run up cog://@Message:Mothership:CMS::resources/migrations/_1380199741_UpdatePageTable.php
with message: "Table 'dev_mothership.page' doesn't exist"
- Ran up cog://@Message:Mothership:CMS::resources/migrations/_1379413937_SetUp.php
- Ran up cog://@Message:Mothership:CMS::resources/migrations/_1424794860_DeleteDeprecatedComments.php
- Ran up cog://@Message:Mothership:CMS::resources/migrations/_1379508969_UpdatePageTranslationTable.php
- Ran up cog://@Message:Mothership:CMS::resources/migrations/_1427287552_MetaImage.php
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1405516571_MakeDispatchesDeletable.php
with message: "Table 'dev_mothership.order_dispatch' doesn't exist"
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1383147378_CreateStockSnapshot.php
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1392653226_SetUpTransactions.php
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1383561143_UpdateOrderAddress.php
with message: "Table 'dev_mothership.order_address' doesn't exist"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1411476977_AddShippingStatusCode.php
with message: "Table 'dev_mothership.order_shipping' doesn't exist"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1380535234_ChangeProductImageIDToHash.php
with message: "Table 'dev_mothership.product_image' doesn't exist"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1423739640_AddExportCode.php
with message: "Table 'dev_mothership.product_export' doesn't exist"
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1379411978_SetUpProducts.php
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1400163185_DecouplePaymentsFromOrders.php
with message: "Table 'dev_mothership.order_payment' doesn't exist"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1424772091_ChangeProductDetailValueType.php
with message: "Table 'dev_mothership.product_detail' doesn't exist"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1380277368_UpdateForexTable.php
with message: "Table 'dev_mothership.forex_rate' doesn't exist"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1392719777_DatabaseDeletedColumns.php
with message: "Table 'dev_mothership.order_summary' doesn't exist"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1395164293_AddOrderPaymentChange.php
with message: "Table 'dev_mothership.order_payment' doesn't exist"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1400687900_AddCurrencyIdToBasePaymentsAndRefunds.php
with message: "Table 'dev_mothership.refund' doesn't exist"
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1402936340_DefaultBarcodesToUnitId.php
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1383852384_UpdateOrderAddress.php
with message: "Table 'dev_mothership.order_address' doesn't exist"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1415804834_OrderItemTaxRates.php
with message: "Table 'dev_mothership.order_item' doesn't exist"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1390483991_UpdateForexRate.php
with message: "Table 'dev_mothership.forex_rate' doesn't exist"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1400150176_DecoupleRefundsFromOrders.php
with message: "Table 'dev_mothership.order_refund' doesn't exist"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1401715946_AddOrderItemBasePrice.php
with message: "Table 'dev_mothership.order_item' doesn't exist"
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1379413375_SetUpUsers.php
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1380638641_UpdateOrderCreate.php
with message: "Table 'dev_mothership.order_shipping' doesn't exist"
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1379413937_SetUpBasket.php
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1391093236_ProductType.php
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1410360627_DefaultSkusToUnitID.php
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1417615401_OrderShippingTax.php
with message: "Table 'dev_mothership.order_shipping' doesn't exist"
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1392896459_AddOrderItemActualPrice.php
with message: "Table 'dev_mothership.order_item' doesn't exist"
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1396365308_UpdateTransactionUpdatedMetadata.php
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1379498312_SetUpForex.php
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1383850126_UpdateOrderAddress.php
with message: "Table 'dev_mothership.order_address' doesn't exist"
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1379411228_SetUpOrders.php
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1426241749_ProductImageOptionsImageIDFix.php
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1382545736_AbstractItemPersonalisationKeys.php
- Failed to run up cog://@Message:Mothership:Commerce::resources/migrations/_1384276019_UpdateOrderDispatch.php
with message: "Unknown column 'address_id' in 'order_dispatch'"
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1400599470_SortNameField.php
- Ran up cog://@Message:Mothership:Commerce::resources/migrations/_1383562252_UpdateOrderDispatch.php
- Ran up cog://@Message:Mothership:Ecommerce::resources/migrations/_1411575717_ProductUpload.php
- Ran up cog://@Message:Mothership:Ecommerce::resources/migrations/_1400575591_BasketBlobToLongBlob.php
- Ran up cog://@Message:Mothership:OrderReturn::resources/migrations/_1400151337_CreateReturnRefundTable.php
- Failed to run up cog://@Message:Mothership:OrderReturn::resources/migrations/_1417011425_ReturnItemTaxes.php
with message: "Table 'dev_mothership.return_item' doesn't exist"
- Failed to run up cog://@Message:Mothership:OrderReturn::resources/migrations/_1401182325_AddTypeColumToReturnTable.php
with message: "Table 'dev_mothership.return' doesn't exist"
- Failed to run up cog://@Message:Mothership:OrderReturn::resources/migrations/_1401184475_UpdateDataToMatchMigrationState.php
with message: "Table 'dev_mothership.return_item' doesn't exist"
- Failed to run up cog://@Message:Mothership:OrderReturn::resources/migrations/_1400665387_AddCurrencyIDColumToReturnTable.php
with message: "Table 'dev_mothership.return' doesn't exist"
- Ran up cog://@Message:Mothership:OrderReturn::resources/migrations/_1380892582_OrderItemReturnNote.php
- Failed to run up cog://@Message:Mothership:OrderReturn::resources/migrations/_1400083881_AddRemainingBalanceColumnToReturnTable.php
with message: "Table 'dev_mothership.return_item' doesn't exist"
- Ran up cog://@Message:Mothership:OrderReturn::resources/migrations/_1391686934_CreateReturnAndReturnItemTables.php
- Failed to run up cog://@Message:Mothership:OrderReturn::resources/migrations/_1400584201_ChangeRemainingBalanceColumn.php
with message: "Unknown column 'remaining_balance' in 'return_item'"
- Failed to run up cog://@Message:Mothership:OrderReturn::resources/migrations/_1400690356_ChangeReturnedStockLocationColumn.php
with message: "Unknown column 'returned_stock_location' in 'where clause'"
- Failed to run up cog://@Message:Mothership:OrderReturn::resources/migrations/_1402051241_AddReturnedStockColumn.php
with message: "Unknown column 'returned_stock_location' in 'return_item'"
- Ran up cog://@Message:Mothership:OrderReturn::resources/migrations/_1399565209_RemoveResolutionFromReturnItem.php
- Ran up cog://@Message:Mothership:OrderReturn::resources/migrations/_1400061389_AddDeletedColumnsToReturnTable.php
- Ran up cog://@Message:Mothership:OrderReturn::resources/migrations/_1400665369_AddActualPriceToReturnItemTable.php
- Ran up cog://@Message:Mothership:OrderReturn::resources/migrations/_1400496399_CreateReturnPaymentTable.php
- Ran up cog://@Message:Mothership:OrderReturn::resources/migrations/_1400165660_ChangeReturnedStockLocationColumn.php
- Ran up cog://@Message:Mothership:Voucher::resources/migrations/_1379342457_SetUp.php
- Ran up cog://@Message:Mothership:Voucher::resources/migrations/_1391527092_StartAt.php
- Ran up cog://@Message:Mothership:Discount::resources/migrations/_1379414517_SetUp.php
- Ran up cog://@Message:Mothership:Discount::resources/migrations/_1394460078_RemoveLocale.php
- Ran up cog://@Message:Mothership:Discount::resources/migrations/_1398866595_DiscountEmail.php
No migrations to run
No migrations to run
Copying assets into project, this might take a while
Moving public assets for 13 modules.
No assets for Message\ImageResize.
No assets for Message\User.
Copying /var/www/develop.robertoramirez.me/htdocs/mothership/vendor/mothership-ec/cog-mothership-user/resources/public/ to /var/www/develop.robertoramirez.me/htdocs/mothership//public/cogules/Message:Mothership:User.
Copying /var/www/develop.robertoramirez.me/htdocs/mothership/vendor/mothership-ec/cog-mothership-cp/resources/public/ to /var/www/develop.robertoramirez.me/htdocs/mothership//public/cogules/Message:Mothership:ControlPanel.
No assets for Message\Mothership\FileManager.
No assets for Message\Mothership\CMS.
No assets for Message\Mothership\Commerce.
No assets for Message\Mothership\Ecommerce.
No assets for Message\Mothership\OrderReturn.
No assets for Message\Mothership\Voucher.
No assets for Message\Mothership\Discount.
No assets for Message\Mothership\Report.
Copying /var/www/develop.robertoramirez.me/htdocs/mothership/app/site/resources/public/ to /var/www/develop.robertoramirez.me/htdocs/mothership//public/cogules/Mothership:Site.
Finished dumping module assets.
Generating public assets for 13 modules.
Compiled assets for all views
Please enter your admin user details:
Forename:
Roberto
Surname:
Ramirez
Email:
test@robertoramirez.me
Password:
123123
User `Roberto Ramirez` (1) created!
Please enter your admin user details:
Forename:
Surname:
Email:
Password:
User `Roberto Ramirez` (1) created!
Initialisation complete! Navigate to `[your URL]/admin` in your browser to start adding content. Be sure to check out http://wiki.mothership.ec and http://forum.mothership.ec for more help with setting up your Mothership site!
[admin@vps mothership]$
Hmm, I'm not sure why you are getting those database migration errors, although I'm hoping it will be fixed once this development is complete.
Currently in the interface there isn't a list of users in the User section although this feature will be added in time. You should definitely be able to see a product listing after creating a product, though. I will have a look
Hi @iBet7o
So we have looked into the cause of these issues and it seems that it's the result of the order in which the database migration files are loaded. I have made the following fixes which should resolve all the errors when running the migrations, which in turn should provide a more stable experience with Mothership:
I will let you know when these fixes are released.
Thanks again for trying Mothership, we really appreciate all the feedback we get especially as we are a new platform and it can be hard to predict how different environment will behave with things like this, Your feedback is invaluable and helps us get Mothership into the truly competitive state that we want it to be. :)
Hi @iBet7o
We have released the updates to Mothership. To resolve your issue should can either:
composer up
and then bin/cog migrate:run
. If this doesn't work, try deleting the database and running bin/cog migrate:run
again.I really hope this helps, Thomas
Hi @thomasjthomasj
Thanks for your hard work and dedication. Everything works correctly.
Great! Glad you got everything working, don't hesitate to raise an issue or post on our forum if you have any problems :)
Hello,
I downloaded the code tag 1.1.2 for testing, see that some modules are not complete as the user can not create new.
There is a stable version which can decargar and see its functions?
Regards.